{主升启动主图源码如下}
短线强度:=ATAN((MA(CLOSE,13)/REF(MA(CLOSE,13),1)-1)*100)*57.299999;
ABC1:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999;
ABC2:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999;
ABC3:=ATAN((MA(CLOSE,60)/REF(MA(CLOSE,60),1)-1)*100)*57.299999;
ABC4:=ABC1/50+短线强度/40+ABC2/21+ABC3/10;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
ABC5:=MACD>0;
AA:=C>MA(C,3);
操作线:MA(CLOSE,5)COLORMAGENTA LINETHICK2;
STICKLINE(短线强度>0 AND AA,O,C,2.6,0),COLORYELLOW;
STICKLINE(短线强度>40 AND AA,O,C,1,0),COLORRED;
启动:=BARSLASTCOUNT(短线强度>0)=1 AND AA;
主升:=BARSLASTCOUNT(短线强度>40)=1 AND AA;
STICKLINE(启动,O,C,1,0),COLORMAGENTA;
DRAWICON(启动,L,25);
DRAWICON(主升,L*0.99,9);
{主升启动副图源码如下}
短线强度:ATAN((MA(CLOSE,13)/REF(MA(CLOSE,13),1)-1)*100)*57.299999,COLORLIRED NODRAW;
ABC1:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999;
ABC2:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999;
ABC3:=ATAN((MA(CLOSE,60)/REF(MA(CLOSE,60),1)-1)*100)*57.299999;
ABC4:=ABC1/50+短线强度/40+ABC2/21+ABC3/10;
STICKLINE(短线强度>0,短线强度/8,0,2.6,0),COLORMAGENTA;
STICKLINE(短线强度>40,短线强度/8,4.2,2.6,0),COLORRED;
主升行情:ABC4,COLORYELLOW,LINETHICK2;
IF(ABC4>4.2 AND ABC4>=REF(ABC4,1),ABC4,DRAWNULL),COLORMAGENTA,LINETHICK2;
0, COLORLIRED DOTLINE;