在线检测未来函数

通达信悠闲分时1号主图指标公式

来源:Internet,编辑:股旁网,2015-07-24

均价: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);

通达信悠闲分时1号主图指标公式

相关文章