通达信悠闲分时1号主图指标(源码)

2015-07-24 22:45:00来源:本站整理浏览:315

均价:SUM(C*V,BARSCOUNT(C))/SUM(V,BARSCOUNT(C)),COLORGREEN,LINETHICK2;
IF(均价>C,均价,DRAWNULL),COLORRED,LINETHICK2;
STICKLINE(TIME=1030,均价*0.995,均价*1.005,0,0),COLORLIGRAY;
STICKLINE(TIME=1000,均价*0.995,均价*1.005,0,0),COLORLIGRAY;
DRAWNUMBER(ISLASTBAR,DYNAINFO(11),DYNAINFO(11)),COLORYELLOW;
DRAWTEXT(ISLASTBAR AND DYNAINFO(7)>DYNAINFO(11),DYNAINFO(7),"不追"),COLORGREEN;
DRAWTEXT(ISLASTBAR AND DYNAINFO(7)<DYNAINFO(11),DYNAINFO(7),"找机会"),COLORRED;
DRAWNUMBER(ISLASTBAR,DYNAINFO(6)*1.002,(DYNAINFO(7)/DYNAINFO(6)-1)*100),COLORWHITE;
DRAWNUMBER(ISLASTBAR,DYNAINFO(5)*0.998,(DYNAINFO(5)/DYNAINFO(6)-1)*100),COLORWHITE;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8;
支撑:=L1+P1*0.5/8;
DRAWICON(LONGCROSS(支撑,C,2),C,1);
DRAWICON(LONGCROSS(C,阻力,2),C,2);


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式