Issues with Heiken Ashi and candle paint bar code.
-
- Posts: 12
- Joined: Mon Nov 09, 2015 9:35 pm
Issues with Heiken Ashi and candle paint bar code.
Candle Paintbar not working correctly. Heiken Ashi indicator paints candles half blue and half red during test mode but paints them correctly in history mode. Is there any adjustment to the code that would paint them all blue or red with source code provided?
-
- Posts: 1454
- Joined: Mon Apr 01, 2013 3:55 am
Re: Issues with Heiken Ashi and candle paint bar code.
Hello,
Can you please send the screenshtot of your issue?
I've just checked Heiken Ashi indicator and it works properly in both History and Testing Mode.
It paint the candles of only one color.
Please also check that the same color is set for Up bar color and Up bar fill color in the properties of this indicator (also for down and down bar color).
Can you please send the screenshtot of your issue?
I've just checked Heiken Ashi indicator and it works properly in both History and Testing Mode.
It paint the candles of only one color.
Please also check that the same color is set for Up bar color and Up bar fill color in the properties of this indicator (also for down and down bar color).
-
- Posts: 12
- Joined: Mon Nov 09, 2015 9:35 pm
Re: Issues with Heiken Ashi and candle paint bar code.
Here are the attachments
- Attachments
-
- paintbar Indicator issue chart.PNG (22.06 KiB) Viewed 9837 times
-
- paintbar Indicator issue settings.PNG (7.07 KiB) Viewed 9837 times
-
- Posts: 1454
- Joined: Mon Apr 01, 2013 3:55 am
Re: Issues with Heiken Ashi and candle paint bar code.
Hello,
Thank you for the screenshot.
Please set "bars mode" in Forex Tester program (please see the screenshot), this will help.
Thank you for the screenshot.
Please set "bars mode" in Forex Tester program (please see the screenshot), this will help.
- Attachments
-
- barsmode.png (8.79 KiB) Viewed 9801 times
-
- Posts: 12
- Joined: Mon Nov 09, 2015 9:35 pm
Re: Issues with Heiken Ashi and candle paint bar code.
Now the open and close don't look right
- Attachments
-
- paintbar Indicator issue chart bar setting.PNG (47.45 KiB) Viewed 9800 times
-
- Posts: 1454
- Joined: Mon Apr 01, 2013 3:55 am
Re: Issues with Heiken Ashi and candle paint bar code.
Hello,
These are the same bars, just Open and Close values are shown by a small horizontal line instead of building the whole bar.
You can switch between "Bars Mode" and "Candles mode" and see that the bars are the same.
These are the same bars, just Open and Close values are shown by a small horizontal line instead of building the whole bar.
You can switch between "Bars Mode" and "Candles mode" and see that the bars are the same.
-
- Posts: 12
- Joined: Mon Nov 09, 2015 9:35 pm
Re: Issues with Heiken Ashi and candle paint bar code.
My problem is that I used the candle painting code based on that indicator for something else that I use. I have a problem with the candles being painted half one color and half another, and changing that to bar mode makes no difference. I coded it based on reference to Ahki Ashi in the API. this is where I am looking for some help as it is making my testing difficult. I baught 2 copies of forex tester and need this one problem fixed so that I can actually start using it properly.
- Attachments
-
- Paintbar Example 1.PNG (64.89 KiB) Viewed 9774 times
-
- Posts: 1454
- Joined: Mon Apr 01, 2013 3:55 am
Re: Issues with Heiken Ashi and candle paint bar code.
Hello,
Sorry, but this is the only version of Heiken Ashi indicator we have.
Please also see this theme:
viewtopic.php?f=3&t=1185&hilit=Heiken+Ashi
There you will find a source code (.dpr file) of Heiken Ashi Smoothed indicator, it builds the bars in one color.
I hope, this will help.
Sorry, but this is the only version of Heiken Ashi indicator we have.
Please also see this theme:
viewtopic.php?f=3&t=1185&hilit=Heiken+Ashi
There you will find a source code (.dpr file) of Heiken Ashi Smoothed indicator, it builds the bars in one color.
I hope, this will help.
-
- Posts: 12
- Joined: Mon Nov 09, 2015 9:35 pm
Re: Issues with Heiken Ashi and candle paint bar code.
I fixed it
I added a index+1 instead of index and now it paints the candle after it closes so we are all good. Also for you in case you want to fix the issue on your end as well.
Thanks for the help though.

Thanks for the help though.
Who is online
Users browsing this forum: No registered users and 1 guest