PDA

View Full Version : possible using "or" as well as :and"


gtgtgt
10-02-2007, 03:25 PM
I'm not a programmer, so I'm using the easy script pull down menu in ns. I want to use "or" instead of "and" between rules. (ie - bar close is above 10 sma OR bar close is above 15 sma.)

As I see it, you can only use "and" between rules - is there a way to use "OR" ?

Thanks -

NinjaTrader_Ray
10-02-2007, 03:32 PM
Your observation is correct, you can only use "AND". However, you can set up a new rule set. So you would have:

Set1
bar close above 10 sma
Do something

Set2
bar close above 15 sma
Do something