思路:
1.DDX1與DDX2形成金叉; 2.DDX1與DDX3形成金叉,; 3.1和2同時(shí)滿足,。 4.21日換手小于100%。 源碼: DDX:=(BIGORDER(1,2)-BIGORDER(2,2))*VOL/CAPITAL*100; DDX1:=EMA(DDX,60)*60; DDX2:=MA(DDX1,5); DDX3:=MA(DDX1,10); A1:=CROSS(DDX1,DDX2); A2:=CROSS(DDX1,DDX3); a3:=sum(vol,21)/capital; A1 AND A2 and a3<=1; |
|