飞狐粘合突破指标公式

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

{参数: n:10,5,15;}

DRAWTEXTEX(CLOSE,1,4,60,'均线粘合先关注 | 放量上穿可买入'),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,4,120,'阳穿多线是优选 | 长线走牛更选优'),colorFFFF;
DRAWTEXTEX(CLOSE,1,4,180,'多头发散要拉升 | 脱离粘合是飞行'),colorFF;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA90:=MA(CLOSE,90);
MA120:=MA(CLOSE,120);
MA250:=MA(CLOSE,250);
DTPL:=MA10>MA30 AND MA30>REF(MA30,1);
DG:=MAX(MAX(MA5,MA10),MAX(MA20,MA30));
ZG:=MAX(MAX(DG,MA60),MAX(MA90,MA120));
DD:=MIN(MIN(MA5,MA10),MIN(MA20,MA30));
ZD:=MIN(MIN(DD,MA60),MIN(MA90,MA120));
{股旁网-股票公式网站 www.gupang.com}
粘合:=(ZG/ZD-1)*100<N,POINTDOT,LINETHICK0;
高粘:=(ZG/ZD-1)*100<N AND ZD>MA250,POINTDOT,LINETHICK0;
穿5:(粘合 AND CROSS(C,MA5))*0.5;
穿10:(粘合 AND CROSS(C,MA10))*1;
穿20:(粘合 AND CROSS(C,MA20))*2;
穿30:(粘合 AND CROSS(C,MA30))*3;
FLSZ:=(C/REF(C,1)-1)*100>=2 AND V>REF(V,1);
DXTP:=((穿5/0.5)+穿10+(穿20/2)+(穿30/3))>=2;
优选:(FLSZ AND DXTP AND MA30>REF(MA30,1))*3,COLOR00FFFF,LINETHICK1;
选优:(FLSZ AND DXTP AND MA30>REF(MA30,1) AND COUNT(高粘,20)>=15)*3,COLOR0000FF,LINETHICK1;
JXDT:=MA5>MA10 AND MA10>MA20 AND MA20>MA30;
发散:(JXDT AND NOT(REF(JXDT,1)))*1,COLOR00FF00,LINETHICK1;
起飞:(NOT(粘合) AND REF(粘合,1) AND COUNT(粘合,20)>=15 AND DTPL)*3,COLORFF00FF,LINETHICK1;
{以下设置副图显示方式}
STICKLINE(粘合,-0.2,0,4,0),COLOR00FF00;
STICKLINE(高粘,0.2,0,4,0),COLORFF00FF;
DRAWTEXT(优选,3,'优\n选'),COLOR00FFFF;
DRAWTEXT(发散,1.5,'发\n散'),COLOR00FF00;
DRAWTEXT(起飞,2.5,'起\n飞'),ColorFF00FF;
DRAWICON(选优,0.3,1);
DRAWICON(起飞,3,1);

202108211228.jpg

202108211228.jpg

 

回复

使用道具 举报

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

本版积分规则