close all trades at the end of each month and start again next day!
-
Wanna close trades at the end of each month and start again next day!
I tried many techniques using flags and time filters alongside variables .
it doesnt work when I backtest itcan you guys show me a way to do so ?
also how can I close trades at the end of each month and
shut downthe robot for 1 day or so ?here's the link : https://fxdreema.com/shared/qhaZs6Sdb
it def looks a little weird . it didn't at the beginning I swear
i have 2 block in On init tab . not sure if this is the way it works
also there is one constant I used to identify the start of my backtest month -
Try once per bar set to month, the first tick of the month should activate all blocks beneath, then not again for a month.

-
@jstap thanks buddy that should do it 🤍