同花顺太极量指标改写通达信选股公式
2020/4/20 19:09:17
公式编写说明:
总手:VOL;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),colorwhite;v12:MA(V,12),coloryellow; V34:=MA(V,34);C6:=MA(C,6);STICKLINE(C,0,VOL,8,0),RGB(51,51,51);STICKLINE(CROSS(C,C6) AND V>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<REF(C,1)*1.05,0,VOL,8,0),RGB(255,187,0);STICKLINE(VOL<MA(VOL,5)/2 AND VMA(VOL,5)*2 AND V>V34*3 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,8,0),RGB(255,0,0);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,8,0),RGB(0,255,0);DRAWTEXT (VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,V,'天'),coloryellow;DRAWTEXT (VOL<MA(VOL,5)/2 AND Vv5*1.2 AND V>v12*1.2 AND zz>2 AND C>H*0.975,0,'吸'),colorred;DRAWTEXT (CROSS(C6,C) AND V>v5*1.2 AND V>v12*1.2,0,'出'),colorgreen;IF(1>0){说明:"红吸,绿出,黄天,蓝地";RETURN;}这是同花顺的太极量公式,请帮忙改成通达信的选股,条件是日线为周期,选出当天出现天量股票,万分感谢。
公式源码回答:
V34:=MA(V,34);
天量:VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05;
投股票 网 www.tou18.c n
股市公式下载推荐