飞狐抢反弹指标公式

[复制链接]
查看103 | 回复0 | 2021-8-21 12:43:27 | 显示全部楼层 |阅读模式

Var1:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
慢线: SMA(Var1,10,1);
Var2:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100;
快线1: SMA(Var2,3,1);
快线2: SMA(快线1,3,1);
买进: IF(慢线<5 AND VOL>1.5*MA(VOL,5) AND CROSS(快线2,慢线),50,0);
卖出: IF(慢线>80 AND CROSS(慢线,快线2),60,0);
Var3:=(HIGH+LOW+OPEN+2*CLOSE)/5;
Var4:=REF(Var3,1);
{www.gupang.com 股旁网_飞狐股票指标公式}
Var5:=SMA(MAX(Var3-Var4,0),10,1)/SMA(ABS(Var3-Var4),10,1)*100;
段底: IF(COUNT(Var5<20,5)>=1 AND COUNT(Var3=LLV(Var3,5),10)>=1 AND((c-ref(c,1))/(ref(c,1))>0.05) AND CLOSE>REF(OPEN,1) AND VOL>1.5*MA(VOL,5),60,0);
Var6:=(2*CLOSE+HIGH+LOW)/4;
Var7:=LLV(LOW,34);
Var8:=HHV(HIGH,34);
Var9:=EMA((Var6-Var7)/(Var8-Var7)*100,13);
VarA:=EMA(0.667*REF(Var9,1)+0.333*Var9,2);
持仓: if(Var9>VarA,2,-1);
空仓: if(Var9<VarA,2,-1);
VarB:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
买: IF(REF(VarB,1)<20 AND (CLOSE/REF(CLOSE,1)-1)*100>9 AND CLOSE=HIGH,85,0);
VarC:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VarD:=REF(VarC,1);
VarE:=SMA(MAX(VarC-VarD,0),10,1)/SMA(ABS(VarC-VarD),10,1)*100;
底部:=IF(COUNT(VarE<=12,2),30,0);
买1: IF(CROSS(VarE,底部) AND VOL>1.5*MA(VOL,5),60,0);

202108211208.jpg

202108211208.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则