2023牛熊趋势转换 抄底逃顶波段《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
牛: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(顶,牛); thanks 路过,学习下 good!vevy good! 如果想获取全部资源,怎么操作? 只为积分!感谢! 一切尽在不言中,谢谢! 帮你顶下哈!!
页:
[1]