I'm looking for a simpler way to do a test:
If K had a value of less than 10 either one, two or three bars ago.
(K[1] < 10) will test for one bar ago. Then using an OR statement (K[2] < 10) will test for two bars ago, etc. is what I have programmed in right now.
Is there a way to put all three tests in one statement?
Thanks,
phoenix
Comment