指标公式第909篇:通达信稳健趋势上升

通达信稳健趋势上升主图

MA5:MA(CLOSE,5) DOTLINE;
MA21:MA(CLOSE,21);
MA34:MA(CLOSE,34),COLORMAGENTA;
MA60:=MA(CLOSE,60);
ZYG1:=(MA(CLOSE,1)+MA(CLOSE,4)+MA(CLOSE,7)+MA(CLOSE,11))/4;
ZYG2:=MA(CLOSE,1);
ZYG3:=SMA(SMA(SMA(ZYG2,2,1),2,1),2,1);
ZYG4:=MA(ZYG3,2);
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW; 
DRAWICON(FILTER(CROSS(ZYG1,ZYG4),8) AND CLOSE/REF(CLOSE,1)>1.05,LOW,11);
STICKLINE(FILTER(CROSS(ZYG1,ZYG4),8) AND CLOSE/REF(CLOSE,1)>1.05,C,O,2,0),COLORMAGENTA;
DRAWTEXT(FILTER(CROSS(ZYG1,ZYG4),8) AND CLOSE/REF(CLOSE,1)>1.05,L,' ★趋势启动'),COLORYELLOW;

通达信稳健趋势上升副图

章鱼趋势1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
章鱼趋势2:=SMA(章鱼趋势1,2,1);
章鱼趋势3:=SMA(章鱼趋势2,2,1);
章鱼趋势4:=3*章鱼趋势2-2*章鱼趋势3;
章鱼趋势5:=CROSS(章鱼趋势4,0);
章鱼趋势6:=(EMA(CLOSE,15)-EMA(CLOSE,26));
章鱼趋势7:=EMA(章鱼趋势6,5);
MACD:2*(章鱼趋势6-章鱼趋势7),COLORSTICK;
DIF2:4*章鱼趋势6-3*章鱼趋势7,COLORFF00FF;
稳健趋势:=EMA(DIF2,1);
趋势主升:=MACD< 0 AND MACD>REF(MACD,1) AND REF(MACD,1)< REF(MACD,2) AND REF(MACD,2)< REF(MACD,3) AND REF(MACD,3)< REF(MACD,4);
IF(C>稳健趋势,稳健趋势,DRAWNULL),COLOR0000F0,LINETHICK3;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW; 
IF(稳健趋势<=REF(稳健趋势,1),稳健趋势,DRAWNULL),COLOR00E600,LINETHICK3;
STICKLINE(趋势主升,1,MACD,2,0),COLORFF00FF;
分界线:0,COLORFF00FF;
DRAWICON(趋势主升,3,1);
DRAWICON(章鱼趋势5 AND 趋势主升,2,1);
DRAWTEXT(章鱼趋势5 AND 趋势主升,1,'←趋势主升'),COLOR00FFFF;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR40FF00;
STICKLINE(MACD>REF(MACD,1) AND MACD< 0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD< 0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD< 0,0,MACD,0.6,0),COLOR0000BB;
STICKLINE(MACD<=REF(MACD,1) AND MACD< 0,0,MACD,1.8,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD< 0,0,MACD,1.1,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD< 0,0,MACD,0.6,0),COLOR40FF00;

通达信稳健趋势上升选股

章鱼趋势1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
章鱼趋势2:=SMA(章鱼趋势1,2,1);
章鱼趋势3:=SMA(章鱼趋势2,2,1);
章鱼趋势4:=3*章鱼趋势2-2*章鱼趋势3;
章鱼趋势5:=EMA(CLOSE,15);
章鱼趋势6:=(章鱼趋势5-EMA(CLOSE,26));
章鱼趋势7:=EMA(章鱼趋势6,5);
章鱼趋势8:=2*(章鱼趋势6-章鱼趋势7);
稳健趋势:=CROSS(章鱼趋势4,0);
趋势主升:=章鱼趋势8< 0 AND章鱼趋势8>REF(章鱼趋势8,1) AND REF(章鱼趋势8,1)< REF(章鱼趋势8,2) AND REF(章鱼趋势8,2)< REF(章鱼趋势8,3) AND REF(章鱼趋势8,3)< REF(章鱼趋势8,4);
XG:稳健趋势 AND 趋势主升;

Comments

No comments yet. Why don’t you start the discussion?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注