同花顺趋势线过山车公式 专为过山车行情弄的逃生门

趋势线轨道红色时持股,绿色时持币,当股价在高高的山岗上时,如果出现小心,按趋势果断减仓或者清仓出来观望,当出现暴跌的时候,行情有可能出现恶化,股价低位被套小心操作时少动,有可能也是转机快到的时候,但是高位时一定要清仓止盈止损!!!宁可错过利润,也要保住成本!!!

 

N:=5;

趋势线:MA(CLOSE,M),colormagenta;

PARTLINE(MA(CLOSE,13),MA(CLOSE,13)<REF(MA(CLOSE,13),1),colorgreen,

MA(CLOSE,13)>=REF(MA(CLOSE,13),1),colorred),LINETHICK1;

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,26)*15+C,45);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWBMP(BU,L*0.999,'B');

DRAWBMP(SEL,H*1.02,'S');

STICKLINE(买线>=卖线,LOW,HIGH,1,1),colorlired;

STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorlired;

JC:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6;

参考价:=SMA(JC,5,1),colorcyan;

价:=IF(C>=参考价,参考价,参考价*0.98 ), CIRCLEDOT,COLOR0000FF;

STICKLINE(买线<卖线,LOW,HIGH,1,1),colorcyan;

STICKLINE(买线<卖线,CLOSE,OPEN,8,1),colorcyan;

PARTLINE(MA(CLOSE,13),MA(CLOSE,13)<REF(MA(CLOSE,13),1),colorgreen,

MA(CLOSE,13)>=REF(MA(CLOSE,13),1),colorred),LINETHICK1;

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,26)*15+C,45);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWBMP(BU,L*0.999,'B');

DRAWBMP(SEL,H*1.02,'S');

STICKLINE(买线>=卖线,LOW,HIGH,1,1),colorlired;

STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorlired;

JC:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6;

参考价:=SMA(JC,5,1),colorcyan;

价:=IF(C>=参考价,参考价,参考价*0.98 ), CIRCLEDOT,COLOR0000FF;

STICKLINE(买线<卖线,LOW,HIGH,1,1),colorcyan;

STICKLINE(买线<卖线,CLOSE,OPEN,8,1),colorcyan;

上轨:= EMA(CLOSE,M),,COLORFFFFFF,LINETHICK1;

风险:= EMA(MA(上轨,2),2),coloryellow;

回档:= MA(风险,3),,COLOR00FF00;

平衡:= MA(回档,3),,COLORFF00FF,LINETHICK1;

反弹:= MA(平衡,3),,colorred,LINETHICK1;

超跌风险:= MA(反弹,3),,colorblue,LINETHICK1;

超级暴跌:= MA(风险*1.05,3),,colorblue,LINETHICK1;

DRAWTEXT(上轨>风险 AND 风险>回档 AND 回档>平衡 AND 平衡>超跌风险,HIGH*1.05,"↑"),colorred;

DRAWTEXT(上轨<风险 AND 风险<回档 AND 回档<平衡 AND 平衡<超跌风险,LOW*0.98,"↓"),colorgreen;

DRAWTEXT(CROSS(风险,上轨),LOW*0.92,"S"),colorgreen;

DRAWTEXT(CROSS(上轨,超跌风险),HIGH*1.15,"B"),colorred;

DRAWTEXT(CROSS(超跌风险,上轨),LOW*0.88,"小"),colorblue;

DRAWTEXT(CROSS(超跌风险,上轨),LOW*0.83,"心"),colorblue;

DRAWTEXT(上轨<风险 AND 风险<回档 AND 回档<平衡 AND 平衡<超跌风险,LOW*0.93,"S"),colorgreen;

DRAWTEXT(上轨>风险 AND 风险>回档 AND 回档>平衡 AND 平衡>超跌风险,HIGH*1.15,"B"),colorred;

DRAWTEXT(CROSS(超跌风险,超级暴跌),LOW*0.88,"暴"),coloryellow;

DRAWTEXT(CROSS(超跌风险,超级暴跌),LOW*0.83,"跌"),coloryellow;

 




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

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

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

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