飞狐均线粘合向上主图源码附图

a:=(3*h+l+o+2*c)/7;
MA5:=(MA(a,1)+MA(a,2)+MA(a,4)+MA(a,8))/4;
MA45:=(MA(a,12)+MA(a,24)+MA(a,48)+MA(a,96))/4;
偏离度:=(ma5-ma45)/ma45*100;
创新高:=h=hhv(h,3) and c>=ref(c,1)*1;
ema13:ema(c,13),colorwhite,linethick1;
ema34:ema(c,34),coloryellow,linethick1;
ema55:ema(c,55),colorff00ff,linethick1;
ema120:ema(c,117),colorffcc66,linethick2;
ls1:=ABS((ema13-ema34)/ema13 and (ema13-ema55)/ema13 and (ema13-ema120)/ema13 and (ema55-ema34)/ema34 and (ema120-ema34)/ema34 and (ema55-ema120)/ema34)*100<2;
ls2:=CROSS(ema13,ema34) or CROSS(ema13,ema55) or CROSS(ema13,ema120);
ls3:=CROSS(ema34,ema55) or CROSS(ema34,ema120);
ls4:=CROSS(ema55,ema120) ;
ls5:=ls2 or ls3 or ls4;
ls6:=ema13>ref(ema13,1);
ls7:=c>ref(c,1)and c/ref(c,1)*100>3 ;
ls9:=ema120>ref(ema120,1);
粘合向上2:=if(ls1 and ls5 and ls6 and ls7 and ls9 and 创新高=1,1,0);
粘合向上:=if(ls1 and ls5 and ls6 and ls7 and ls9 and 偏离度<2.5 ,1,0);
drawtext(粘合向上2=1,l-0.05,'★'),COLORWHITE;
drawtext(粘合向上=1,l-0.05,'◆'),coloryellow;
VAR2C:=MA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),5);
VAR2F:=CROSS(VAR2C,5) ;
DRAWICON(VAR2F,LOW-LOW*1/100,1);
DRAWICON(VAR2F and CLOSE>ema120,LOW,1);
DRAWTEXT(VAR2F and CLOSE<ema120,LOW,'秘密买点'), COLORYELLOW ;
DRAWTEXT(VAR2F and CLOSE>ema120,LOW,'强势买点'), ,COLORRED ;
VAR3aa:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4aa:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3aa>0),91,0);
DRAWTEXT(FILTER((VAR4aa>90),34),(LOW)*(0.92),'◆'),ALIGN1,Colorcyan;
var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
var2:=REF(var1,1);
var3:=SMA(MAX(var1-var2,0),10,1)/SMA(ABS(var1-var2),10,1)*100;
HY3:=IF(COUNT(var3<20,5)>=1 AND COUNT(var1=LLV(var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(HY3,(LOW)*(0.9),' ▲'),ALIGN1,COLORgreen;

 




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

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

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

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