B1:=FILTER(B,12);
TS1:=BARSLAST(A1);
压力:REF(HIGH,TS1),COLORWHITE,NODRAW;
STICKLINE(1,压力,压力,1.5,0),COLORGREEN;
TS2:=BARSLAST(B1);
支撑:REF(LOW,TS2),COLORYELLOW,NODRAW;
STICKLINE(1,支撑,支撑,1.5,0),COLORYELLOW;
空间:=100*(压力-支撑)/支撑;
卖空:=REF(压力,1)&&O<=压力&&C>压力;
抢筹拉升副图指标源码如下:
D:=72;CW01:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
CW02:=2*ABS(CW01);
CW03:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
CW04:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
CW05:=(HIGH+LOW+CLOSE)/3;
CW06:=(CW05-MA(CW05,14))/(0.015*AVEDEV(CW05,14));
CW07:=(CW05-MA(CW05,89))/(0.015*AVEDEV(CW05,89));
CW08:=IF(CW06>=150 AND CW06<200 AND CW07>=150 AND CW07<200,10,0);
CW09:=IF(CW06<=-150 AND CW06>-200 AND CW07<=-150 AND CW07>-200,-10,CW08);
GHCA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
GHCB:=100-ABS(GHCA);
GHCC:=3*SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
GHCD:=3*SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
GHCE:=REF(LOW,1)*0.9;
GHCF:=LOW*0.9;
CW010:=(GHCF*VOL+GHCE*(CAPITAL-VOL))/CAPITAL;
CW011:=EMA(CW010,30);
CW012:=CW011-CLOSE;
CW013:=REF(CLOSE,1);
CW014:=SMA(MAX(CLOSE-CW013,0),7,1)/SMA(ABS(CLOSE-CW013),7,1)*100;
CW015:=SMA(MAX(CLOSE-CW013,0),13,1)/SMA(ABS(CLOSE-CW013),13,1)*100;
CW016:=BARSCOUNT(CLOSE);
CW017:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
CW018:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
CW019:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
CW01A:=(SMA(CW019,4,1)-50)*2;
CW01B:=SMA(CW01A,3,1);
CW01C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
CW01D:=SMA(CW01C,4,1);
CW01E:=SMA(CW01D,3,1);
CW01F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
CW020:=IF(CW017<=25 AND CW01820 AND CW01B=-0.25 AND CW014<22 AND CW015<28 AND CW016>50,80,0);
活筹OAMV: CW03,COLORFF00FF;
OX: IF(GHCB<90,GHCB,100),COLORFFCC66;
CW021:=IF(CW01>0,CW01,0);
核能: IF(CW01<0,CW02,0), LINESTICK;
牛角: CW020,COLORYELLOW;
预警: IF(CW07>=200 AND CW06>=150,15,IF(CW07<=-200 AND CW06<=-150,-15,CW09))+60,COLOR00FF00;
CW022:=100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34));
CW023:=MA(CW022,3);
CW024:=EMA(AMOUNT/VOL/100,5);
CW025:=EMA(AMOUNT/VOL/100,13);
CW026:=CW024-CW025;
势能: IF(1000*CW026/CW024>0,1000*CW026/CW024,0),COLORRED,LINETHICK2;
STICKLINE(CW03>=REF(CW04,1),CW03,CW04,8,1),COLORRED;
STICKLINE(CW03
CW027:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);
CW028:=CLOSE
CW029:=CW021>50 AND 预警>60 AND OX=100;
CW02A:=CW021>48 AND 预警>60 AND OX<100;
CW02B:=核能>38 AND 预警<55;
CW02C:=牛角>50 AND OX<90;
CW02D:=CW03[REF(VOL,1) AND CLOSE>REF(CLOSE,1);]
CW02E:=CW03>=REF(CW04,1) AND CLOSE[=REF(核能,1) AND GHCC]
DRAWTEXT(CW027 AND COUNT(CW027,30)=1,90,'持股待涨'),COLORFF00FF;
DRAWTEXT(CW028 AND COUNT(CW028,30)=1,10,'出局为佳'),COLOR00FF00;
DRAWTEXT(CW029 AND COUNT(CW029,30)=2,80,'上涨过急,需要调整'),COLORWHITE;
DRAWTEXT(CW02A AND COUNT(CW02A,30)=1,80,'主升浪启动'),COLORYELLOW;
DRAWTEXT(CW02B AND COUNT(CW02B,30)=1,20,'不必杀跌有反弹 '),COLORWHITE;
DRAWTEXT(CW02C AND COUNT(CW02C,30)=1,30,'阶段底部 '),COLORYELLOW;
DRAWTEXT(CW02D AND COUNT(CW02D,30)=1,60,'大资金进场'),COLOR0099FF;
DRAWTEXT(CW02E AND COUNT(CW02E,30)=1,40,'高点回落'),COLORFFCC66;
XG:牛角=80;
抢筹拉升选股指标源码如下:
D:=72;
CW01:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
CW02:=2*ABS(CW01);
CW03:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
CW04:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
CW05:=(HIGH+LOW+CLOSE)/3;
CW06:=(CW05-MA(CW05,14))/(0.015*AVEDEV(CW05,14));
CW07:=(CW05-MA(CW05,89))/(0.015*AVEDEV(CW05,89));
CW08:=IF(CW06>=150 AND CW06<200 AND CW07>=150 AND CW07<200,10,0);
CW09:=IF(CW06<=-150 AND CW06>-200 AND CW07<=-150 AND CW07>-200,-10,CW08);GHCA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
GHCB:=100-ABS(GHCA);
GHCC:=3*SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
GHCD:=3*SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
GHCE:=REF(LOW,1)*0.9;
GHCF:=LOW*0.9;
CW010:=(GHCF*VOL+GHCE*(CAPITAL-VOL))/CAPITAL;
CW011:=EMA(CW010,30);
CW012:=CW011-CLOSE;
CW013:=REF(CLOSE,1);
CW014:=SMA(MAX(CLOSE-CW013,0),7,1)/SMA(ABS(CLOSE-CW013),7,1)*100;
CW015:=SMA(MAX(CLOSE-CW013,0),13,1)/SMA(ABS(CLOSE-CW013),13,1)*100;
CW016:=BARSCOUNT(CLOSE);
CW017:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
CW018:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
CW019:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
CW01A:=(SMA(CW019,4,1)-50)*2;
CW01B:=SMA(CW01A,3,1);
CW01C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
CW01D:=SMA(CW01C,4,1);
CW01E:=SMA(CW01D,3,1);
CW01F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
牛角:IF(CW017<=25 AND CW01820 AND CW01B=-0.25 AND CW014<22 AND CW015<28 AND CW016>50,80,0);
抢筹拉升指标使用说明如下:
本指标主要用于趋势白马股
主图确定趋势,红色趋势带位于深红色趋势带上方是上升趋势,股价回踩不跌破红色趋势带是加仓机会。
副图通过筹码情况确定主升浪的启动点,出现主升浪启动信号则为启动。
确定性买点是主图已经进入了上升趋势,副图出现主升浪启动信号。
注意事项:
无法复制的问题,无法复制一定是复制者的问题和指标源码没有关系,这个问题就别问我。
复制安装的时候,主图,副图和选股指标一定要分开复制,分开安装。
复制之后安装提示错误的问题,通达信指标编辑和公众号网页格式不同的原因,解决办法首先是用文本文档或者word等办公文件中转一下,中转的办法也相对比较简单,就是以冒号为基准重新排列配列一下,且把源码里面出现的问号删除即可。
如果以上教程自己实在没办解决的话,可以点击公众号后台的联系我,找我领取tn6格式文件。
指标都是无私分享的,大家多“点赞”和“再看”支持,你的支持是我长久无私分享的动力。