C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- DRAWTEXTEX(CLOSE,1,4,0,'主净>散净显浅红带,主净<散净显浅兰带,再结合主净与散净之差虚线看'),Color80FFFF;
- JE:=vol;SJ:=if(CURRENTTIME>93000 and CURRENTTIME<150000,
- if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,
- if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
- jj:=(HIGH+LOW+CLOSE)/3;qj0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
- 主买:=(qj0*(jj-MIN(CLOSE,OPEN)));
- 主卖:=(qj0*(MIN(OPEN,CLOSE)-LOW));
- 主净:(主买-主卖)/5,Color0000FF,LINETHICK3;
- 散买:=(qj0*(HIGH-MAX(OPEN,CLOSE)));
- 散卖:=(qj0*(MAX(CLOSE,OPEN)-jj));
- 散净:(散买-散卖)/5,ColorFF2828,LINETHICK3;
- 主净与散净之差:主净-散净,LINEDASH,ColorFFFFFF;
- FILLRGN(主净>散净,主净,散净),Color8080FF;
- FILLRGN(主净<散净,主净,散净),ColorFF8080;