SinceGreen = iif(MACD()>0,BarsSince(Cross(MACD(),0)),0);
SinceRed = iif(MACD()<0,BarsSince(Cross(0,MACD())),0);
AddColumn(SinceGreen,"Green",1.0,colorGreen);
AddColumn(SinceRed,"Red",1.0,colorRed);
AddColumn(MA(C*V,3),"avg Val 3 days",1.0);
AddColumn(BarsSince(Cross(30,RSI(14))),"Since RSI OS",1.0);
AddColumn(Year(),"Yr",1.0);
Filter =
MA(C*V,3)>10000000
AND
BarsSince(Cross(30,RSI(14)))<50
AND
Year()>2019;
![](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201%201'%3E%3C/svg%3E)
-
This reply was modified 3 years, 11 months ago by
dreamscat.