10天内连续出现2个涨停板的选股
10天内连续出现2个涨停板的选股
编写条件:
求老师将太级量指标修改成通达信软件指标 源码如下: 总手:VOL; zz:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C
v5*1.2 AND V>v12*1.2 AND zz>2 AND C>H*0.975,0,VOL,8,0),RGB(255,0,0); STICKLINE(CROSS(C6,C) AND V>v5*1.2 AND V>v12*1.2,0,VOL,8,0),RGB(0,255,0); STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C
MA(VOL,5)*2 AND V>V34*3 AND C
v5*1.2 AND V>v12*1.2 AND zz>2 AND C>H*0.975,VOL*0.5,0,8,0),RGB(255,0,0); STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C
v5*1.2 AND V>v12*1.2,VOL*0.5,0,8,0),RGB(0,255,0); DRAWTEXT (VOL>MA(VOL,5)*2 AND V>V34*3 AND C
v5*1.2 AND V>v12*1.2 AND zz>2 AND C>H*0.975,0,'吸'),colorwhite; DRAWTEXT (CROSS(C6,C) AND V>v5*1.2 AND V>v12*1.2,0,'出'),colorwhite; IF(1>0) {说明:"红色量柱为吸货量,绿色为出货量,黄色为天量,蓝色为地量。"; RETURN;} 谢谢了! 还有请将大单净量指标修改成通达信软件能使用的指标,谢谢了 IF(PERIODNAME<>"日线") { 统计:"该指标只在日线周期下有效。"; RETURN; } r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100; 大单净量:r; STICKLINE(r>0,0,r,8),color0000ff; STICKLINE(r<0,0,r,8),color00ff00; r0:=((IF(ISNULL(ZDMR[-1]),0,ZDMR)+IF(ISNULL(BDMR[-1]),0,BDMR)) -(IF(ISNULL(ZDMC[-1]),0,ZDMC)+IF(ISNULL(BDMC[-1]),0,BDMC))) /SHGZG*100; MA5:MA(r0,5); MA10:MA(r0,10); MA20:MA(r0,20); RETURN r0;
编写方法:
总手:VOL,NODRAW;
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
V5:=MA(V,5);
V12:=MA(V,12);
V34:=MA(V,34);
C6:=MA(C,6);
STICKLINE(C,0,VOL,2.5,0),COLOR999999;
STICKLINE(CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,0,VOL,2.5,0),COLOR0000FF;
STICKLINE(CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,0,VOL,2.5,0),COLOR00FF00;
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*2.5 AND C<REF(C,1)*1.05,0,VOL,2.5,0),COLOR009FFF;
STICKLINE(VOL<MA(VOL,5)/2 AND V<V12/2,0,VOL,2.5,0),COLORFFFF00;
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*2.5 AND C<REF(C,1)*1.05 AND CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,VOL*0.5,0,2.5,0),COLOR00FFFF;
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05 AND CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,VOL*0.5,0,2.5,0),COLOR00FF00;
DRAWTEXT (VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,V,'天'),COLORFFFFFF;
DRAWTEXT (VOL<MA(VOL,5)/2 AND V<V12/2,(V5+V)*2/3,'地'),colorwhite;
DRAWTEXT (CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,V,'吸'),colorwhite;
DRAWTEXT (CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,0,'出'),colorwhite;
第2个公式通达信用不了
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!
是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。
连续10天最低价在60日均线上方
连续10天最低价在60日均线上方