在线检测未来函数

通达信云端强势线主图指标公式

来源:Internet,编辑:股旁网,2012-07-23

筹码价位低:=COST(0.001);
筹码价位1:=COST(0.001)+(COST(99.999)-COST(0.001))/10;
筹码价位2:=COST(0.001)+(COST(99.999)-COST(0.001))/10*2;
筹码价位3:=COST(0.001)+(COST(99.999)-COST(0.001))/10*3;
筹码价位4:=COST(0.001)+(COST(99.999)-COST(0.001))/10*4;
筹码价位5:=COST(0.001)+(COST(99.999)-COST(0.001))/10*5;
筹码价位6:=COST(0.001)+(COST(99.999)-COST(0.001))/10*6;
筹码价位7:=COST(0.001)+(COST(99.999)-COST(0.001))/10*7;
筹码价位8:=COST(0.001)+(COST(99.999)-COST(0.001))/10*8;
筹码价位9:=COST(0.001)+(COST(99.999)-COST(0.001))/10*9;
筹码价位高:=COST(99.999);
{www.gupang.com 股旁网_通达信股票指标公式}
区间最大筹码:=MAX(MAX(MAX(MAX(WINNER(筹码价位1)-WINNER(筹码价位低),WINNER(筹码价位2)-WINNER(筹码价位1)),MAX(WINNER(筹码价位3)-WINNER(筹码价位2),WINNER(筹码价位4)-WINNER(筹码价位3))),MAX(MAX(WINNER(筹码价位5)-WINNER(筹码价位4),WINNER(筹码价位6)-WINNER(筹码价位5)),MAX(WINNER(筹码价位7)-WINNER(筹码价位6),WINNER(筹码价位8)-WINNER(筹码价位7)))),MAX(WINNER(筹码价位9)-WINNER(筹码价位8),WINNER(筹码价位高)-WINNER(筹码价位9)));
筹码密集均价:=IF(区间最大筹码=WINNER(筹码价位1)-WINNER(筹码价位低),(筹码价位1+筹码价位低)/2,IF(区间最大筹码=WINNER(筹码价位2)-WINNER(筹码价位1),(筹码价位2+筹码价位1)/2,IF(区间最大筹码=WINNER(筹码价位3)-WINNER(筹码价位2),(筹码价位3+筹码价位2)/2,IF(区间最大筹码=WINNER(筹码价位4)-WINNER(筹码价位3),(筹码价位4+筹码价位3)/2,IF(区间最大筹码=WINNER(筹码价位5)-WINNER(筹码价位4),(筹码价位5+筹码价位4)/2,IF(区间最大筹码=WINNER(筹码价位6)-WINNER(筹码价位5),(筹码价位6+筹码价位5)/2,IF(区间最大筹码=WINNER(筹码价位7)-WINNER(筹码价位6),(筹码价位7+筹码价位6)/2,IF(区间最大筹码=WINNER(筹码价位8)-WINNER(筹码价位7),(筹码价位8+筹码价位7)/2,IF(区间最大筹码=WINNER(筹码价位9)-WINNER(筹码价位8),(筹码价位9+筹码价位8)/2,(筹码价位高+筹码价位9)/2)))))))));
强势指导线:MA(筹码密集均价,1),COLORYELLOW,LINETHICK1;
筹码密集度:=WINNER(筹码密集均价*1.1)-WINNER(筹码密集均价*0.9);
上穿强势指导线:=IF(REF(C,1)<MA(筹码密集均价,1) AND C>MA(筹码密集均价,1),1,0);
下穿强势指导线:=IF(REF(C,1)>MA(筹码密集均价,1) AND C<MA(筹码密集均价,1),1,0);
DRAWICON(上穿强势指导线>0,L,1);
DRAWICON(下穿强势指导线>0,H,2);
VAR6:=(( Abs((OPEN-CLOSE))/(HIGH-LOW))*vol);
VAR7:=(( (HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL);
VAR8:=(( (IF((CLOSE>OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL);
VAR9:=IF(((VOL/CAPITAL)>0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));
加仓:=VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN,NODRAW,COLORRED;
减仓:=VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN,NODRAW,COLORBLUE;
洗盘:=VAR8>VAR6 AND VAR8>VAR7,NODRAW,COLORWHITE;
高抛:=VAR7>VAR6 AND VAR7>VAR8,NODRAW,COLORMAGENTA;
地量:=VAR9>2 AND VOL<MA(VOL,5)/2,NODRAW,COLORGREEN;
STICKLINE(加仓,O,C,1,0),COLORRED;
STICKLINE(洗盘,O,C,1,0),COLORWHITE;
STICKLINE(减仓,O,C,1,0),COLORBLUE;
STICKLINE(高抛,O,C,1,0),COLORMAGENTA;
STICKLINE(地量,O,C,1,0),COLORGREEN;
DRAWTEXT_FIX(1,0.0,0.0,0,'蓝芯-主力低位深度洗盘或高位出货坚决'),COLORBLUE;
DRAWTEXT_FIX(1,0.00,0.06,0,'白芯-主力轻度洗盘'),COLORWHITE;
DRAWTEXT_FIX(1,0.00,0.12,0,'棕芯-出现了近期相对地量'),COLORGREEN;
DRAWTEXT_FIX(1,0.00,0.18,0,'粉芯-主力在做高抛低吸低吸高抛'),COLORFF00FF;
DRAWTEXT_FIX(1,0.00,0.24,0,'红芯-主力吸筹进货积极主动'),COLORRED;
DRAWTEXT_FIX(1,0.00,0.3,0,'黄芯-主力吸筹进货强并且成交量出现黄金柱'),COLORYELLOW;
DRAWTEXT_FIX(C>0,0.004,1,0,DYBLOCK),COLORRED;
DRAWTEXT_FIX(C>0,0.06,1,0,HYBLOCK),COLORWHITE;

通达信云端强势线主图指标公式

相关文章