__Look at my example again, block 11. You tend to prefer "If trade" blocks, but I used "No trade"
If you ask me such queston, it means that you don't understand something. I don't want people to copy stuff from here and there thinking that it might work as they expect. I prefer you to understand what is going on, so better ask me if you don't understand something.
"For each Trade" with value 1 set to "Not more than..." only loads the latest running trade, if such exists. Then in the next block I'm checking if the current price (Ask for Buys and Bid for Sells) is above or below the Open Price of that trade. Or I believe that it works that way :))
I used "Chart model", which means that the block will pass if the current price (Ask for Buys or Bid for Sells) is above the open-price (+ Pips away, which is 0 in this case) of the trade, no matter if the trade is Buy or Sell. In the default "Trading model" calculations are mirrored for Sells.[/quote:26e6isdb]
Okay, I am starting to understand the logic behind it. Thank you for the additional explanation. I am going to elaborate my strategy in depth now.
I wonder why when I go to convert the EA into calgo robot with http://2calgo.com/Home/Index#converted_indicator (for optimization porpoise)it says
"It is MQ5 code.
MQ5 code cannot be converted.
Convert MQ4 code."
When the EA is in MQ4 from fxdreema