I wonder if it is possible to
Instead of writing e.g.
Code: Select all
If value12[10] <= -1000 or value12[9] <= -1000 or value12[8] <= -1000
or value12[7] <= -1000 or value12[6] <= -1000 or value12[5] <= -1000 or value12[4] <= -1000 or value12<= -1000[3] or value12[2] <= -1000 or value12[1] <= -1000 or value12[0] <= -1000) then
If (Value12, any of the last 10 bars) <=-1000 then
I have looked around but have not found anything.
Best regards
Stefan