您当前的位置:股票 > 财经资讯 > 财经频道

通达信几何递增数列+强弱变色+均线,通达信黄金黑牛主图指标公式

2024-06-15 23:17:50 来源: 作者: admin888
分享到
关注牛市通网在线:
  • 扫描二维码

    关注√

    牛市通网微信

在线咨询:
  • 扫描或点击关注牛市通网在线客服

通达信几何递增数列+强弱变色+均线,通达信黄金黑牛主图指标公式

通达信几何递增数列+强弱变色+均线

{参数: 开关色(1~2,1);

沉举中(1~3,3)};

{说明1:多用途_几何递增数列_强弱变色_均线;

TDX版};

{说明2:均线显红为强势线;

显原色为弱势线};

{说明3:弱势线在k线之上为强压力线、在下为弱支撑线};

{说明4:K线向下接近或击穿某均线仍显红色此为强支撑线};

QZ:=Abs(CLOSE);

DL:=IF(沉举中=1,1/QZ,IF(沉举中=2,QZ,1));

GL:=CLOSE*DL;

M5:SUM(GL,5)/SUM(DL,5);

M9:SUM(GL,9)/SUM(DL,9);

M14:SUM(GL,14)/SUM(DL,14);

M23:SUM(GL,23)/SUM(DL,23);

M37:SUM(GL,37)/SUM(DL,37);

M60:SUM(GL,60)/SUM(DL,60),LINETHICK2;

M97:SUM(GL,97)/SUM(DL,97);

M123:SUM(GL,123)/SUM(DL,123);

{加密};

M157:SUM(GL,157)/SUM(DL,157);

M200:SUM(GL,200)/SUM(DL,200);

{加密};

M254:SUM(GL,254)/SUM(DL,254);

M323:=SUM(GL,323)/SUM(DL,323);

{加密};

KK:=DRAWNULL{ma(C,256000)};

KG:=开关色;

{以下代码属均线变色部分};

K9:IF(KG=1 AND M9<=ema(GL,9)/EMA(DL,9),M9,KK),COLOR113399,LINETHICK2;

{近似月牛熊线};K37:IF(KG=1 AND M37<=EMA(GL,37)/EMA(DL,37),M37,KK),COLOR113399,LINETHICK2;

{近似周牛熊线};

K157:IF(KG=1 AND M157<=EMA(GL,157)/EMA(DL,157),M157,KK),COLOR113399,LINETHICK2;

{近似日牛熊线};K5:IF(KG=1 AND M5<=EMA(GL,5)/EMA(DL,5),M5,KK),COLOR113399;

K14:IF(KG=1 AND M14<=EMA(GL,14)/EMA(DL,14),M14,KK),COLOR113399;

K23:IF(KG=1 AND M23<=EMA(GL,23)/EMA(DL,23),M23,KK),COLOR113399;

K60:IF(KG=1 AND M60<=EMA(GL,60)/EMA(DL,60),M60,KK),COLOR113399,LINETHICK2;

K97:IF(KG=1 AND M97<=EMA(GL,97)/EMA(DL,97),M97,KK),COLOR113399;

K123:IF(KG=1 AND M123<=EMA(GL,123)/EMA(DL,123),M123,KK),COLOR113399;

{加密};

K200:IF(KG=1 AND M200<=EMA(GL,200)/EMA(DL,200),M200,KK),COLOR113399;

{加密};

K254:IF(KG=1 AND M254<=EMA(GL,254)/EMA(DL,254),M254,KK),COLOR113399;

K323:IF(KG=1 AND M323<=EMA(GL,323)/EMA(DL,323),M323,KK),COLOR113399;

{加密};

通达信黄金黑牛主图指标公式

买线:=ema(C,2);

卖线:=Ema(SLOPE(C,21)*20+C,42);

BU:=crOSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWICON(BU,L-0.1,5);

DRAWICON(SEL,H+0.1,6);

stICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;

STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORRED;

STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORGREEN;

STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORGREEN;

散户:EMA(CLOSE,5),COLORWHITE;

操盘:MA(CLOSE,9),COLORCYAN,LINETHICK2;

界点:MA(CLOSE,20),COLORMAGENTA;

LC:=REF(CLOSE,1);

rsi:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(Abs((CLOSE - LC)),3,1)) * 100);

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

日:=150;

昨前:=3;

高1:=REF(HHV(H,日),昨前);

低1:=REF(LLV(L,日),昨前);

H1:=高1-(高1-低1)*0.191;

H2:=高1-(高1-低1)*0.382;

H3:=高1-(高1-低1)*0.5;

H4:=高1-(高1-低1)*0.618;

H5:=高1-(高1-低1)*0.809;

顶:REFDATE(高1,DATE),COLORRED;

一0.809:REFDATE(H1,DATE),COLORYELLOW;

二0.618:REFDATE(H2,DATE),COLORMAGENTA;

三0.500:REFDATE(H3,DATE),COLORWHITE;

四0.382:REFDATE(H4,DATE),COLORGREEN;

五0.191:REFDATE(H5,DATE),COLORYELLOW;

低:REFDATE(低1,DATE),COLORRED;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。

责任编辑:admin888 标签:通达信几何递增数列+强弱变色+均线,通达信黄金黑牛主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信几何递增数列+强弱变色+均线,通达信黄金黑牛主图指标公式

admin888

|

通达信几何递增数列+强弱变色+均线,通达信黄金黑牛主图指标公式

通达信几何递增数列+强弱变色+均线

{参数: 开关色(1~2,1);

沉举中(1~3,3)};

{说明1:多用途_几何递增数列_强弱变色_均线;

TDX版};

{说明2:均线显红为强势线;

显原色为弱势线};

{说明3:弱势线在k线之上为强压力线、在下为弱支撑线};

{说明4:K线向下接近或击穿某均线仍显红色此为强支撑线};

QZ:=Abs(CLOSE);

DL:=IF(沉举中=1,1/QZ,IF(沉举中=2,QZ,1));

GL:=CLOSE*DL;

M5:SUM(GL,5)/SUM(DL,5);

M9:SUM(GL,9)/SUM(DL,9);

M14:SUM(GL,14)/SUM(DL,14);

M23:SUM(GL,23)/SUM(DL,23);

M37:SUM(GL,37)/SUM(DL,37);

M60:SUM(GL,60)/SUM(DL,60),LINETHICK2;

M97:SUM(GL,97)/SUM(DL,97);

M123:SUM(GL,123)/SUM(DL,123);

{加密};

M157:SUM(GL,157)/SUM(DL,157);

M200:SUM(GL,200)/SUM(DL,200);

{加密};

M254:SUM(GL,254)/SUM(DL,254);

M323:=SUM(GL,323)/SUM(DL,323);

{加密};

KK:=DRAWNULL{ma(C,256000)};

KG:=开关色;

{以下代码属均线变色部分};

K9:IF(KG=1 AND M9<=ema(GL,9)/EMA(DL,9),M9,KK),COLOR113399,LINETHICK2;

{近似月牛熊线};K37:IF(KG=1 AND M37<=EMA(GL,37)/EMA(DL,37),M37,KK),COLOR113399,LINETHICK2;

{近似周牛熊线};

K157:IF(KG=1 AND M157<=EMA(GL,157)/EMA(DL,157),M157,KK),COLOR113399,LINETHICK2;

{近似日牛熊线};K5:IF(KG=1 AND M5<=EMA(GL,5)/EMA(DL,5),M5,KK),COLOR113399;

K14:IF(KG=1 AND M14<=EMA(GL,14)/EMA(DL,14),M14,KK),COLOR113399;

K23:IF(KG=1 AND M23<=EMA(GL,23)/EMA(DL,23),M23,KK),COLOR113399;

K60:IF(KG=1 AND M60<=EMA(GL,60)/EMA(DL,60),M60,KK),COLOR113399,LINETHICK2;

K97:IF(KG=1 AND M97<=EMA(GL,97)/EMA(DL,97),M97,KK),COLOR113399;

K123:IF(KG=1 AND M123<=EMA(GL,123)/EMA(DL,123),M123,KK),COLOR113399;

{加密};

K200:IF(KG=1 AND M200<=EMA(GL,200)/EMA(DL,200),M200,KK),COLOR113399;

{加密};

K254:IF(KG=1 AND M254<=EMA(GL,254)/EMA(DL,254),M254,KK),COLOR113399;

K323:IF(KG=1 AND M323<=EMA(GL,323)/EMA(DL,323),M323,KK),COLOR113399;

{加密};

通达信黄金黑牛主图指标公式

买线:=ema(C,2);

卖线:=Ema(SLOPE(C,21)*20+C,42);

BU:=crOSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWICON(BU,L-0.1,5);

DRAWICON(SEL,H+0.1,6);

stICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;

STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORRED;

STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORGREEN;

STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORGREEN;

散户:EMA(CLOSE,5),COLORWHITE;

操盘:MA(CLOSE,9),COLORCYAN,LINETHICK2;

界点:MA(CLOSE,20),COLORMAGENTA;

LC:=REF(CLOSE,1);

rsi:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(Abs((CLOSE - LC)),3,1)) * 100);

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

日:=150;

昨前:=3;

高1:=REF(HHV(H,日),昨前);

低1:=REF(LLV(L,日),昨前);

H1:=高1-(高1-低1)*0.191;

H2:=高1-(高1-低1)*0.382;

H3:=高1-(高1-低1)*0.5;

H4:=高1-(高1-低1)*0.618;

H5:=高1-(高1-低1)*0.809;

顶:REFDATE(高1,DATE),COLORRED;

一0.809:REFDATE(H1,DATE),COLORYELLOW;

二0.618:REFDATE(H2,DATE),COLORMAGENTA;

三0.500:REFDATE(H3,DATE),COLORWHITE;

四0.382:REFDATE(H4,DATE),COLORGREEN;

五0.191:REFDATE(H5,DATE),COLORYELLOW;

低:REFDATE(低1,DATE),COLORRED;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。


财经频道