2023牛熊趋势转换 抄底逃顶波段《通达信+指标+公式+副图+源码》

[复制链接]
查看21082 | 回复0 | 2023-9-14 09:24 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
650260cf8d91d.png
副图公式源码支持 手机/电脑

牛:5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK0,COLORYELLOW;
熊:EMA(MA(牛,5),3),LINETHICK0,COLORBLUE;
STICKLINE(牛>=熊,牛,熊,5,0),COLORRED;
STICKLINE(牛<熊,牛,熊,5,0),COLORBLUE;
STICKLINE(牛>108 AND 牛>=熊,牛,108,6,0),COLORFF0000;
STICKLINE(熊>108 AND 牛<熊,熊,108,6,0),COLORWHITE;
STICKLINE(牛<0 AND 牛<熊,牛,0,6,0),COLORF0F000;
STICKLINE(熊<0 AND 牛>熊,熊,0,6,0),COLORYELLOW;
GUP1:=MA(CLOSE,5)=HHV(MA(CLOSE,5),20);
GUP2:=MA(CLOSE,5)>MA(CLOSE,20);
GUP3:=COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;
风险:IF(GUP1 AND GUP2 AND GUP3,30,0),LINETHICK0,STICK,COLORGREEN;
GUP11:=MA(CLOSE,5)=HHV(MA(CLOSE,5),120);
GUP21:=MA(CLOSE,5)>MA(CLOSE,120);
GUP31:=COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;
压力:IF(GUP11 AND GUP21 AND GUP31,60,0),LINETHICK0,STICK,COLORF0F000;
底:5,LINETHICK2,COLOR00FFFF;
买入:IF(CROSS(牛,底),60,0),LINETHICK2,STICK,COLOR00FFFF;
DRAWTEXT(买入,50,'买入'),COLORRED;
顶:108,LINETHICK2,COLORFF9D00;
卖出:IF(CROSS(顶,牛),1,0),LINETHICK0,STICK,COLORFF9D00;
STICKLINE(CROSS(顶,牛),90,108,3,0),COLORFF9D00;
DRAWTEXT(CROSS(顶,牛),85,'卖出'),COLORFF9D00;

选股公式源码



{选股公式:买入}
牛:=5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK0,COLORYELLOW;
底:=5,LINETHICK2,COLOR00FFFF;
{DRAWTEXT(买入,50,'买入'),COLORRED;}
买入:CROSS(牛,底);
{卖出公式:卖出}
牛:=5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK0,COLORYELLOW;
顶:=108,LINETHICK2,COLORFF9D00;
{STICKLINE(CROSS(顶,牛),90,108,3,0),COLORFF9D00;
DRAWTEXT(CROSS(顶,牛),85,'卖出'),COLORFF9D00;}
卖出:CROSS(顶,牛);

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

本版积分规则