资金流量也就是红柱高度>1.5倍的选股公式
资金流量也就是红柱高度>1.5倍的选股公式
编写条件:
编写方法:
网友求助:
.谢谢!(飞狐软件用)
老杨二号公式源码:
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;
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);
短趋势:=EMA(SMA(MAX(C-REF(C,1),0),3,1)/SMA(ABS(C-REF(C,1)),3,1)*100,5);
中趋势:=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);
降势:=EMA(升势,5);
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;
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);
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}黑马股票
飞狐if函数
飞狐if函数