通达信内外盘差值指标

以下是通达信内外盘差值指标(无源码的请下载附件导入)

通达信内外盘差值指标

源码:
实际V: VOL,LINETHICK0 ;
成交额(千万):=AMOUNT/10000000,POINTDOT,COLORYELLOW;
外盘: DYNAINFO(23),LINETHICK0 ;
内盘: DYNAINFO(22),LINETHICK0 ;
TT:=240/FROMOPEN;
比:=TT;
昨V:=REF(V,1);
预比昨:=实际V*TT/昨V,LINETHICK0;
市盈率 :=DYNAINFO(39) ;
换:V/CAPITAL*100,LINETHICK0;
量比:= VOL/MA(VOL,5);
涨幅: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
百日总:=SUM(V,100);
百日换:=百日总/CAPITAL*100,LINETHICK0;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
买盘1:=DYNAINFO(23)*比;
卖盘1:=DYNAINFO(22)*比;
买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));
卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));
买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2);
卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2);
买卖差:=买盘-卖盘;
STICKLINE(C>=O,0,买盘+卖盘,2.8,1),COLORRED;
STICKLINE(C<O,0,买盘+卖盘,2.8,1),COLORFFFF00;
STICKLINE(买卖差>=0,0,买盘,2.5,0),COLORRED;
STICKLINE(买卖差>=0 AND C>=MA(C,30),0,买盘,3.0,0),COLORRED;
STICKLINE(买卖差>=0,0,卖盘,1.1,0),COLOR998800;
STICKLINE(买卖差>=0 AND C>=MA(C,30),0,卖盘,1.5,0),COLORDDCC00;
STICKLINE(买卖差<0,0,买盘,2.5,0),COLORRED;
STICKLINE(买卖差<0 AND C>=MA(C,30),0,买盘,3.0,0),COLORRED;
STICKLINE(买卖差<0,0,卖盘,1.1,0),COLOR998800;
STICKLINE(买卖差<0 AND C>=MA(C,30),0,卖盘,1.5,0),COLORDDCC00;
STICKLINE(1,0,MAX(买盘,卖盘),0,0),COLORFFFFFF;
进出量:=买卖差;
红天3:=COUNT(进出量>0,3)=3;
DRAWICON(红天3,-400 ,1);

==============

或者阿强理想2008老师的指标
{内外盘差}
PJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-PJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,PJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5)+(V2*V5);
V7:=(V3*V5)+(V4*V5);
WP1:=DYNAINFO(23);
NP1:=DYNAINFO(22);
WP2:=IF(ISLASTBAR,V7*240/FROMOPEN,V7);
NP2:=IF(ISLASTBAR,V6*240/FROMOPEN,V6);
WP【外】:IF(ISLASTBAR AND PERIOD=5 ,WP1,WP2),NODRAW;
NP【内】:IF(ISLASTBAR AND PERIOD=5 ,NP1,NP2),NODRAW;
日差【手】:WP【外】-NP【内】,NODRAW;
周差【手】:SUM(日差【手】,5),NODRAW;
十日差【手】:SUM(日差【手】,10),LINETHICK2,COLORYELLOW,NODRAW;
月差【手】:SUM(日差【手】,22),NODRAW;
STICKLINE(日差【手】>O,0,日差【手】,2,0),COLORRED;
STICKLINE(日差【手】<O,0,日差【手】,2,0),COLORFFFF00;

    附件大小:unknow

    下载统计: 今日:0  本周:0  本月:0  总下载:0

    (0)

    相关推荐