Hi,Just returned to TS and I'm trying to code a rule where over the last X bars, price was above EMA 20 for X-Y times - where X-1, or X-2 etc.On another site, they support a looping rule;LoopSum("Close(CTR)>SMA(20,0)",10) for example. LoopSum counts ...