同花顺寻找金叉副图指标

源码

会员专用:0,Color9587FF;
Var1:=EMA(MA(IF(CLOSE>OPEN,(CLOSE-OPEN)*VOL,IF(CLOSE<OPEN,(CLOSE-OPEN)*VOL,0)),5),1);
Var2:=EMA(MA(IF(CLOSE>REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IF(CLOSE<REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,0)),5),1);
Var3:=EMA(MA(IF(OPEN>REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,IF(OPEN<REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,0)),5),1);
Var4:=EMA(MA(IF(CLOSE<OPEN,(OPEN-CLOSE)*VOL,IF(CLOSE>OPEN,(OPEN-CLOSE)*VOL,0)),10),1);
Var5:=EMA(MA(IF(CLOSE<REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,IF(CLOSE>REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,0)),10),1);
Var6:=EMA(MA(IF(OPEN<REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,IF(OPEN>REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,0)),10),1);
Var7:=CLOSE>OPEN;
Var8:=CLOSE>REF(CLOSE,1);
Var9:=OPEN>REF(CLOSE,1);
多头:(Var1+Var2+Var3)/3/100,colorwhite;
空头:(Var4+Var5+Var6)/3/100,coloryellow ;
一次金叉:EMA(EMA((Var1+Var2+Var3)/3-(Var4+Var5+Var6)/3,5),5)*1/100,colorgray,linethick2;
二次金叉:EMA((COUNT(Var8,12)/12+COUNT(Var7,12)/12+COUNT(Var9,12)/12)/5*MA(多头,5.3)*2*6.8,5),colorblue,linethick6;
三次金叉:EMA((COUNT(Var8,22)/22+COUNT(Var7,22)/22+COUNT(Var9,22)/22)/18*MA(多头,8)*5*1.8,5),colorred,linethick4;
四次金叉:EMA((COUNT(Var8,22)/22+COUNT(Var7,22)/22+COUNT(Var9,22)/22)/18*MA(多头,8)*5*1.8,5),Color10c110,linethick2;
五次金叉:EMA((COUNT(Var8,12)/12+COUNT(Var7,12)/12+COUNT(Var9,12)/12)/5*MA(多头,5)*2*6.8,5),Color10dd10,linethick2;
STICKLINE(空头>0,0,空头,1,0),COLOR3366FF;
STICKLINE(空头<0,0,空头,1,0),colorred;
DRAWTEXT(CROSS(一次金叉,会员专用),会员专用+0,'★'),colorred,linethick2;
DRAWTEXT(CROSS(二次金叉,会员专用),会员专用+0,'★'),colorff99ff,linethick2;
DRAWTEXT(CROSS(三次金叉,会员专用),会员专用+0,'★<'),coloryellow,linethick2;




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

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

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

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