if (!Strategy.isLong(-1)..... has no parameter to check previous bars. (-1) doesn't work.
also: How can you check the condition of a boolean variable on previous bar ?
myVar(-5) == x, myVar(lastBar) == x , myVar 2 bars ago == x
Thanks
also: How can you check the condition of a boolean variable on previous bar ?
myVar(-5) == x, myVar(lastBar) == x , myVar 2 bars ago == x
Thanks
Comment