Hi, is there a way to limit 1 short trade or 1 long trade per day?
I know that it is possible to code a strategy by limiting it to 1 trade per day by using and playing around with the “barindex” functions.
But I specifically only need the strategy to perform a maximum of 1 short trade per day or 1 long trade per day (so in total maximum 2 trades per day),
and I can’t figure out how to do it, is it possible to do it somehow?
thanks in advance for the help