通达信【涨停先知】指标系统 主副图 专为追求涨停板收益设计 源码附图
本指标系统专为追求涨停板收益的投资者设计,包含主图与副图两大模块。主图通过精准的趋势线,捕捉市场动向,同时提供明确的信号买点,帮助投资者把握入场时机。副图则作为辅助,实时提示信号买点,确保投资者不错过任何潜在机会。该系统支持手机与电脑端使用,方便投资者随时随地掌握市场动态。无论是短线快进快出,还是中线稳健布局,都能在本系统中找到适合的策略。然而,投资有风险,市场波动难以预测。在使用本指标系统时,请务必谨慎操作,合理配置资金,切勿盲目跟风。通过科学的风险管理,实现稳健收益。
M6:=10;
M8:=20;
N6:=20;
GSKZ1:=(1+M6/100)*MA(CLOSE,N6),COLORYELLOW;
GSKZ2:(1-M8/100)*MA(CLOSE,N6),COLORBLUE;
GSKZ3:(GSKZ1+GSKZ2)/2,COLORWHITE DOTLINE;
GSKZ4:8*(GSKZ1+GSKZ2)/14,COLORRED;
GSKZ5:6*(GSKZ1+GSKZ2)/14,COLORGREEN;
股市客栈:=1200823;
涨停:IF(DATE<股市客栈,ZTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORRED;
跌停:=IF(DATE<股市客栈,DTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORGREEN;
M涨停:IF(DATE<股市客栈,C*IF(CODELIKE('688'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)),C*(IF(CODELIKE('688') OR CODELIKE('300'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)))),NODRAW,COLORLIMAGENTA;
M跌停:=IF(DATE<股市客栈,C*IF(CODELIKE('688'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)),C*(IF(CODELIKE('688') OR CODELIKE('300'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)))),NODRAW,COLORFFFF00;
ACC:=C>=涨停 AND PERIOD=5 AND H=C;
ACC1:=H>=涨停 AND PERIOD=5 AND H>C;
ACB:=C<=跌停 AND PERIOD=5 AND L=C;
ACB1:=L<=跌停 AND PERIOD=5 AND L<C;
TJ:=V=HHV(V,100);
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:=MACD>0;
DRAWICON(CROSS(J,50)AND XG,L,26);
K1:=SUMBARS(TJ,1);
涨停先知:=C>GSKZ4 AND REF(C,1)<GSKZ4 AND (C-REF(C,1))/REF(C,1)>0.09;
STICKLINE(涨停先知,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(CROSS(J,50)AND XG,OPEN,CLOSE,0.6,0),COLORYELLOW;
DRAWTEXT(涨停先知,L,'★涨停先知');
DRAWICON(涨停先知,L,9);