Multiple trades @EMA below BB lines
-
I created a bot with an EMA 13 less than or equal to upper Bollinger band. It does the sell at every candle as long as the EMA is below the upper Bollinger band. How do I restrict the sell to only one candle immediately the command is triggered.

-
HI.
you should filter your strategy for open positions by "If position" block in Mt5 or "If trade" block in MT4.
if you did that then i see your algorithm have a problem with the close position.
can you share your prj?