飞狐恒威趋势副图指标
源码
Var1:=(CLOSE+HIGH+LOW+OPEN)/4;
Var2:=SUMBARS(VOL,CAPITAL);
Var3:=HHV(Var1,Var2);
Var4:=LLV(Var1,Var2);
Var5:=(2*Var1-Var4-REF(Var4,1))/(Var3-Var4);
Var6:=(Var1-Var4)/(Var3-Var4);
Var7:=IF(Var1<=Var4,Var5*60,Var6*60);
Var8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
Var9:=EMA(Var8,7);
VarA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
VarB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
VarC:=(2*CLOSE+HIGH+LOW)/4;
VarD:=LLV(LOW,34);
VarE:=HHV(HIGH,34);
VarF:=LLV(LOW,21);
Var10:=HHV(HIGH,21);
Var11:=EMA((VarC-VarF)/(Var10-VarD)*100,5);
Var12:=EMA((VarC-VarD)/(VarE-VarD)*100,8);
金浪: Var11;
股波: Var12;
Var13:=EMA(Var12,5);
STICKLINE(Var12>0 AND Var12-Var13>=0,79,80,6,0);
STICKLINE(Var12>0 AND Var12-Var13<0,79,80,6,1);
STICKLINE(Var12>0 AND Var12-Var13>=0,19,20,6,0);
STICKLINE(Var12>0 AND Var12-Var13<0,19,20,6,1);
STICKLINE(Var12-Var13>0,Var12,Var13,8,1);
STICKLINE(Var12-Var13<0,Var12,Var13,8,1);