飞狐火焰山增强版副图指标
源码
LL:=250;MM:=120;SS:=60;N:=10;
Var1:=EMA(HHV(HIGH,LL),N);
Var2:=EMA(HHV(HIGH,MM),N);{}
Var3:=EMA(HHV(HIGH,SS),N); { }
Var4:=EMA(LLV(LOW,LL),N); {}
Var5:=EMA(LLV(LOW,MM),N); {}
Var6:=EMA(LLV(LOW,SS),N);
Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21);{线}
Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21);
Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21);
Var11:=1;
VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,N);
VarB:=REF(LOW,1);
VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;
VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC*var11/10),3);
VarE:=LLV(LOW,30)*var11;
VarF:=HHV(VarD,30);
VV:=V/CAPITAL*50;
火焰山:EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618,STICK,coloryellow,linethick2,;
火焰山*VV,STICK,linethick2,COLORRED;