飞狐低位反转指标公式

 

P:=26;S:=12;M:=9;
DIFF :=EMA(CLOSE,S) - EMA(CLOSE,P);
DEA :=EMA(DIFF,M);
macd :20*(DIFF-DEA),COLORWHITE;
STICKLINE(MacD>=REF(MACD,1) AND MACD>=0,0,MACD,5,0),COLOR0066FF;
STICKLINE(MACD>=REF(MACD,1) AND MACD<0,0,MACD,5,0),COLORWHITE;
STICKLINE(MACD<REF(MACD,1) AND MACD>=0,0,MACD,5,0),COLOR00FF00;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,5,0),COLORFF6600;
LS:=MACD>REF(MACD,1) AND (REF(MACD,1)<=0 OR REF(MACD,1)<=REF(MACD,2));
二浪:=(LS AND MACD>0 AND COUNT(LS,15)>=2)*MACD,STICK,COLORYELLOW,LINETHICK2;
DLS:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<ref(MACD,2);
二底:=DLS AND COUNT(DLS,15)>=2,STICK,COLORFF00FF,LINETHICK2;
金叉:=crOSS(MACD,0),STICK,COLORRED,LINETHICK2;
MACD走强:=金叉 OR 二浪>0 OR 二底;
{低位反转}
ZF:=(C/REF(C,1)-1)*100;
低点:LLV(C,3)=LLV(C,10) OR LLV(L,3)=LLV(L,10),COLOR00FF00,POINTDOT;
STICKLINE(低点,0 ,0.5 ,5 ,1 ),COLOR00FF00;
涨:(V>REF(V,1) AND ZF>=2 AND C>O)*0.5,COLORYELLOW,STICK,linethick2;
反转1:(涨>0 AND 低点)*2,COLOR00FF00,linethick2;
反转2:(COUNT(ZF>0,2)=2 AND 低点)*3,COLORWHITE,linethick2;
优选:(反转1>0 OR 反转2>0) AND MACD走强,COLORFF00FF,POINTDOT;
ZZ:=COUNT(优选,7) AND 涨;
追涨:(ZZ AND COUNT(ZZ,2)=1)*5,COLORRED,linethick2;
DRAWICON(优选,0.5,1);




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


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

指标安装下载帮助  |   联系我们  |  股朋指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

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