the backtest is not considering the choice candlesticks or heiki ashi .
The results should be different.
where do I set the chosen configuration?
The results should be different.
where do I set the chosen configuration?
Rename
Heikin Ashi is a built in (yet imaginary) chart style but it does not represent the actual price on which trades are executed in a backtest.
Please find below a code sample for creating Heikin Ashi candles in your strategy code:
https://www.wealth-lab.com/Discussion/Two-Price-Panes-for-Heikin-Ashi-and-regular-price-5495
Please find below a code sample for creating Heikin Ashi candles in your strategy code:
https://www.wealth-lab.com/Discussion/Two-Price-Panes-for-Heikin-Ashi-and-regular-price-5495
In following trend strategies, the use of candlestick or heiken ashi brings backtests results with well different values. As a suggestion, including in future version this improvement for backtests and execution of automatic strategies. Thanks
Have you seen our Candlestick Genetic Evolver extension?
Hi Glitch,
Does the Candlestick Genetic Evolver allow the use of building block style indicators with heikin-ashi candles? For example, I'd like to drop in a building block with conditional "if heikin-ashi changes from red to green".
I guess my real question is: what is the most straightforward way to implement that conditional and others that use heikin-ashi candles into a strategy?
I have done some searching and reading. Here are the most relevant posts I read.
https://www.wealth-lab.com/Discussion/Two-Price-Panes-for-Heikin-Ashi-and-regular-price-5495
https://wl6.wealth-lab.com/Forum/Posts/Using-Indicators-with-Heikin-Ashi-Chart-Style-39846
Does the Candlestick Genetic Evolver allow the use of building block style indicators with heikin-ashi candles? For example, I'd like to drop in a building block with conditional "if heikin-ashi changes from red to green".
I guess my real question is: what is the most straightforward way to implement that conditional and others that use heikin-ashi candles into a strategy?
I have done some searching and reading. Here are the most relevant posts I read.
https://www.wealth-lab.com/Discussion/Two-Price-Panes-for-Heikin-Ashi-and-regular-price-5495
https://wl6.wealth-lab.com/Forum/Posts/Using-Indicators-with-Heikin-Ashi-Chart-Style-39846
It currently doesn’t have such a Condition, but I think that would be a good thing to add. Let’s see what we can do!
I added this Condition for Build 29 and the next release of the Candlestick Extension. You can use the N-Bar Ago Qualifier to test when Heikin Ashi changes from White to Black, like below ...
In the process, I noticed some Conditions (including the Candlestick Condition) currently don't work with Qualifiers, so I went ahead and fixed them, so it was good to focus on this for a while.
In the process, I noticed some Conditions (including the Candlestick Condition) currently don't work with Qualifiers, so I went ahead and fixed them, so it was good to focus on this for a while.
Thanks Glitch!
I can now easily implement:
Can I use building blocks to implement this?
I can now easily implement:
CODE:
Buy if Heikin Ashi candle was black yesterday and is white today
Can I use building blocks to implement this?
CODE:
Buy if [Heikin Ashi candle was black yesterday and is white today] within the last N days
Your Response
Post
Edit Post
Login is required