|
神奇买卖 缺省周期:日线
参数描述: N(1,5000,20)
Var1:=CLOSE;
Var2:=REF(CLOSE,1);
Var3:=REF(CLOSE,2);
Var4:=Var1>Var2 AND Var1>Var3 AND Var1>MA(CLOSE,3) AND WINNER(CLOSE)<0.05;
Var5:=Var1<Var2 AND Var1<Var3 AND Var1<MA(CLOSE,3) AND WINNER(CLOSE)>0.95;
Var6:=MIN(HHV(CLOSE,N),LLV(CLOSE,N));
买入: Var4*(Var1-Var6*0.95), STICK;
卖出: 0-Var5*(Var1-Var6*0.95), STICK; |
|