引用指标
YHD1-1
REFLINE: 0, 20, 40, 60, 80, 99;
Var1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
Var2:=SMA(Var1,3,1);
A: SMA(Var2,3,1);
B: SMA(A,3,1);
百万金银
Var1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
Var2:=REVERSE(Var1);
Var3:=SMA(Var1,4,1);
K: SMA(Var3,3,1);
D: SMA(K,3,1);
Var4:=SMA(Var2,3,1);
W: SMA(Var4,3,1);
R: SMA(W,4,1);
Var5:="YHD1-1.A#WEEK";
Var6:="YHD1-1.B#WEEK";
Var7:="YHD1-1.A#DAY";
Var8:="YHD1-1.B#DAY";
短线买: CROSS(Var7,Var8) AND Var7<25 AND Var6<30;
短线卖: CROSS(Var8,Var7) AND Var7>70 AND Var6>60;
周叉买: CROSS(Var5,Var6) AND Var5<35;
周叉卖: CROSS(Var6,Var5) AND Var6>70;
STICKLINE(短线买,0,35,7,0);
STICKLINE(短线卖,0,70,7,0);
STICKLINE(周叉买,0,35,5,0);
STICKLINE(周叉卖,0,95,8,0);