VAR5:=CROSS(VAR3,VAR4);
VAR6:=BARSLAST(CROSS(MACD.DEA+0.2,MACD.DIF)) =0 AND CROSS(MACD.DIF,MACD.DEA) AND MACD.DEA
VAR7:=CROSS(MACD.DIF,MACD.DEA) AND MACD.DEA 0 AND MACD.DEA =(-0.1);
VAR8:=VOL/CAPITAL*100;
VAR9:=(20*VAR8+19*REF(VAR8,1)+18*REF(VAR8,2)+17*REF(VAR8,3)+16*REF(VAR8,4)+15*REF(VAR8,5)+14*REF(VAR8,6)+13*REF(VAR8,7)+12*REF(VAR8,8)+11*REF(VAR8,9)+10*REF(VAR8,10)+9*REF(VAR8,11)+8*REF(VAR8,12)+7*REF(VAR8,13)+6*REF(VAR8,14)+5*REF(VAR8,15)+4*REF(VAR8,16)+3*REF(VAR8,17)+2*REF(VAR8,18)+REF(VAR8,20))/210;
VAR10:=MA(VAR9,32)*(1-100/1000);
VAR11:=EMA(VAR8,34);
VAR12:=CROSS(VAR11,VAR10);
VAR13:=EMA(CLOSE,13)-EMA(CLOSE,21);
VAR14:=EMA(CLOSE,4);
VAR15:=EMA(SLOPE(CLOSE,20)*10+CLOSE,35);
XA:VAR5 AND VAR12 AND (VAR6 OR VAR7) AND CROSS(VAR13,0),COLORRED;
DRAWTEXT(XA,0.1,85),COLORRED;
选股公式的源码是:
VAR1:=VOL/5000;
VAR2:=EMA(VAR1,3);
VAR3:=EMA(VAR2,12)-EMA(VAR2,26);
VAR4:=EMA(VAR3,9);
VAR5:=CROSS(VAR3,VAR4);
VAR6:=BARSLAST(CROSS(MACD.DEA+0.2,MACD.DIF)) =0 AND CROSS(MACD.DIF,MACD.DEA) AND MACD.DEA
VAR7:=CROSS(MACD.DIF,MACD.DEA) AND MACD.DEA 0 AND MACD.DEA =(-0.1);
VAR8:=VOL/CAPITAL*100;
VAR9:=(20*VAR8+19*REF(VAR8,1)+18*REF(VAR8,2)+17*REF(VAR8,3)+16*REF(VAR8,4)+15*REF(VAR8,5)+14*REF(VAR8,6)+13*REF(VAR8,7)+12*REF(VAR8,8)+11*REF(VAR8,9)+10*REF(VAR8,10)+9*REF(VAR8,11)+8*REF(VAR8,12)+7*REF(VAR8,13)+6*REF(VAR8,14)+5*REF(VAR8,15)+4*REF(VAR8,16)+3*REF(VAR8,17)+2*REF(VAR8,18)+REF(VAR8,20))/210;
VAR10:=MA(VAR9,32)*(1-100/1000);
VAR11:=EMA(VAR8,34);
VAR12:=CROSS(VAR11,VAR10);
VAR13:=EMA(CLOSE,13)-EMA(CLOSE,21);
XA:VAR5 AND VAR12 AND (VAR6 OR VAR7) AND CROSS(VAR13,0),COLORRED;