I want to create three continous candle and close by opposite candle
-
Hi , Is there any one can help me to create three continous candle and close by opposite candle
regard
-
@homemebel Do you mean three consecutve bull candles and then a fourth bear candle, for example? Then open trade?
-
yes .. I will open trade after three white soldier and open trade
-
@homemebel Then you can try this:

-
I mean I will open trade after 3 continous bullish candle , I will open trade and I will out position if bear candle appear .
-
@homemebel Then just remove block ID 2 from this tree to open the trade and use block ID 2 in a separate tree under a 'For each trade' block to close them.
-
@l-andorrà Hello @l-andorrà, as I understand what @Homemebel asks is something like this:
https://fxdreema.com/shared/xQsou2r5
I have tried it and there is no operation. Where is the error?
-
@xyon126 You are using a 'Timer' block on the 'on tick' tab. That blocks is only fully operational in its 'on timer' tab.
-
@l-andorrà Which one do you mean, one per bar?
-
@xyon126 No, I mean this:

-
@l-andorrà Hello Andorra, I have corrected what you were saying, in fact I have eliminated everything and I only have what is left for the strategy, and as you see in the photo (extracted from the EA backtest)

in that area you should open an operation in BUY with an arrow green and SELL with a red arrow but in the 5-year Backtest it has only opened 12 operations. To what is due?
-
@xyon126 Did you manually check that backtest failed in just that period or all along the 5 years? If some trades are open and some others not, you should focus on the condition list for those which didn't open.
-
@l-andorrà Hello @l-andorrà Andorra. In answer to your question, that is a photo of the automatic Backtest with the MT4, it only made a total with the last version 77 operations and 12 valid in 5 years in M30, since in H1 or M15 it was more or less but in losses, in M5 240 and in H1 24 and H4 12. That is why it shocks me when in a period of almost 2 months (photo M30) it did not open any and there was no open order when according to the photo there could have been at least 4 open.
-
@xyon126 The only I can say is that opening conditions should be reviewed carefully in order to find the reason why apparently so different results are found.