以下是通达信金财易指标 选股 源码
通达信金财易指标 选股 源码
大家好!感谢大家的支持,今天抽出时间来给大家说一些简单的使用情况,看能不能帮助到大家!我们先来看看指标的定义是什么,金财益指标是趋势指标,波段指标,中线理论短线指标,是趋势指标,那么必定需要遵循大趋势,那么我们需要选择趋势向上的个股
源码
A:=CROSS(C,MA(C,5)) AND CROSS(C,MA(C,10));
A1:=C/REF(C,1)>1.03 AND REF(C<O,1);
A2:=MACD.MACD>REF(MACD.MACD,1) AND MACD.DIF>REF(MACD.DIF,1);
A3:=MA(C,5)>REF(MA(C,5),1) AND REF(MA(C,5),1)<REF(MA(C,5),2);
A4:=MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1);
A5:=MA(C,5)>O AND MA(C,10)>O AND MA(C,20)>O AND O>=REF(C,1);
A6:=MA(C,5)<C AND MA(C,10)<C AND MA(C,20)<C AND H/C<1.015;
A7:=REF(C>O OR C<O,3) AND REF(C>O OR C<O,72) AND REF(O/REF(C,1)<1.06,15);
A8:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
A9:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
A10:=KDJ.J>REF(KDJ.J,1) AND REF(KDJ.J,1)<REF(KDJ.J,2) AND REF(C>O OR C<O,17) AND REF(O/C<1.07,3);
A11:=BETWEEN(C,REF(C,BARSLAST((C>REF(C,1)*1.095)))*1.03,REF(C,BARSLAST((C>REF(C,1)*1.095)))*0.97) AND BARSLAST((C>REF(C,1)*1.095))<=30;
A12:=REF(O,3)>REF(O,2) AND REF(O,2)>REF(O,1) AND C>REF(C,1)*1.03 AND C>O;
A13:=BETWEEN(C,REF(O,BARSLAST((C>REF(C,1)*1.095)))*1.03,REF(O,BARSLAST((C>REF(C,1)*1.095)))*0.97) AND BARSLAST((C>REF(C,1)*1.095))<=30;
A14:=REF(V<=LLV(V,10),1) AND MA(C,5)>REF(MA(C,5),1) AND REF(MA(C,5),1)<REF(MA(C,5),2);
A15:=REF(C<O OR C>O,14) AND O/REF(C,1)<1.03 AND O>=REF(O,1) AND H/C<1.015;
A16:= REF(C>O OR C<O,26) AND REF(C>O OR C<O,22);
A17:=REF(EVERY(C<O,4),1) AND C>MA(C,5) AND C>MA(C,10) AND C<MA(C,20) AND C/REF(C,1)>1.03 ;
AA:=REF(EVERY(C<O,3),3) AND REF(C>O,2) AND REF(C<O,1) AND C/REF(C,1)>1.03 AND C=H AND REF(C=H AND C>O,22);
AA1:=((A11 AND A12) OR (A13 AND A12)) AND A14 AND A15 AND A16;
AA2:=A AND A1 AND A2 AND A3 AND A9 AND A10 AND A4 AND A5 AND A6 AND A7;
AA3:=(A17 AND REF(H=C AND C>O,23)) OR (A17 AND REF(H=C AND C>O AND C/REF(C,1)>1.06,22));
金财益:AA OR AA1 OR AA2 OR AA3;