更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
求老师将太级量指标修改成通达信软件指标源码如下:总手:VOL;zz:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C
解答:
总手: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个公式通达信用不了
选股票看什么指标最好 >股票指标网
精彩评论