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

[复制链接]
查看151 | 回复0 | 2021-8-20 21:15:34 | 显示全部楼层 |阅读模式

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

202108201437.jpg

202108201437.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则