通达信【主力动能】套装指标 主力大幅度拉升前清晰可见 源码

{主力动能主图源码如下}

操作线:EMA(C,5)DOTLINE;

生命线:EMA(C,13) COLORYELLOW LINETHICK2;

ABC1:=5;

ABC2:=4;

ABC3:=CLOSE-REF(CLOSE,1);

紫线:=100*EMA(EMA(ABC3,ABC1),ABC1)/EMA(EMA(ABS(ABC3),ABC1),ABC1),COLORMAGENTA DOTLINE;

黄线:=MA(紫线,ABC2),COLORYELLOW DOTLINE;

AA:=C>MA(C,10);

ABC4:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

ABC5:=SMA(ABS(LOW-ABC4),13,1)/SMA(MAX(LOW-ABC4,0),10,1);

ABC6:=EMA(ABC5,10);

ABC7:=LLV(LOW,33);

ABC8:=EMA(IF(LOW<=ABC7,ABC6,0),3);

主力进场:=IF(ABC8>REF(ABC8,1),ABC8,0),NODRAW,COLORRED;

DRAWTEXT(CROSS(紫线,黄线) AND 主力进场 AND AA,L,' ★共振'),COLORRED;

STICKLINE(CROSS(紫线,黄线) AND 主力进场 AND AA,O,C,2,0),COLORYELLOW;

DRAWICON(CROSS(紫线,黄线) AND 主力进场 AND AA,L*1.002,9);

ABC9:=SMA(ABS(HIGH-ABC4),13,1)/SMA(MIN(HIGH-ABC4,0),10,1);

ABC10:=EMA(ABC9,10);

ABC11:=HHV(HIGH,33);

ABC12:=EMA(IF(HIGH>=ABC11,ABC10,0),3);

主力拉高:=IF(ABC12<REF(ABC12,1),ABC12,0),NODRAW,COLORYELLOW;

DRAWICON(ABC12<REF(ABC12,1),L*1.002,1);

STICKLINE(ABC12<REF(ABC12,1),O,C,0.1,0),COLORMAGENTA;

强势:=BARSLASTCOUNT(ABC12<REF(ABC12,1))=1;

DRAWICON(强势,L,5);

STICKLINE(强势,O,C,2,0),COLORMAGENTA;
{主力动能副图源码如下}

ABC1:=5;

ABC2:=4;

ABC3:=CLOSE-REF(CLOSE,1);

紫线:100*EMA(EMA(ABC3,ABC1),ABC1)/EMA(EMA(ABS(ABC3),ABC1),ABC1),COLORMAGENTA DOTLINE;

黄线:MA(紫线,ABC2),COLORYELLOW DOTLINE;

AA:=C>MA(C,10);

ABC4:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

ABC5:=SMA(ABS(LOW-ABC4),13,1)/SMA(MAX(LOW-ABC4,0),10,1);

ABC6:=EMA(ABC5,10);

ABC7:=LLV(LOW,33);

ABC8:=EMA(IF(LOW<=ABC7,ABC6,0),3);

主力进场:IF(ABC8>REF(ABC8,1),ABC8,0),NODRAW,COLORRED;

DRAWICON(CROSS(紫线,黄线) AND 主力进场 AND AA,黄线*1.002,26);

洗盘:IF(ABC8<REF(ABC8,1),ABC8,0),NODRAW,COLORGREEN;

尊重市场:=0,COLORWHITE;

STICKLINE(ABC8<REF(ABC8,1),0,ABC8,3,0),COLORGREEN;

STICKLINE(ABC8>REF(ABC8,1),0,ABC8,3,0),COLOR000055;

STICKLINE(ABC8>REF(ABC8,1),0,ABC8,2.6,0),COLOR000077;

STICKLINE(ABC8>REF(ABC8,1),0,ABC8,2.1,0),COLOR000099;

STICKLINE(ABC8>REF(ABC8,1),0,ABC8,1.5,0),COLOR0000BB;

STICKLINE(ABC8>REF(ABC8,1),0,ABC8,0.9,0),COLOR0000DD;

STICKLINE(ABC8>REF(ABC8,1),0,ABC8,0.3,0),COLORRED;

STICKLINE(ABC8<REF(ABC8,1),0,ABC8,3,0),COLOR005500;

STICKLINE(ABC8<REF(ABC8,1),0,ABC8,2.6,0),COLOR007700;

STICKLINE(ABC8<REF(ABC8,1),0,ABC8,2.1,0),COLOR009900;

STICKLINE(ABC8<REF(ABC8,1),0,ABC8,1.5,0),COLOR00BB00;

STICKLINE(ABC8<REF(ABC8,1),0,ABC8,0.9,0),COLOR00DD00;

STICKLINE(ABC8<REF(ABC8,1),0,ABC8,0.3,0),COLORGREEN;

DRAWICON(CROSS(紫线,黄线) AND 主力进场 AND AA,主力进场*1.002,9);

DRAWTEXT(CROSS(紫线,黄线) AND 主力进场 AND AA,主力进场,' ★共振'),COLORRED;

ABC9:=SMA(ABS(HIGH-ABC4),13,1)/SMA(MIN(HIGH-ABC4,0),10,1);

ABC10:=EMA(ABC9,10);

ABC11:=HHV(HIGH,33);

ABC12:=EMA(IF(HIGH>=ABC11,ABC10,0),3);

主力拉高:IF(ABC12<REF(ABC12,1),ABC12,0),NODRAW,COLORYELLOW;

STICKLINE(ABC12<REF(ABC12,1),0,ABC12,2,0),COLORMAGENTA;

强势:=BARSLASTCOUNT(ABC12<REF(ABC12,1))=1;

DRAWICON(强势,0,5);

出货:IF(ABC12>REF(ABC12,1),ABC12,0),NODRAW,COLORCYAN;

STICKLINE(ABC12>REF(ABC12,1),0,ABC12,2,0),COLORCYAN;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图