要分成二个公式,同花顺和大智慧均通过。
选股买:
Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=LLV(LOW,5);
Var3:=HHV(HIGH,4);
红线上穿买:=EMA((Var1-Var2)/(Var3-Var2)*100,4);
红线下穿卖:=EMA(0.667*REF(红线上穿买,1)+0.333*红线上穿买,2);
Var4:=(HHV(HIGH,4)-Var1)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
Var5:=(Var1-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
Var6:=SMA(Var5,2,1);
XGB:红线上穿买>红线下穿卖;
==========
选股卖
Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=LLV(LOW,5);
Var3:=HHV(HIGH,4);
红线上穿买:=EMA((Var1-Var2)/(Var3-Var2)*100,4);
红线下穿卖:=EMA(0.667*REF(红线上穿买,1)+0.333*红线上穿买,2);
Var4:=(HHV(HIGH,4)-Var1)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
Var5:=(Var1-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
Var6:=SMA(Var5,2,1);
XGS:REF(红线上穿买,1)
牛人