大智慧精品指标公式:预测成交
C/C++ Code复制内容到剪贴板
- VOL,VOLSTICK;
- {背景设置}
- DRAWGBKLAST(C>0,STRIP(RGB(60,50,30),RGB(30,20,10),0));
- {T:count(c,0);}
- T:=CURRENTTIME;
- H1:=intpart(T / 10000);
- MM:=intpart(mod(T,10000)/100);
- A1:=if(between(t,93000,113000),60*(h1-9)+mm-30,120);
- A2:=if(between(t,130000,150000) and t>113000,60*(h1-13)+mm+120,240);
- A:=if(t<130000,a1,a2);
- 虚拟:IF(BARSTATUS=2,VOL*240/A,VOL),linethick0;
- V2:=IF(BARSTATUS=2,虚拟/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
- STICKLINE(V2>=1,0,0.99*VOL,4,0),COLORYELLOW;
