I have a strategy condition which triggers several buys because the condition is true. I'd like to run only the very first trade of the day / session and do not execute further trades. How can I include this limitation?
I tried following without success:
I added a user variable bool FirstTradeOpened = false
In my condition I added the if FirstTradeOpened = false then ...
In the same set where I run the action "EnterLong" I added the action "Set UserVariable FirstTradepened = true"
but this resulted that no trade is done at all.
Comment