illustration: if(Close[0]>Close[1]) EnterLong(); i know that if this condition is true trade price used in back test is the next bar's open...i wanted to know what method or programming logic do i use to execute EnterLong() only if the next bar's open meets some other condition, for example if i wanted the next bar's Open[-1]>High[0], i know i can't do this but this the logic of what i'm attempting to do. if there's a method will you please provide and if there's logic please "tell" me but don't write the code for me! i trying to learn.
thanks

Comment