大智慧庄家进退副图指标
源码
N:=20;
Var1:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)
-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1);
Var2:=3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)
-2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1);
Var3:=100-Var2;
Var4:=100-Var1;
var6:=100*VOL*10;
进场资金:IF(Var4>=REF(Var3,1),var6,0),STICK,colorred,linethick3;
退场资金:IF(Var4<REF(Var3,1),var6,0),STICK,colorgreen,linethick3;
安全线:(MA((OPEN+CLOSE)/2,30)+MA(CLOSE,30))/2*1.25,linethick1;