Heiken Ashi Bars
-
So I've been trying to make an indicator that sells after the first Bear Heiken Ashi candle has been closed and Buys after the first Bull heiken ashi candle has been closed . It closes with either hitting Tp or if the next Candle is reverse of the first one ; example : If the first candle is Bull but the next candle is bear the trade will close after the bear candle is formed and take a new sell trade from that bear candle .|
The problem I'm facing
MT4 is taking the candle it forms as the candle , not the heiken ashi candles(which comes as a built in indicator for MT4) .
How can I make the software understand that i'm talking about the heiken ashi candles ??This is my project : shared/99metLete

-
@zahin007 Likely just select the indicator in the condition block. If you still struggle put a shared here so problems can be assesed.
-
@zahin007 said in Heiken Ashi Bars:
shared/99metLete
I can't see the indicator is used anywhere. Is this the complete project?
-
@zahin007 said in Heiken Ashi Bars:
shared/99metLete
@l-andorrà
At first i thought wrong , so i only used bars as signals . Now i'm trying to use the condition block with the heiken indicator .
But can't get the indicator options right . Can you help me with this ? Like what will be the condition for the first bar for the bear / bull trend .
Updated project : shared/zo2DCz95b
-
Yes i've selected the indicator now , but can't seem to be getting the conditons for the indicator . Like what will ne the condition for the first bar of the bear / bull trend .

updated project : shared/zo2DCz95b
-
@zahin007 Probably best to use an indicator block, 0 is current candle, 1 is previous etc.

-
currently using these settings . The ea with these settings if the candle(current , doesn't matter bull/green) goes up buys and if goes down closes the buy positon and sell and keeps doing it . How do i make it take the trade after the bull/ bear candle has properly closed ?

-
@zahin007 Using candle 1 will wait until candle 1 closed fits the condition, above your buy/sell tree put a blue no trade block to limit trades to1.