通达信【成交量辅助】【价格辅助】二合一副图指标 源码无未来 附图
DRAWGBK(C>0, RGB(150,100,100),RGB(10,100,150),0,'',0);
{DRAWBAND(30, RGB(250,200,200),0,RGB(50,50,50));
DRAWBAND(0, RGB(180,250,180),-30,RGB(50,50,50));}
{零:0,DOTLINE,COLORBLACK;}
DRAWNUMBER(V>=HHV(V,10) AND V<HHV(V,20),10,1),COLORBLACK;
DRAWNUMBER(V>=HHV(V,20) AND V<HHV(V,30),10,2),COLORBLACK;
DRAWNUMBER(V>=HHV(V,30) AND V<HHV(V,40),10,3),COLORBLACK;
DRAWNUMBER(V>=HHV(V,40) AND V<HHV(V,50),10,4),COLORBLACK;
DRAWNUMBER(V>=HHV(V,50) AND V<HHV(V,60),10,5),COLORBLACK;
DRAWNUMBER(V>=HHV(V,60) AND V<HHV(V,70),10,6),COLORBLACK;
DRAWNUMBER(V>=HHV(V,70) AND V<HHV(V,80),10,7),COLORBLACK;
DRAWNUMBER(V>=HHV(V,80) AND V<HHV(V,90),10,8),COLORBLACK;
DRAWNUMBER(V>=HHV(V,90) AND V<HHV(V,100),10,9),COLORBLACK;
STICKLINE(V>=HHV(V,100) AND V<HHV(V,200),-30,20,4.2,0),COLOR009999;
DRAWNUMBER(V>=HHV(V,100) AND V<HHV(V,110),20,10),COLORBLACK;
DRAWNUMBER(V>=HHV(V,110) AND V<HHV(V,120),20,11),COLORBLACK;
DRAWNUMBER(V>=HHV(V,120) AND V<HHV(V,130),20,12),COLORBLACK;
DRAWNUMBER(V>=HHV(V,130) AND V<HHV(V,140),20,13),COLORBLACK;
DRAWNUMBER(V>=HHV(V,140) AND V<HHV(V,150),20,14),COLORBLACK;
DRAWNUMBER(V>=HHV(V,150) AND V<HHV(V,160),20,15),COLORBLACK;
DRAWNUMBER(V>=HHV(V,160) AND V<HHV(V,170),20,16),COLORBLACK;
DRAWNUMBER(V>=HHV(V,170) AND V<HHV(V,180),20,17),COLORBLACK;
DRAWNUMBER(V>=HHV(V,180) AND V<HHV(V,190),20,18),COLORBLACK;
DRAWNUMBER(V>=HHV(V,190) AND V<HHV(V,200),20,19),COLORBLACK;
STICKLINE(V>=HHV(V,200) {AND V<HHV(V,400)},-40,30,4.2,0),COLOR19D9D9;
DRAWNUMBER(V>=HHV(V,200) AND V<HHV(V,210),30,20),COLORBLACK;
DRAWNUMBER(V>=HHV(V,210) AND V<HHV(V,220),30,21),COLORBLACK;
DRAWNUMBER(V>=HHV(V,220) AND V<HHV(V,230),30,22),COLORBLACK;
DRAWNUMBER(V>=HHV(V,230) AND V<HHV(V,240),30,23),COLORBLACK;
DRAWNUMBER(V>=HHV(V,240) AND V<HHV(V,250),30,24),COLORBLACK;
DRAWNUMBER(V>=HHV(V,250) AND V<HHV(V,260),30,25),COLORBLACK;
DRAWNUMBER(V>=HHV(V,260) AND V<HHV(V,270),30,26),COLORBLACK;
DRAWNUMBER(V>=HHV(V,270) AND V<HHV(V,280),30,27),COLORBLACK;
DRAWNUMBER(V>=HHV(V,280) AND V<HHV(V,290),30,28),COLORBLACK;
DRAWNUMBER(V>=HHV(V,290) AND V<HHV(V,300),30,29),COLORBLACK;
DRAWNUMBER(V>=HHV(V,300) AND V<HHV(V,310),30,30),COLORBLACK;
DRAWNUMBER(V>=HHV(V,310) AND V<HHV(V,320),30,31),COLORBLACK;
DRAWNUMBER(V>=HHV(V,320) AND V<HHV(V,330),30,32),COLORBLACK;
DRAWNUMBER(V>=HHV(V,330) AND V<HHV(V,340),30,33),COLORBLACK;
DRAWNUMBER(V>=HHV(V,340) AND V<HHV(V,350),30,34),COLORBLACK;
DRAWNUMBER(V>=HHV(V,350) AND V<HHV(V,360),30,35),COLORBLACK;
DRAWNUMBER(V>=HHV(V,360) AND V<HHV(V,370),30,36),COLORBLACK;
DRAWNUMBER(V>=HHV(V,370) AND V<HHV(V,380),30,37),COLORBLACK;
DRAWNUMBER(V>=HHV(V,380) AND V<HHV(V,390),30,38),COLORBLACK;
DRAWNUMBER(V>=HHV(V,390) AND V<HHV(V,400),30,39),COLORBLACK;
DRAWNUMBER(V>=HHV(V,400) AND V<HHV(V,500),30,40),COLORWHITE;
DRAWNUMBER(V>=HHV(V,500) AND V<HHV(V,600),30,50),COLORWHITE;
DRAWNUMBER(V>=HHV(V,600) AND V<HHV(V,700),30,60),COLORWHITE;
DRAWNUMBER(V>=HHV(V,700) AND V<HHV(V,800),30,70),COLORWHITE;
DRAWNUMBER(V>=HHV(V,800) AND V<HHV(V,900),30,80),COLORWHITE;
DRAWNUMBER(V>=HHV(V,900) AND V<HHV(V,1000),30,90),COLORWHITE;
DRAWNUMBER(V>=HHV(V,1000) AND V<HHV(V,2000),30,100),COLORYELLOW;
DRAWNUMBER(V>=HHV(V,2000),30,200),COLORBLUE;
DRAWNUMBER(V<=LLV(V,10) AND V>LLV(V,20),-10,1),COLORBLACK;
DRAWNUMBER(V<=LLV(V,20) AND V>LLV(V,30),-10,2),COLORBLACK;
DRAWNUMBER(V<=LLV(V,30) AND V>LLV(V,40),-10,3),COLORBLACK;
DRAWNUMBER(V<=LLV(V,40) AND V>LLV(V,50),-10,4),COLORBLACK;
DRAWNUMBER(V<=LLV(V,50) AND V>LLV(V,60),-10,5),COLORBLACK;
DRAWNUMBER(V<=LLV(V,60) AND V>LLV(V,70),-10,6),COLORBLACK;
DRAWNUMBER(V<=LLV(V,70) AND V>LLV(V,80),-10,7),COLORBLACK;
DRAWNUMBER(V<=LLV(V,80) AND V>LLV(V,90),-10,8),COLORBLACK;
DRAWNUMBER(V<=LLV(V,90) AND V>LLV(V,100),-10,9),COLORBLACK;
STICKLINE(V<=LLV(V,100) AND V>LLV(V,200),20,-30,4,0),COLOR009900;
DRAWNUMBER(V<=LLV(V,100) AND V>LLV(V,110),-20,10),COLORBLACK;
DRAWNUMBER(V<=LLV(V,110) AND V>LLV(V,120),-20,11),COLORBLACK;
DRAWNUMBER(V<=LLV(V,120) AND V>LLV(V,130),-20,12),COLORBLACK;
DRAWNUMBER(V<=LLV(V,130) AND V>LLV(V,140),-20,13),COLORBLACK;
DRAWNUMBER(V<=LLV(V,140) AND V>LLV(V,150),-20,14),COLORBLACK;
DRAWNUMBER(V<=LLV(V,150) AND V>LLV(V,160),-20,15),COLORBLACK;
DRAWNUMBER(V<=LLV(V,160) AND V>LLV(V,170),-20,16),COLORBLACK;
DRAWNUMBER(V<=LLV(V,170) AND V>LLV(V,180),-20,17),COLORBLACK;
DRAWNUMBER(V<=LLV(V,180) AND V>LLV(V,190),-20,18),COLORBLACK;
DRAWNUMBER(V<=LLV(V,190) AND V>LLV(V,200),-20,19),COLORBLACK;
STICKLINE(V<=LLV(V,200){ AND V>LLV(V,200)},30,-40,4,0),COLOR006600;
DRAWNUMBER(V<=LLV(V,200) AND V>LLV(V,210),-30,20),COLORBLACK;
DRAWNUMBER(V<=LLV(V,210) AND V>LLV(V,220),-30,21),COLORBLACK;
DRAWNUMBER(V<=LLV(V,220) AND V>LLV(V,230),-30,22),COLORBLACK;
DRAWNUMBER(V<=LLV(V,230) AND V>LLV(V,240),-30,23),COLORBLACK;
DRAWNUMBER(V<=LLV(V,240) AND V>LLV(V,250),-30,24),COLORBLACK;
DRAWNUMBER(V<=LLV(V,250) AND V>LLV(V,260),-30,25),COLORBLACK;
DRAWNUMBER(V<=LLV(V,260) AND V>LLV(V,270),-30,26),COLORBLACK;
DRAWNUMBER(V<=LLV(V,270) AND V>LLV(V,280),-30,27),COLORBLACK;
DRAWNUMBER(V<=LLV(V,280) AND V>LLV(V,290),-30,28),COLORBLACK;
DRAWNUMBER(V<=LLV(V,290) AND V>LLV(V,300),-30,29),COLORBLACK;
DRAWNUMBER(V<=LLV(V,300) AND V>LLV(V,310),-30,30),COLORBLACK;
DRAWNUMBER(V<=LLV(V,310) AND V>LLV(V,320),-30,31),COLORBLACK;
DRAWNUMBER(V<=LLV(V,320) AND V>LLV(V,330),-30,32),COLORBLACK;
DRAWNUMBER(V<=LLV(V,330) AND V>LLV(V,340),-30,33),COLORBLACK;
DRAWNUMBER(V<=LLV(V,340) AND V>LLV(V,350),-30,34),COLORBLACK;
DRAWNUMBER(V<=LLV(V,350) AND V>LLV(V,360),-30,35),COLORBLACK;
DRAWNUMBER(V<=LLV(V,360) AND V>LLV(V,370),-30,36),COLORBLACK;
DRAWNUMBER(V<=LLV(V,370) AND V>LLV(V,380),-30,37),COLORBLACK;
DRAWNUMBER(V<=LLV(V,380) AND V>LLV(V,390),-30,38),COLORBLACK;
DRAWNUMBER(V<=LLV(V,390) AND V>LLV(V,400),-30,39),COLORBLACK;
DRAWNUMBER(V<=LLV(V,400) AND V>LLV(V,500),-30,40),COLORRED;
DRAWNUMBER(V<=LLV(V,500) AND V>LLV(V,600),-30,50),COLORRED;
DRAWNUMBER(V<=LLV(V,600) AND V>LLV(V,700),-30,60),COLORRED;
DRAWNUMBER(V<=LLV(V,700) AND V>LLV(V,800),-30,70),COLORRED;
DRAWNUMBER(V<=LLV(V,800) AND V>LLV(V,900),-30,80),COLORRED;
DRAWNUMBER(V<=LLV(V,900) AND V>LLV(V,1000),-30,90),COLORRED;
DRAWNUMBER(V<=LLV(V,1000) AND V>LLV(V,2000),-30,100),COLORRED;
DRAWNUMBER(V<=LLV(V,2000),-30,200),COLORBLUE;
DRAWNUMBER(1,0,INTPART(100*V/CAPITAL)),COLORWHITE;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
填充背景(C>0, RGB(150,100,100),RGB(10,100,150),0,'',0)
{DRAWBAND(30, RGB(250,200,200),0,RGB(50,50,50))
DRAWBAND(0, RGB(180,250,180),-30,RGB(50,50,50))
输出}
{零:0,DOTLINE,COLORBLACK
}
DRAWNUMBER(V>=10日内V最高值 AND V<20日内V最高值,10,1),COLORBLACK
DRAWNUMBER(V>=20日内V最高值 AND V<30日内V最高值,10,2),COLORBLACK
DRAWNUMBER(V>=30日内V最高值 AND V<40日内V最高值,10,3),COLORBLACK
DRAWNUMBER(V>=40日内V最高值 AND V<50日内V最高值,10,4),COLORBLACK
DRAWNUMBER(V>=50日内V最高值 AND V<60日内V最高值,10,5),COLORBLACK
DRAWNUMBER(V>=60日内V最高值 AND V<70日内V最高值,10,6),COLORBLACK
DRAWNUMBER(V>=70日内V最高值 AND V<80日内V最高值,10,7),COLORBLACK
DRAWNUMBER(V>=80日内V最高值 AND V<90日内V最高值,10,8),COLORBLACK
DRAWNUMBER(V>=90日内V最高值 AND V<100日内V最高值,10,9),COLORBLACK
STICKLINE(V>=100日内V最高值 AND V<200日内V最高值,-30,20,4.2,0),COLOR009999
DRAWNUMBER(V>=100日内V最高值 AND V<110日内V最高值,20,10),COLORBLACK
DRAWNUMBER(V>=110日内V最高值 AND V<120日内V最高值,20,11),COLORBLACK
DRAWNUMBER(V>=120日内V最高值 AND V<130日内V最高值,20,12),COLORBLACK
DRAWNUMBER(V>=130日内V最高值 AND V<140日内V最高值,20,13),COLORBLACK
DRAWNUMBER(V>=140日内V最高值 AND V<150日内V最高值,20,14),COLORBLACK
DRAWNUMBER(V>=150日内V最高值 AND V<160日内V最高值,20,15),COLORBLACK
DRAWNUMBER(V>=160日内V最高值 AND V<170日内V最高值,20,16),COLORBLACK
DRAWNUMBER(V>=170日内V最高值 AND V<180日内V最高值,20,17),COLORBLACK
DRAWNUMBER(V>=180日内V最高值 AND V<190日内V最高值,20,18),COLORBLACK
DRAWNUMBER(V>=190日内V最高值 AND V<200日内V最高值,20,19),COLORBLACK
STICKLINE(V>=200日内V最高值 {AND V<400日内V最高值},-40,30,4.2,0),COLOR19D9D9
DRAWNUMBER(V>=200日内V最高值 AND V<210日内V最高值,30,20),COLORBLACK
DRAWNUMBER(V>=210日内V最高值 AND V<220日内V最高值,30,21),COLORBLACK
DRAWNUMBER(V>=220日内V最高值 AND V<230日内V最高值,30,22),COLORBLACK
DRAWNUMBER(V>=230日内V最高值 AND V<240日内V最高值,30,23),COLORBLACK
DRAWNUMBER(V>=240日内V最高值 AND V<250日内V最高值,30,24),COLORBLACK
DRAWNUMBER(V>=250日内V最高值 AND V<260日内V最高值,30,25),COLORBLACK
DRAWNUMBER(V>=260日内V最高值 AND V<270日内V最高值,30,26),COLORBLACK
DRAWNUMBER(V>=270日内V最高值 AND V<280日内V最高值,30,27),COLORBLACK
DRAWNUMBER(V>=280日内V最高值 AND V<290日内V最高值,30,28),COLORBLACK
DRAWNUMBER(V>=290日内V最高值 AND V<300日内V最高值,30,29),COLORBLACK
DRAWNUMBER(V>=300日内V最高值 AND V<310日内V最高值,30,30),COLORBLACK
DRAWNUMBER(V>=310日内V最高值 AND V<320日内V最高值,30,31),COLORBLACK
DRAWNUMBER(V>=320日内V最高值 AND V<330日内V最高值,30,32),COLORBLACK
DRAWNUMBER(V>=330日内V最高值 AND V<340日内V最高值,30,33),COLORBLACK
DRAWNUMBER(V>=340日内V最高值 AND V<350日内V最高值,30,34),COLORBLACK
DRAWNUMBER(V>=350日内V最高值 AND V<360日内V最高值,30,35),COLORBLACK
DRAWNUMBER(V>=360日内V最高值 AND V<370日内V最高值,30,36),COLORBLACK
DRAWNUMBER(V>=370日内V最高值 AND V<380日内V最高值,30,37),COLORBLACK
DRAWNUMBER(V>=380日内V最高值 AND V<390日内V最高值,30,38),COLORBLACK
DRAWNUMBER(V>=390日内V最高值 AND V<400日内V最高值,30,39),COLORBLACK
DRAWNUMBER(V>=400日内V最高值 AND V<500日内V最高值,30,40),画白色
DRAWNUMBER(V>=500日内V最高值 AND V<600日内V最高值,30,50),画白色
DRAWNUMBER(V>=600日内V最高值 AND V<700日内V最高值,30,60),画白色
DRAWNUMBER(V>=700日内V最高值 AND V<800日内V最高值,30,70),画白色
DRAWNUMBER(V>=800日内V最高值 AND V<900日内V最高值,30,80),画白色
DRAWNUMBER(V>=900日内V最高值 AND V<1000日内V最高值,30,90),画白色
DRAWNUMBER(V>=1000日内V最高值 AND V<2000日内V最高值,30,100),画黄色
DRAWNUMBER(V>=2000日内V最高值,30,200), 画蓝色
DRAWNUMBER(V<=10日内V最低值 AND V>20日内V最低值,-10,1),COLORBLACK
DRAWNUMBER(V<=20日内V最低值 AND V>30日内V最低值,-10,2),COLORBLACK
DRAWNUMBER(V<=30日内V最低值 AND V>40日内V最低值,-10,3),COLORBLACK
DRAWNUMBER(V<=40日内V最低值 AND V>50日内V最低值,-10,4),COLORBLACK
DRAWNUMBER(V<=50日内V最低值 AND V>60日内V最低值,-10,5),COLORBLACK
DRAWNUMBER(V<=60日内V最低值 AND V>70日内V最低值,-10,6),COLORBLACK
DRAWNUMBER(V<=70日内V最低值 AND V>80日内V最低值,-10,7),COLORBLACK
DRAWNUMBER(V<=80日内V最低值 AND V>90日内V最低值,-10,8),COLORBLACK
DRAWNUMBER(V<=90日内V最低值 AND V>100日内V最低值,-10,9),COLORBLACK
STICKLINE(V<=100日内V最低值 AND V>200日内V最低值,20,-30,4,0),COLOR009900
DRAWNUMBER(V<=100日内V最低值 AND V>110日内V最低值,-20,10),COLORBLACK
DRAWNUMBER(V<=110日内V最低值 AND V>120日内V最低值,-20,11),COLORBLACK
DRAWNUMBER(V<=120日内V最低值 AND V>130日内V最低值,-20,12),COLORBLACK
DRAWNUMBER(V<=130日内V最低值 AND V>140日内V最低值,-20,13),COLORBLACK
DRAWNUMBER(V<=140日内V最低值 AND V>150日内V最低值,-20,14),COLORBLACK
DRAWNUMBER(V<=150日内V最低值 AND V>160日内V最低值,-20,15),COLORBLACK
DRAWNUMBER(V<=160日内V最低值 AND V>170日内V最低值,-20,16),COLORBLACK
DRAWNUMBER(V<=170日内V最低值 AND V>180日内V最低值,-20,17),COLORBLACK
DRAWNUMBER(V<=180日内V最低值 AND V>190日内V最低值,-20,18),COLORBLACK
DRAWNUMBER(V<=190日内V最低值 AND V>200日内V最低值,-20,19),COLORBLACK
STICKLINE(V<=200日内V最低值{ AND V>200日内V最低值},30,-40,4,0),COLOR006600
DRAWNUMBER(V<=200日内V最低值 AND V>210日内V最低值,-30,20),COLORBLACK
DRAWNUMBER(V<=210日内V最低值 AND V>220日内V最低值,-30,21),COLORBLACK
DRAWNUMBER(V<=220日内V最低值 AND V>230日内V最低值,-30,22),COLORBLACK
DRAWNUMBER(V<=230日内V最低值 AND V>240日内V最低值,-30,23),COLORBLACK
DRAWNUMBER(V<=240日内V最低值 AND V>250日内V最低值,-30,24),COLORBLACK
DRAWNUMBER(V<=250日内V最低值 AND V>260日内V最低值,-30,25),COLORBLACK
DRAWNUMBER(V<=260日内V最低值 AND V>270日内V最低值,-30,26),COLORBLACK
DRAWNUMBER(V<=270日内V最低值 AND V>280日内V最低值,-30,27),COLORBLACK
DRAWNUMBER(V<=280日内V最低值 AND V>290日内V最低值,-30,28),COLORBLACK
DRAWNUMBER(V<=290日内V最低值 AND V>300日内V最低值,-30,29),COLORBLACK
DRAWNUMBER(V<=300日内V最低值 AND V>310日内V最低值,-30,30),COLORBLACK
DRAWNUMBER(V<=310日内V最低值 AND V>320日内V最低值,-30,31),COLORBLACK
DRAWNUMBER(V<=320日内V最低值 AND V>330日内V最低值,-30,32),COLORBLACK
DRAWNUMBER(V<=330日内V最低值 AND V>340日内V最低值,-30,33),COLORBLACK
DRAWNUMBER(V<=340日内V最低值 AND V>350日内V最低值,-30,34),COLORBLACK
DRAWNUMBER(V<=350日内V最低值 AND V>360日内V最低值,-30,35),COLORBLACK
DRAWNUMBER(V<=360日内V最低值 AND V>370日内V最低值,-30,36),COLORBLACK
DRAWNUMBER(V<=370日内V最低值 AND V>380日内V最低值,-30,37),COLORBLACK
DRAWNUMBER(V<=380日内V最低值 AND V>390日内V最低值,-30,38),COLORBLACK
DRAWNUMBER(V<=390日内V最低值 AND V>400日内V最低值,-30,39),COLORBLACK
DRAWNUMBER(V<=400日内V最低值 AND V>500日内V最低值,-30,40),画红色
DRAWNUMBER(V<=500日内V最低值 AND V>600日内V最低值,-30,50),画红色
DRAWNUMBER(V<=600日内V最低值 AND V>700日内V最低值,-30,60),画红色
DRAWNUMBER(V<=700日内V最低值 AND V>800日内V最低值,-30,70),画红色
DRAWNUMBER(V<=800日内V最低值 AND V>900日内V最低值,-30,80),画红色
DRAWNUMBER(V<=900日内V最低值 AND V>1000日内V最低值,-30,90),画红色
DRAWNUMBER(V<=1000日内V最低值 AND V>2000日内V最低值,-30,100),画红色
DRAWNUMBER(V<=2000日内V最低值,-30,200), 画蓝色
DRAWNUMBER(1,0,INTPART(100*V/当前流通股本)),画白色