飞狐老杨二号副图指标
源码
Var1:=EMA(C,5);
Var2:=SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,9,1);
Var3:=SMA(Var2,3,1);
Var4:=3*Var2-2*Var3;
Var5:=(C-LLV(L,23))/(HHV(H,23)-LLV(L,23))*100;
动态能量:EMA(WINNER((O+C*2+H+L)/5)*50,10),COLOR9FBC7D;
STICKLINE(动态能量>0 ,动态能量,0,10,0),COLOR9FBC7D;
短趋势:EMA(SMA(MAX(C-REF(C,1),0),3,1)/SMA(ABS(C-REF(C,1)),3,1)*100,5),COLORF00FF0,linethick2;
中趋势:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1)-2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
升势:SMA(SMA(Var5,3,1),3,1),COLORRED;
降势:EMA(升势,5),COLOR00FF00;
Var6:=短趋势>REF(短趋势,1)AND 升势<45;
Var7:=(CROSS(Var5,中趋势)OR CROSS(升势,降势))AND 中趋势>=REF(中趋势,1) AND 中趋势<40;
Var8:=升势>REF(升势,1)AND 升势<40;
Var9:=CROSS(短趋势,升势)AND 短趋势<45 AND 升势>REF(升势,1)*0.99;
Var10:=CROSS(升势,降势)AND 动态能量<7 AND 短趋势<45;
动态底部:EMA(IF(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(l,1),0),30,1),0),3)*10,STICK,COLORFFB94F,LINETHICK3;
选股要选活跃股:DRAWICON(FILTER((Var6 OR Var7 OR Var8)AND 短趋势<45 AND Var4>REF(Var4,1)AND Var1>REF(Var1,1)*0.998 OR Var9 OR Var10,5),15,1);
趋势不明要慎行:STICKLINE(FILTER(升势<REF(升势,2)AND 升势>70 OR 短趋势<REF(短趋势,1)and 短趋势>60 AND 动态能量>7,7),95,85,10,1),COLOR00FF00;
STICKLINE(升势>0,升势,降势,8,0),COLORred;
STICKLINE(升势<REF(升势,1),升势,降势,8,0),COLOR00ff00;