同花顺CCR高低杠杆指标公式

MA5:MA(CLOSE,5),colorwhite,DOTLINE;

MA10:MA(CLOSE,10),coloryellow,DOTLINE;

MA20:MA(CLOSE,20),colormagenta,DOTLINE;

//MA30:MA(CLOSE,30),colorgray,DOTLINE;

//MA60:MA(CLOSE,60),colorgray,DOTLINE;

//MA120:MA(CLOSE,120),colorgray,DOTLINE;

MTM:=C-REF(C,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0),colorred,LINETHICK0;

卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0),COLOR00FF00,LINETHICK0;

DRAWTEXT(FILTER(买=1,5),LOW*0.97,'⊙'),colorred;

DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'^O^'),COLOR00FF00;

主力线:=EMA(C,3);

跟随主力线:=EMA(C,5);

辅助主力线:=EMA(C,7);

短线回踩支撑:=EMA(C,10);

启动线:=EMA(C,20);

SS00:=C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND MA(C,20)>REF(MA(C,20),2);

SS05:=CROSS(跟随主力线,短线回踩支撑) AND SS00;

SS06:=CROSS(跟随主力线,启动线) AND CROSS(主力线,启动线) AND SS00;

SS07:=CROSS(辅助主力线,短线回踩支撑) AND SS00;

TM:=SS05 OR SS06 OR SS07;

DRAWTEXT(TM,L*0.98,'□发动'),coloryellow;

DRAWTEXT_FIX(ISLASTBAR,0.05,0.02,0,'20周期均线+高低杠+红柱量'),colorwhite;

 




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

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

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

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