极品趋势(风险区、天线、强弱线)
极品趋势(风险区、天线、强弱线)
msd:EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),colorwhite;
{风险区:80,colorFF85FF;
安全区:20,coloryellow;
天线:100,COLORFFFF00,linethick2;
地线:0,linethick2,color6699ff;
强弱线:50,colorgreen,POINTDOT;}
Var1:=HHV(HIGH,9)-LLV(LOW,9);
Var2:=HHV(HIGH,9)-CLOSE;
Var3:=CLOSE-LLV(LOW,9);
Var4:=Var2/Var1*100-70;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));
Var6:=(2*CLOSE+HIGH+LOW)/4;
Var7:=SMA(Var3/Var1*100,3,1);
Var8:=LLV(LOW,34);
Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
Var10:=IF(Var9>100,Var9-100,0);
Var11:=HHV(HIGH,34);
Var12:=EMA((Var6-Var8)/(Var11-Var8)*100,13);
Var13:=EMA(0.667*REF(Var12,1)+0.333*Var12,2);
趋势值:Var13,colorred;
STICKLINE(Var12-Var13>0,Var12,Var13,8,0),colorred;
STICKLINE(Var12-Var13<0,Var12,Var13,8,0),COLOR00FF0F;
Vark1:=EMA(HHV(HIGH,500),21);
Vark2:=EMA(HHV(HIGH,250),21);
Vark3:=EMA(HHV(HIGH,90),21);
Vark4:=EMA(LLV(LOW,500),21);
Vark5:=EMA(LLV(LOW,250),21);
Vark:=EMA(LLV(LOW,90),21);
Vark7:=EMA((Vark4*0.96+Vark5*0.96+Vark*0.96+Vark1*0.558+Vark2*0.558+Vark3*0.558)/6,21);
Vark8:=EMA((Vark4*1.25+Vark5*1.23+Vark*1.2+Vark1*0.55+Vark2*0.55+Vark3*0.65)/6,21);
Vark9:=EMA((Vark4*1.3+Vark5*1.3+Vark*1.3+Vark1*0.68+Vark2*0.68+Vark3*0.68)/6,21);
Varka:=EMA((Vark7*3+Vark8*2+Vark9)/6*1.738,21);
Varkb:=REF(LOW,1);
Varkc:=SMA(ABS(LOW-Varkb),3,1)/SMA(MAX(LOW-Varkb,0),3,1)*100;
Varkd:=EMA(IF(CLOSE*1.35<=Varka,Varkc*10,Varkc/10),3);
Varke:=LLV(LOW,30);
Varkf:=HHV(Varkd,30);
Vark10:=IF(MA(CLOSE,58),1,0);
火焰山: EMA(IF(LOW<=Varke,(Varkd+Varkf*2)/2,0),3)/618*Vark10,colorred;
火焰: STICKLINE(火焰山>0,0,火焰山,4,1);
今量: 火焰山;
STICKLINE(火焰山>0,0,今量*1.2,8,0),COLOR0000ff;
STICKLINE(火焰山>0,0,今量*0.8,8,0),COLOR0066ff;
STICKLINE(火焰山>0,0,今量*0.6,8,0),COLOR0099ff;
STICKLINE(火焰山>0,0,今量*0.2,8,0),COLOR00ffff;
- 上一篇公式:庄散智斗(主力线、股价线)
- 下一篇公式:各线趋势(操盘手)