您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:通达信筹码均价线主图指标 源码

通达信筹码均价线主图指标 源码


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:5.00 KB
更新时间:2019-06-13 09:26:00
公式简介:

通达信筹码均价线主图指标 源码


筹码价位低:=COST(0.001);
筹码价位1:=COST(0.001)+(COST(99.999)-COST(0.001))/20;
筹码价位2:=COST(0.001)+(COST(99.999)-COST(0.001))/20*2;
筹码价位3:=COST(0.001)+(COST(99.999)-COST(0.001))/20*3;
筹码价位4:=COST(0.001)+(COST(99.999)-COST(0.001))/20*4;
筹码价位5:=COST(0.001)+(COST(99.999)-COST(0.001))/20*5;
筹码价位6:=COST(0.001)+(COST(99.999)-COST(0.001))/20*6;
筹码价位7:=COST(0.001)+(COST(99.999)-COST(0.001))/20*7;
筹码价位8:=COST(0.001)+(COST(99.999)-COST(0.001))/20*8;
筹码价位9:=COST(0.001)+(COST(99.999)-COST(0.001))/20*9;
筹码价位10:=COST(0.001)+(COST(99.999)-COST(0.001))/20*10;
筹码价位11:=COST(0.001)+(COST(99.999)-COST(0.001))/20*11;
筹码价位12:=COST(0.001)+(COST(99.999)-COST(0.001))/20*12;
筹码价位13:=COST(0.001)+(COST(99.999)-COST(0.001))/20*13;
筹码价位14:=COST(0.001)+(COST(99.999)-COST(0.001))/20*14;
筹码价位15:=COST(0.001)+(COST(99.999)-COST(0.001))/20*15;
筹码价位16:=COST(0.001)+(COST(99.999)-COST(0.001))/20*16;
筹码价位17:=COST(0.001)+(COST(99.999)-COST(0.001))/20*17;
筹码价位18:=COST(0.001)+(COST(99.999)-COST(0.001))/20*18;
筹码价位19:=COST(0.001)+(COST(99.999)-COST(0.001))/20*19;
筹码价位高:=COST(99.999);
筹码价位A1:=COST(0.001)+(COST(99.999)-COST(0.001))/10;
筹码价位A2:=COST(0.001)+(COST(99.999)-COST(0.001))/10*2;
筹码价位A3:=COST(0.001)+(COST(99.999)-COST(0.001))/10*3;
筹码价位A4:=COST(0.001)+(COST(99.999)-COST(0.001))/10*4;
筹码价位A5:=COST(0.001)+(COST(99.999)-COST(0.001))/10*5;
筹码价位A6:=COST(0.001)+(COST(99.999)-COST(0.001))/10*6;
筹码价位A7:=COST(0.001)+(COST(99.999)-COST(0.001))/10*7;
筹码价位A8:=COST(0.001)+(COST(99.999)-COST(0.001))/10*8;
筹码价位A9:=COST(0.001)+(COST(99.999)-COST(0.001))/10*9;
区间最大筹码:=MAX(MAX(MAX(MAX(WINNER(筹码价位A1)-WINNER(筹码价位低),WINNER(筹码价位A2)-WINNER(筹码价位A1)),MAX(WINNER(筹码价位A3)-WINNER(筹码价位A2),WINNER(筹码价位A4)-WINNER(筹码价位A3))),MAX(MAX(WINNER(筹码价位A5)-WINNER(筹码价位A4),WINNER(筹码价位A6)-WINNER(筹码价位A5)),MAX(WINNER(筹码价位A7)-WINNER(筹码价位A6),WINNER(筹码价位A8)-WINNER(筹码价位A7)))),MAX(WINNER(筹码价位A9)-WINNER(筹码价位A8),WINNER(筹码价位高)-WINNER(筹码价位A9)));
筹码密集均价:=IF(区间最大筹码=WINNER(筹码价位A1)-WINNER(筹码价位低),(筹码价位A1+筹码价位低)/2,IF(区间最大筹码=WINNER(筹码价位A2)-WINNER(筹码价位A1),(筹码价位A2+筹码价位A1)/2,IF(区间最大筹码=WINNER(筹码价位A3)-WINNER(筹码价位A2),(筹码价位A3+筹码价位A2)/2,IF(区间最大筹码=WINNER(筹码价位A4)-WINNER(筹码价位A3),(筹码价位A4+筹码价位A3)/2,IF(区间最大筹码=WINNER(筹码价位A5)-WINNER(筹码价位A4),(筹码价位A5+筹码价位A4)/2,IF(区间最大筹码=WINNER(筹码价位A6)-WINNER(筹码价位A5),(筹码价位A6+筹码价位A5)/2,IF(区间最大筹码=WINNER(筹码价位A7)-WINNER(筹码价位A6),(筹码价位A7+筹码价位A6)/2,IF(区间最大筹码=WINNER(筹码价位A8)-WINNER(筹码价位A7),(筹码价位A8+筹码价位A7)/2,IF(区间最大筹码=WINNER(筹码价位A9)-WINNER(筹码价位A8),(筹码价位A9+筹码价位A8)/2,(筹码价位高+筹码价位A9)/2)))))))));
主筹码线:MA(筹码密集均价,1),COLORCYAN,LINETHICK2;
区间最大筹码1:=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(筹码价位10)-WINNER(筹码价位9)));
筹码密集均价1:=IF(区间最大筹码1=WINNER(筹码价位1)-WINNER(筹码价位低),(筹码价位1+筹码价位低)/2,IF(区间最大筹码1=WINNER(筹码价位2)-WINNER(筹码价位1),(筹码价位2+筹码价位1)/2,IF(区间最大筹码1=WINNER(筹码价位3)-WINNER(筹码价位2),(筹码价位3+筹码价位2)/2,IF(区间最大筹码1=WINNER(筹码价位4)-WINNER(筹码价位3),(筹码价位4+筹码价位3)/2,IF(区间最大筹码1=WINNER(筹码价位5)-WINNER(筹码价位4),(筹码价位5+筹码价位4)/2,IF(区间最大筹码1=WINNER(筹码价位6)-WINNER(筹码价位5),(筹码价位6+筹码价位5)/2,IF(区间最大筹码1=WINNER(筹码价位7)-WINNER(筹码价位6),(筹码价位7+筹码价位6)/2,IF(区间最大筹码1=WINNER(筹码价位8)-WINNER(筹码价位7),(筹码价位8+筹码价位7)/2,IF(区间最大筹码1=WINNER(筹码价位9)-WINNER(筹码价位8),(筹码价位9+筹码价位8)/2,(筹码价位高+筹码价位9)/2)))))))));
下筹码线:MA(筹码密集均价1,1),COLORRED,LINETHICK2;
区间最大筹码2:=MAX(MAX(MAX(MAX(WINNER(筹码价位11)-WINNER(筹码价位10),WINNER(筹码价位12)-WINNER(筹码价位11)),MAX(WINNER(筹码价位13)-WINNER(筹码价位12),WINNER(筹码价位14)-WINNER(筹码价位13))),MAX(MAX(WINNER(筹码价位15)-WINNER(筹码价位14),WINNER(筹码价位16)-WINNER(筹码价位15)),MAX(WINNER(筹码价位17)-WINNER(筹码价位16),WINNER(筹码价位18)-WINNER(筹码价位17)))),MAX(WINNER(筹码价位19)-WINNER(筹码价位18),WINNER(筹码价位高)-WINNER(筹码价位19)));
筹码密集均价2:=IF(区间最大筹码2=WINNER(筹码价位11)-WINNER(筹码价位10),(筹码价位11+筹码价位10)/2,IF(区间最大筹码2=WINNER(筹码价位12)-WINNER(筹码价位11),(筹码价位12+筹码价位11)/2,IF(区间最大筹码2=WINNER(筹码价位13)-WINNER(筹码价位12),(筹码价位13+筹码价位12)/2,IF(区间最大筹码2=WINNER(筹码价位14)-WINNER(筹码价位13),(筹码价位14+筹码价位13)/2,IF(区间最大筹码2=WINNER(筹码价位15)-WINNER(筹码价位14),(筹码价位15+筹码价位14)/2,IF(区间最大筹码2=WINNER(筹码价位16)-WINNER(筹码价位15),(筹码价位16+筹码价位15)/2,IF(区间最大筹码2=WINNER(筹码价位17)-WINNER(筹码价位16),(筹码价位17+筹码价位16)/2,IF(区间最大筹码2=WINNER(筹码价位18)-WINNER(筹码价位17),(筹码价位18+筹码价位17)/2,IF(区间最大筹码2=WINNER(筹码价位19)-WINNER(筹码价位18),(筹码价位19+筹码价位18)/2,(筹码价位高+筹码价位19)/2)))))))));
上筹码线:MA(筹码密集均价2,1),COLORWHITE,LINETHICK2;
主筹码密集度:WINNER(筹码密集均价*1.1)-WINNER(筹码密集均价*0.9),COLORCYAN,NODRAW;
低位筹码密集度1:WINNER(筹码密集均价1*1.1)-WINNER(筹码密集均价1*0.9),COLORRED,NODRAW;
高位筹码密集度2:WINNER(筹码密集均价2*1.1)-WINNER(筹码密集均价2*0.9),COLORWHITE,NODRAW;


[url=http://www.goodgupiao.com/gupiaogongshi/54576.html][B]通达信筹码均价线主图指标 源码[/B][/url]