N11:=5;N21:=10;N31:=20;N41:=30;P1:=2;
MA1:=EMA(CLOSE,N11);
MA2:=EMA(CLOSE,N21);
MA3:=EMA(CLOSE,N31);
MA4:=EMA(CLOSE,N41);
{ 爱约股_最新股票指标公式}
TJ1A:=CROSS(MA1,MA2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(MA1,MA4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(MA2,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(MA1,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018;
TJ2A:=(MAX(MA1,MAX(MA2,MA3))-MIN(MA1,MIN(MA2,MA3)))/
MIN(MA1,MIN(MA2,MA3))*100<=P1;
TJ1A AND TJ2A;

 

通达信花荣箭指标公式

 

通达信花荣箭指标公式的选股公式如下: