通达信先趋确认波段确定副图公式源码
TYP:=(HIGH+LOW+CLOSE)/3;
G_CCI:EMA((TYP-MA(TYP,36.0270012))/(0.015*AVEDEV(TYP,36.0270012)),2),COLORWHITE;
STICKLINE(G_CCI -150,G_CCI,-150,2.5,0),COLORYELLOW;
STICKLINE(C 0,-150,-151,2.5,0),COLORLIBLUE;
STICKLINE(C 0,+150,+151,2.5,0),COLORLIBLUE;
STICKLINE(C 0,+100,+100,2.5,0),COLORYELLOW;
STICKLINE(C 0,-100,-100,2.5,0),COLORYELLOW;
STICKLINE(C 0,0,0,2.5,0),COLORYELLOW;
DIF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
:COUNT(MACD 0,10)=10,COLORRED,NODRAW;
STICKLINE( ,0,MACD*200,3.5,0),COLORRED;
RSI :RSI.RSI1#WEEK 20,NODRAW;
STICKLINE(RSI ,0,20,3.5,0),COLORLIBLUE;
100;
0;
-100;
-100,STICK;