I tried to use a variable for counting trades but it doesnt work right.
The issue is that only 1 trade will be made.
This is what I created for test and it dont work:
-Variable: Tradecounter default 0
Strategy:
Set 1
If XY is true
and TradeCounter = 0
go Long
set Tradecounter = 1
Set 2
If XY is true
and TradeCounter = 1
go Long
set TradeCounter = 2
Set 3
If XY is true
and TradeCounter = 2
go Long
set TradeCounter = 3
I dont understand whats wrong with this logic
Thank you

Comment