So is it possible with a trade that gets executed if a condition is met, to create a variable called like "trades" and=1 after strategy goes long/short once, then make it =2 if it makes a second trade.
that way I can make sure the condition for entering an order doesn't happen if it's at 2? assuming I want to limit to 2 trades total and stop.
Comment