飞狐多空搏杀副图指标
源码
N:=14;M:=7;N1:=3;VT:=248;
Var1:=HHV(VOL, VT);
筹码穿越能量:VOL/Var1*100/2, VOLSTICK;
Var2:=SUM(MAX(MAX(HIGH-LOW, ABS(HIGH-REF(CLOSE, 1))), ABS(LOW-REF(CLOSE, 1))), N);
Var3:=HIGH-REF(HIGH, 1);
Var4:=REF(LOW, 1)-LOW;
Var5:=SUM(IF(Var3>0 AND Var3>Var4, Var3, 0), N);
Var6:=SUM(IF(Var4>0 AND Var4>Var3, Var4, 0), N);
Var7:=Var5*100/Var2;
多:EMA(EMA(Var7, N1), N1),LINETHICK2, COLOR33AAFF;
长多:EMA(MA(Var7, M), M),LINETHICK2, COLORDDFFFF;
Var8:=Var6*100/Var2;
空:EMA(EMA(Var8, N1), N1),LINETHICK2, COLORGREEN;
长空:EMA(MA(Var8, M), M),LINETHICK2, COLORBLUE;