MACD抓涨停板(源码 副图 同花顺 贴图)
N1:=9;N2:=5; MTM:=C-REF(C,1); M3:=MA(CLOSE,3); UPPER:=(1+9/100)*MA(CLOSE,9)*0.96; 主升浪:(m3-UPPER)/upper*100; a2:=REF(主升浪,1); a3:=REF(主升浪,2); S:=(EMA(C,5)-REF(EMA(C,5),1))/REF(EMA(C,5),1)*100; 主力:MA(s,3)*2-3; 空方:MA(s,3)*2-3; DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*400; DEA:=EMA(DIFF,9),COLORFFFF00; LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100; VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100; VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100; VARD:=BARSCOUNT(CLOSE); 控盘:MA(s,3)*2-3; STICKLINE(控盘<0,控盘,0,3,0),COLORFFAA00; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3,0),colorred; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3,1),colorgreen; BT2:=CROSS(主力,空方) AND 主力<-10; 买:-1; VAR1:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1); VAR2:=EMA(VAR1,22); VAR3:=2*(VAR1-VAR2); DRAWTEXT(控盘>0 AND 控盘=HHV(控盘,1+BARSLAST(CROSS(控盘,0))),控盘,'↑');
移动端首页 | PC端
© by gszx.com.cn Mobile Web
MACD抓涨停板(源码 副图 同花顺 贴图)
N1:=9;N2:=5;
MTM:=C-REF(C,1);
M3:=MA(CLOSE,3);
UPPER:=(1+9/100)*MA(CLOSE,9)*0.96;
主升浪:(m3-UPPER)/upper*100;
a2:=REF(主升浪,1);
a3:=REF(主升浪,2);
S:=(EMA(C,5)-REF(EMA(C,5),1))/REF(EMA(C,5),1)*100;
主力:MA(s,3)*2-3;
空方:MA(s,3)*2-3;
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*400;
DEA:=EMA(DIFF,9),COLORFFFF00;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
VARD:=BARSCOUNT(CLOSE);
控盘:MA(s,3)*2-3;
STICKLINE(控盘<0,控盘,0,3,0),COLORFFAA00;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3,0),colorred;
STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3,1),colorgreen;
BT2:=CROSS(主力,空方) AND 主力<-10;
买:-1;
VAR1:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1);
VAR2:=EMA(VAR1,22);
VAR3:=2*(VAR1-VAR2);
DRAWTEXT(控盘>0 AND 控盘=HHV(控盘,1+BARSLAST(CROSS(控盘,0))),控盘,'↑');