通达信主力动能跟庄擒龙主副图 用法详解 源码

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

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

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

ZYG1:=5;

ZYG2:=4;

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

紫线:=100*EMA(EMA(ZYG3,ZYG1),ZYG1)/EMA(EMA(ABS(ZYG3),ZYG1),ZYG1),COLORMAGENTA DOTLINE;

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

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

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

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

ZYG6:=EMA(ZYG5,10);

ZYG7:=LLV(LOW,33);

ZYG8:=EMA(IF(LOW<=ZYG7,ZYG6,0),3);

主力进场:=IF(ZYG8>REF(ZYG8,1),ZYG8,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);

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

ZYG10:=EMA(ZYG9,10);

ZYG11:=HHV(HIGH,33);

ZYG12:=EMA(IF(HIGH>=ZYG11,ZYG10,0),3);

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

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

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

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

DRAWICON(强势,L,5);

STICKLINE(强势,O,C,2,0),COLORMAGENTA;



{主力动能跟庄副图源码如下}



ZYG1:=5;

ZYG2:=4;

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

紫线:100*EMA(EMA(ZYG3,ZYG1),ZYG1)/EMA(EMA(ABS(ZYG3),ZYG1),ZYG1),COLORMAGENTA DOTLINE;

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

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

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

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

ZYG6:=EMA(ZYG5,10);

ZYG7:=LLV(LOW,33);

ZYG8:=EMA(IF(LOW<=ZYG7,ZYG6,0),3);

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

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

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

好股网:=0,COLORWHITE;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ZYG10:=EMA(ZYG9,10);

ZYG11:=HHV(HIGH,33);

ZYG12:=EMA(IF(HIGH>=ZYG11,ZYG10,0),3);

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

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

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

DRAWICON(强势,0,5);

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

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



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

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

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

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