精 彩 内 容 呈 现
N:=3;M1:=20;M2:=20;
MID:((1+M1/100)*MA(CLOSE,N)+(1-M2/100)*MA(CLOSE,N))/2,COLORFFFFFF;
RSV:=((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)))*(100);
章鱼哥1:=SMA(RSV,3,1);
章鱼哥2:=SMA(章鱼哥1,5,1);
STICKLINE((章鱼哥1>=章鱼哥2),HIGH,LOW,0.05,0),COLORFFDDC0;
STICKLINE((章鱼哥1>=章鱼哥2),OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE((章鱼哥1<章鱼哥2),HIGH,LOW,0.05,0),COLOR0000FF;
STICKLINE((章鱼哥1<章鱼哥2),OPEN,CLOSE,2,1),COLOR0000FF;
ZYG1AA:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
ZYG2AA:=VOL;
上升:(SUM((ZYG1AA)*(ZYG2AA),8))/(SUM(ZYG2AA,8)),COLORRED;
下降:LLV(上升,8),COLOR00FF00;
ZYG3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
ZYG4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (ZYG3AA>0),91,0);
DRAWTEXT(FILTER((ZYG4AA>90),45),(LOW)*(0.94999998),'大胆搏 '),COLOR00FFFF;
DRAWTEXT(FILTER((ZYG4AA>90),35),(LOW)*(0.99000001),'★'),COLOR00FFFF;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心'),COLORFFFFFF;
ZYG1:=REF(CLOSE,1);
ZYG2:=MA(CLOSE,5);DRAWTEXT_FIX(C>O,0,0.2,0,'更多实用指标公式,请关注微信公众号:通达信指标公式'),COLOR333333;
ZYG3:=SMA(MAX(CLOSE-ZYG1,0),6,1)/SMA(ABS(CLOSE-ZYG1),6,1)*100;
ZYG4:=SMA(MAX(CLOSE-ZYG1,0),12,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ZYG10 AND ZYG3>ZYG5,LOW,REF(LOW,BARSLAST(LOW<ZYGF AND ZYG3>ZYG10 AND ZYG3>ZYG5)));
使用说明:
无
.点击下方通达信指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!
温馨提示
如果你喜欢本文,请分享到朋友圈,想要获得更多信息,请关注我。