分时横盘突破指标附图(源码)
-
相关简介:C/C++ www.zegu.cn 择股网提供 Code 复制内容到剪贴板 tt:=BARSCOUNT(C); CC:=CLOSE; zz:=SUM(AMOUNT,tt)/SUM(VOL*100,tt); zz1:=BETWEEN(C/zz,1.05,0.95); 均线:IF(zz1=0,MA(C,TT),zz),COLOR00FFFF,LINETHICK2; 上均:均线+AVEDEV(C,tt)*2,COLOR00FF00; 下均:均线-AVEDEV(C,tt)*2
-
文章来源:择股网作者:股海网发布时间:2010-06-11浏览次数:
C/C++ www.zegu.cn 择股网提供 Code复制内容到剪贴板
- tt:=BARSCOUNT(C);
- CC:=CLOSE;
- zz:=SUM(AMOUNT,tt)/SUM(VOL*100,tt);
- zz1:=BETWEEN(C/zz,1.05,0.95);
- 均线:IF(zz1=0,MA(C,TT),zz),COLOR00FFFF,LINETHICK2;
- 上均:均线 + AVEDEV(C,tt)*2,COLOR00FF00;
- 下均:均线 - AVEDEV(C,tt)*2,COLORFF6600;
- 时长:=if(HOUR>=10 AND HOUR<15 ,1,0);
- 涨幅:=(close/DYNAINFO(3))>=1.015;
- 跌幅:=(close/DYNAINFO(3))<=0.985;
- 涨跌幅:=涨幅 OR 跌幅;
- yy:=SMA(vol,30,1);
- 放量:=(yy-LLV(Llv(yy,1),30))/(HHV(Hhv(yy,1),30)-LLV(Llv(yy,1),30))>0;
- 横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;
- 横涨:=涨跌幅=0 and 横盘 and 时长 and 放量 and CROSS(CC,上均)and DYNAINFO(22)<DYNAINFO(23) ;
- 横跌:=涨跌幅=0 and 横盘 and 时长 and 放量 and CROSS(下均,CC) ;
- PP:= FILTER(横涨,100) ;
- UU:= FILTER(横跌,50) ;
- DRAWTEXT(PP,上均,'★上突'),colorff00ff;
- DRAWTEXT(UU,下均,'★下破'),COLOR00FFFF;
- VERTLINE(PP),COLORWHITE,LINETHICK2;
上一篇:智富宝特色指标(从【智富宝】软件中提取)
下一篇:把握市场趋势(加密无时限)