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);
{ _飞狐股票指标公式}
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
买: 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);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!