通达信筹码移动主图指标公式

2013-04-16 09:09:00来源:本站整理浏览:1409

N:=1;
K:STICKLINE(C=C,H,L,3.5,0),COLOR454545;
MJ:=(H+L)/2;
G:=IF(MJ>0 AND MJ<2,ROUND(MJ/(N/5))*(N/5),
IF(MJ>2 AND MJ<5,ROUND(MJ/(N/4))*(N/4),
IF(MJ>=5 AND MJ<20,ROUND(MJ/(N/2))*(N/2),
IF(MJ>=20 AND MJ<100,ROUND(MJ/(N))*(N),
IF(MJ>=100 AND MJ<200,ROUND(MJ/(N*2))*(N*2),
IF(MJ>=200 AND MJ<500,ROUND(MJ/(N*5))*(N*5),
IF(MJ>=500 AND MJ<1000,ROUND(MJ/(N*10))*(N*10),
IF(MJ>=1000 AND MJ<2000,ROUND(MJ/(N*20))*(N*20),
IF(MJ>=2000 AND MJ<5000,ROUND(MJ/(N*50))*(N*50),
IF(MJ>=5000 AND MJ<10000,ROUND(MJ/(N*100))*(N*100),
ROUND(MJ/(N*200))*(N*200))))))))))),COLORGREEN;
ALIGNRIGHT(IF(G=3.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=4,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=4.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=5.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=6,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=6.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=7,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=7.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=8,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=8.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=9,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=9.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=10,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=10.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=11,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=11.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=12,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=12.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=13,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=13.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=14,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=14.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=15,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=15.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=16,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=16.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=17,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=17.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=18,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=18.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=19,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=19.5,G,DRAWNULL)),COLORWHITE;
ALIGNRIGHT(IF(G=20,G,DRAWNULL)),COLORWHITE;


 


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式