原理解析:
源碼:
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;DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;