通达信波段小工具-短线波动指标副图无未来

[复制链接]
查看94 | 回复0 | 2022-7-24 08:14:53 | 显示全部楼层 |阅读模式

通达信波段小工具-短线波动指标副图无未来

波段小工具指标适合震荡,短线操作,一目了然,红线上穿买入,红线下穿卖出,看彩带黄持股,蓝持币。
 还有二个小底部启动工具,配合其他--MACD等指标使用。

{黑码}
VAR41:=MA(CLOSE,5);
VAR42:=MA(CLOSE,10);
VAR43:=MA(CLOSE,30);
VAR44:=MA(CLOSE,60);
VARB4:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC4:=INTPART(VARB4*100)/100;
VARD4:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE4:=EMA(VARD4,9);
VAR13:=REF(VARE4,1);
VAR14:=VARE4;
VAR15:=VAR14-VAR13;
VAR16:=REF(VARD4,1);
VAR17:=VARD4;
VAR18:=VAR17-VAR16;
VAR19:=OPEN;
VAR1A4:=CLOSE;
黑码: IF(VAR19<=VAR41 AND VAR19<=VAR42 AND VAR19<=VAR43 AND VAR1A4>=VAR41 AND VAR1A4>=VARC4 AND VAR15>0 AND VAR18>0,1.3,0),LINETHICK1 , COLORFF00FF;
DRAWICON(黑码>0,黑码,1);
{启}
BB:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
启:STICKLINE(CROSS(BB,9),0,1,0.5,0),COLOR0066FF;
DRAWTEXT(CROSS(BB,9),1.3,'启'),COLOR00FFFF;
{红绿}
VARX:=(CLOSE+HIGH+LOW)/3;
VARY:=EMA(VARX,10);
VARZ:=REF(VARY,1);
变盘:IF(VARY,0,DRAWNULL),COLORFFFFFF,LINETHICK3;
红买: IF(VARY>VARZ,0,DRAWNULL), COLOR880088,LINETHICK3;
绿卖: IF(VARY<VARZ,0,DRAWNULL),COLOR008800,LINETHICK3;
{趋势}
VAR1:=(2*CLOSE+OPEN+HIGH+LOW)/5;
VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3:=(EMA(VAR2,3)+EMA(VAR2,6)+EMA(VAR2,12)+EMA(VAR2,24))/4;
波:=EMA(VAR3,2),COLORFFFFFF,LINETHICK1;
段:=EMA(波,2),COLORFF0000,LINETHICK1;
小:=EMA(段,2),COLOR999999;
工:=EMA(小,2),COLOR999999;
具:=EMA(工,2),COLORFFFFFF;
DRAWBAND(波,RGB(255,255,0),段,RGB(0,0,255));
趋势:3*波-2*段,COLORRED,LINETHICK1;
进:=IF(CROSS(趋势,波),-4.5,-5),COLOR0000FF;
出:=IF(CROSS(波,趋势),4.5,5),COLORGREEN;
{获利盘}
获利盘%:WINNER(CLOSE)*100,NODRAW,COLORFFFFFF;
 

735144297.jpg

735144297.jpg

回复

使用道具 举报

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

本版积分规则