folks:
I am having a tough time to get this rule
working:
basically I am looking for two candles to have
closed above the condition1 value SINCE most recent condition1 is
true.
condition1=cross(c,ema(50));
condition1_high=valuewhen(condition1,HIGH,1);
TWO_CLOSES_ABOVE_condition1_high=BARSINCE(condition1==1)>=1 AND SUM(C
> condition1_high,BARSINCE(condition1==1))>=2;
but the code is not working. I am probably messing
up somewhere.
Appreciate if someone can help.
thanks,Padhu