大智慧波段参考+选股指标公式

N:=10;F:=21;
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))*100;
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);
VarA:=IF(Var9>100,Var9-100,0);
VarB:=HHV(HIGH,34);
VarC:=EMA((Var6-Var8)/(VarB-Var8)*100,13);
VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
VarE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(Abs(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VarF:=MA(VarE,3);
Var10:=REF(VarF,1);
Var11:=EMA(VarD,N);
生命线:EMA(VarD,N), COLORyellow;
{ _大智慧股票指标公式}
STICKLINE(crOSS(VarC,VarD) AND VarC>VarD AND VarC<18,25,0,1,0), COLORRED;
drawicon(CROSS(Varc,Var11)AND Vard<40,VarC-4,7);
DRAWTEXTABS(75 ,20 ,ifs(Vard>Var11 AND VarC>VarD,'建议持有',' ')),COLORred,LINETHICK5;
DRAWTEXTABS(75 ,20 ,ifs(Vard>Var11 AND VarC>VarD,' ','建议观望 ')),COLORblue,LINETHICK5;
DRAWTEXTABS(75 ,45 ,ifs(CROSS(Varc,Var11)AND Vard<40,'买入',' ')),COLORred,LINETHICK5;
DRAWTEXTABS(75 ,45 ,ifs(CROSS(Var11,Varc) AND Varc>60,'卖出 ',' ')),COLOrblue,LINETHICK5;
drawicon(CROSS(Var11,Varc) AND Varc>60,Vard+11,8);
STICKLINE(FILTER(CROSS(VarD,VarC),10) AND VarD>79 AND VarC>79,100,75,3,0), COLORGREEN;
STICKLINE(VarC-VarD>0,VarC,VarD,8,1), COLORRED;
STICKLINE(VarC-VarD<0,VarC,VarD,8,0), COLORGREEN;
20, COLORred;
80, COLORgreen;

选股公式:
N:=10;F:=21;
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))*100;
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);
VarA:=IF(Var9>100,Var9-100,0);
VarB:=HHV(HIGH,34);
VarC:=EMA((Var6-Var8)/(VarB-Var8)*100,13);
VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
VarE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VarF:=MA(VarE,3);
Var10:=REF(VarF,1);
Var11:=EMA(VarD,N);
生命线:EMA(VarD,N), COLORyellow;
量价线1:Vard,COLORgreen;
量价线2:Varc,COLORblue;
STICKLINE(CROSS(VarC,VarD) AND VarC>VarD AND VarC<18,25,0,1,0), COLORRED;
drawicon(CROSS(Varc,Var11)AND Vard<40,VarC-4,7);
DRAWTEXTABS(75 ,20 ,ifs(Vard>Var11 AND VarC>VarD,'建议持有',' ')),COLORred,LINETHICK5;
DRAWTEXTABS(75 ,20 ,ifs(Vard>Var11 AND VarC>VarD,' ','建议观望 ')),COLORblue,LINETHICK5;
DRAWTEXTABS(75 ,45 ,ifs(CROSS(Varc,Var11)AND Vard<40,'买入',' ')),COLORred,LINETHICK5;
DRAWTEXTABS(75 ,45 ,ifs(CROSS(Var11,Varc) AND Varc>60,'卖出 ',' ')),COLOrblue,LINETHICK5;
drawicon(CROSS(Var11,Varc) AND Varc>60,Vard+11,8);
STICKLINE(FILTER(CROSS(VarD,VarC),10) AND VarD>79 AND VarC>79,100,75,3,0), COLORGREEN;
STICKLINE(VarC-VarD>0,VarC,VarD,8,1), COLORRED;
STICKLINE(VarC-VarD<0,VarC,VarD,8,0), COLORGREEN;
20, COLORred;
80, COLORgreen;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图