{指标介绍:红色柱代表个股强于大盘走势,蓝色代表个股弱于,两者重合时,显示黄柱。当大盘个股MACD同时在底部,零轴金叉时,发出共振启动信号。}
提示:在微信里搜索“股旁网”或者微信扫描右侧二维码。
个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORE67010,LINETHICK2;
STICKLINE(个股>=大盘,个股,大盘,1,0),COLORRED;
STICKLINE(个股<大盘,个股,大盘,1,0),COLORBLUE;
STICKLINE(个股>=大盘,0,大盘,6,1),COLORYELLOW;
STICKLINE(个股<大盘,0,个股,6,1),COLORYELLOW;
X:=(3*C+L+O+H)/6;
DKX:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORGREEN,LINETHICK2;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
XG:=MACD>0;
MA5:=MA(C,3);
MA10:=MA(C,5);
MA20:=MA(C,15);
CTA1:=(CLOSE*2+HIGH+LOW)/4;
CTA2:=EMA(CTA1,13)-EMA(CTA1,21);
CTA3:=EMA(CTA2,2);
XG1:=2*(CTA2-CTA3)*3.8, LINESTICK;
必杀:=crOSS(C,DKX) AND XG1>0 AND XG;
启动:IF(CROSS(C,DKX) AND XG1>0 AND XG,50,0),STICK,LINETHICK6,COLORMAGENTA;
DRAWICON(必杀,50.6,9);
DRAWTEXT(必杀,40,' ★启动'),COLORMAGENTA;