一线暴涨主升主图源码
MA线:=MA(CLOSE,3.1415926535*MA(C,5));
STICKLINE(CLOSE =OPEN AND CLOSE =MA线,OPEN,CLOSE,2,0),COLOR000077;
STICKLINE(CLOSE =OPEN AND CLOSE =MA线,H,L,0,0),COLOR000077;
STICKLINE(OPEN CLOSE AND CLOSE =MA线,OPEN,CLOSE,2,0),COLOR777700;
STICKLINE(OPEN CLOSE AND CLOSE =MA线,H,L,0,0),COLOR777700;
STICKLINE(CROSS(CLOSE,MA线),CLOSE,OPEN,0.5,0),COLOR0080FF;
STICKLINE(CLOSE MA线,CLOSE,OPEN,4,0),COLOR000000;
STICKLINE(CLOSE MA线,H,L,1,0),COLOR000000;
AA:MA线,COLORFFAA00;
BB:=AA REF(AA,1),LINETHICK0;
MA线,COLORFFFFFF,DOTLINE;
IF(BB,MA线,DRAWNULL),COLORRED,DOTLINE;
一线暴涨主升副图源码
X_1:=VOL*CLOSE;
X_2:=SUM(X_1,1)/SUM(VOL,1);
X_3:=EMA(X_2,17);
X_4:=(X_2-X_3)*100/X_2;
X_5:=IF(X_4 0 AND 0 =REF(X_4,1),6,DRAWNULL);
X_6:=IF(REF(X_4,1) 3 AND REF(X_4,1) 0 AND X_4-REF(X_4,1) 6,6,DRAWNULL);
X_7:=(CLOSE+HIGH+LOW)/3;
X_8:=EMA(X_7,5);
X_9:=REF(X_8,1);
X_10:=IF(X_8 X_9,0,DRAWNULL);
X_11:=IF(EMA(CLOSE,3) REF(EMA(CLOSE,3),1),3,DRAWNULL);
X_12:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
X_13:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
X_14:=100-MA(100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)),34);
X_15:=IF(CLOSE (HIGH+LOW)/2,1,0)+IF(CROSS(X_13,MA(X_14,5)),2,0)+IF(X_11=3,1,0)+IF(X_10=0,1,0)+IF(X_5=6,2,0)+IF(X_6=6,2,0);
X_16:=X_15
沪深总上涨家数:DYNAINFO(60),NODRAW,COLORRED;
沪深总下跌家数:DYNAINFO(61),NODRAW,COLORGREEN;
沪深总成交金额:DYNAINFO(62)/100000000,NODRAW,COLORWHITE;
X_17:=MACD.DIF REF(MACD.DIF,1) AND REF(MACD.DIF,1) REF(MACD.DIF,2);
X_18:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
X_19:=IF(CLOSE REF(OPEN,1) AND X_18 0,1,0);
X_20:=IF(CLOSE REF(OPEN,2) AND X_18 0,1,0);
X_21:=X_19=0 AND REF(X_19,1)=1 AND X_20=0 AND REF(X_20,1)=1;
X_22:=X_17 AND X_21;
XG:X_16 AND X_22,COLORCYAN;