Doji Heiken Hashi - Help me to identify it please
-
Can you help me to identify Doji Heikenhashi ?
I found how calulate the bar but i don't know how can to find a doji of heikenhashi.
This is a mode for calculate heikenhashi bar:
Heikin Ashi bar:Open = (open previous bar + close previous bar) /2 Close = (open + max + min + close) /4 Max = max, open or close of current period Min =min, open or close of current periodHow can i write a formula or a trace that identify Doji Heikenhashi?
-
@l-andorrà @fxDreema Can you help me on this please?
-
@fmazzot I'm afraid I'm not an expert on Heiken Ashi. What do you need exactly from those formules? Maybe you can get the same information in a much easiest way from the indicator itself.
-
@l-andorrà said in Doji Heiken Hashi - Help me to identify it please:
I'm afraid I'm not an expert on Heiken Ashi. What do you need exactly from those formules? Maybe you can get the same information in a much easiest way from the indicator itself.
I just want to understand how to identify a Doji heikin ashi.
The formulas above show how a heikenhashi candle is calculated but not a doji.
Also I don't know how to use the formula block to be able to insert multiple operations together. I see that the formula block only allows me to perform operations between two values. -
@fmazzot You're right. That block can only use two operands at a time. The best option is haveing a custom code block with your required calculations. Maybe roar or miro could help?

-
Someone can help me? @roar @Mirotrader @Miro-Bagrov @miro1360
-
@fmazzot all right, lets do this.
I made the heiken ashi calculations for you:
https://fxdreema.com/shared/pmHwGVB3dNow, how to define the doji candle? Would it be sufficient to say, HA candle body is only 5% of total candle range?
-
@roar Ok. I will try to make the EA with your custom code. Thanks for your help!

-
Hello,
I’m interrested in using the HA calculations as double variables in a strategy. I already used the normal blocks ‘Conditions for Indicators’ for the use of HA indicator in an EA, but I’m reaching some limitations. I would really like to try using variables, as it could be more flexible for me. Can someone help me with some simple EA together with the custom code here above in variables? For instance if HAclose of last bar (1) is higher than HAmax of bar (2) then Buy now. I use MQL5 (don’t know if it matters much). Thanks in advance to get me started with the use of Variables and the custom code made by Roar. -
@swieng That depends on your current structure. Do you know how to store values on variables? Once stored you simply compare them with condition blocks.