I can't seem to get this right yet I've experimented quite a bit and it hasn't worked: any pointers will be much appreciated.
Just say I have these conditions:
Close[0] > Open[0]: a definite condition
Then either:
Close[1] > Open[1]
or:
Close[2] > Open[2]
or both are true.
I've tried this but it doesn't seem to do the trick:
if( Close[0] > Open[0]
&& (
Close[1] > Open[1]
|| Close[2] > Open[2]
)
This doesn't seem to work either:
if( Close[0] > Open[0]
|| Close[1] > Open[1]
|| Close[2] > Open[2]
I'm guessing there's a way I haven't seen.
Thanks in advance.
Comment