【通达信分享源码】精品指标公式-趋势转折指标源码
2022-11-28未知 编 辑:掌上指标
公式源码:
TJ1:=MA(C,18)<MA(C,50);
TJ2:=V>(REF(V,1)*1.03);
TJ3:=C>(REF(C,1)*1.01);
条件汇总:=TJ1 AND TJ2 AND TJ3;
MA18:=MA(C,18);
MV18:=MA(V,18);
转折:NDAY(MA18,REF(MA18,1),3) AND NDAY(MV18,REF(MV18,1),3) AND EXIST(条件汇总,10),COLOR00FFFF;
齐扬:IF(((MV18>REF(MV18,1) AND REF(MV18,1)>REF(MV18,2)) AND
(MA18>REF(MA18,1) AND REF(MA18,1)>REF(MA18,2))),0.5,0),COLORBABABA,DOTLINE;