通达信悠闲分时1号主图指标公式
2020/9/14 19:08:41
均价: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);
投 股票网 www. tou18.cn
股市公式下载推荐