Home › Forums › CDC Forums › Supporting Members Area — รวบรวมสูตร Downloads และระบบการเทรด › ขอสูตร Explorer CDC BarSince RedGreen สำหรับ Amibroker › Reply To: ขอสูตร Explorer CDC BarSince RedGreen สำหรับ Amibroker
06/10/2020 at 11:37 pm
#37028
dreamscat
Keymaster
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;
- This reply was modified 4 years, 2 months ago by dreamscat.