Script Adjustment Question

What syntax would I need to insert in the script below if I want C1 to be the trigger for C2 (like it is now), but still need C1 to be true when C2 is found?

//Set Momentum
V1 = MOMENTUM(BARS=14) ;
//MA of Momentum is less than Momentum
C1 = MA(V1, BARS=14) < V1 ;
//Low greater than MA High
V2 = LOW() > MA(BARS=10, CALC=High) ;
//Result occurs over two consecutive bars
C2 = V2 == 1 and V2[1] == 1;
C3 = LAST() < 16.00;
//Find first Instance of V2 after C1 is met
RES = SIGNALAFTER(C1,C2) ;
RES and C3 and C1

Hi Mark,

That would just be RES AND C1

So what you have should work.

All the best

Mathew

Thank You!