股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」通达信忍者欲妖主图指标(简化版)源码分享


    [-----复制链接-----]

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2023-11-30 14:10:21
【资料名称】:通达信忍者欲妖主图指标(简化版)源码分享介绍
【资料描述】:

通达信忍者欲妖主图指标(简化版)源码分享






DRAWGBK(C>O,RGB(10,0,0),RGB(0,0,0),1,2,1);

DRAWGBK(1=1,0,0,0,'忍者欲妖主',0)COLORFFFF00;

{========================额外==========================}

Z1:=STRCAT(DYBLOCK,' ');

Z2:=STRCAT(Z1,HYBLOCK);

Z3:=STRCAT(Z2,' ');

Z4:=STRCAT(Z3,GNBLOCK);

Z5:=STRCAT(Z4,' ');

Z6:=STRCAT(Z5,FGBLOCK);

DRAWTEXT_FIX(ISLASTBAR,0.10,0.058,0,STRCAT(Z6,ZHBLOCK)),COLOR0000FF;

DRAWTEXT_FIX(1,0,0.055,0,STRCAT('【所在板块】:',STKNAME)),COLOR00FFFF;

K1:=BARSLAST(CURRBARSCOUNT=120);

GD1:=CONST(IF(ISLASTBAR=1,HHV(H,K1),0));

DD1:=CONST(IF(ISLASTBAR=1,LLV(L,K1),0));

KJ:=GD1-DD1;

GD4:=IF(CURRBARSCOUNT<=120/2,GD1,DRAWNULL);

DRAWTEXT(CURRBARSCOUNT=120,DD1+KJ/10,'====【牛B金钻指标专业团购群***5专用】===='),COLOR889999;

{--------------------------------}

AA:=EMA(C,5) > EMA(C,19);

BB:=EMA(C,5) < EMA(C,19);

CC:=EMA(C,5) > EMA(C,10);

CC1:=EMA(C,5) < EMA(C,10);

DD:=CLOSE<OPEN;

E:=EMA(EMA(C,10),10),COLORRED,LINETHICK2;

红线:IF(REF(E,1)<E,E,DRAWNULL),COLOR0000FF,LINETHICK2;

蓝线:IF(REF(E,1)>E,E,DRAWNULL),COLORFF8000,LINETHICK2;

{--------------------------------}

W:=EMA(C,5);

W1:=EMA(W,8);

W2:=REF(W1,1);

M:=SMA(CLOSE,8,1);

M1:=(SMA(M,11,1));

M2:=(REF(M1,1));

STICKLINE((W1>W2)AND(W1<M2),W1,W2,1,0),COLOR0000FF;

STICKLINE((W1<W2)AND(W1>M2),W1,W2,1,0),COLORC0C0C0;

STICKLINE((M1>M2),M1,M2,1,0),COLORFF00FF;

STICKLINE((M1<M2),M1,M2,1,0),COLORFF0000;

{--------------------------------}

高12:=REF(HHV(H,150),3);

低12:=REF(LLV(L,150),3);

H12:=高12-(高12-低12)*0.191;

H22:=高12-(高12-低12)*0.382;

H32:=高12-(高12-低12)*0.5;

H42:=高12-(高12-低12)*0.618;

H52:=高12-(高12-低12)*0.809;

顶:=REFDATE(高12,DATE),COLORFFFF00;

一:=REFDATE(H12,DATE),DOTLINE,COLORYELLOW;

二:=REFDATE(H22,DATE),DOTLINE,COLORMAGENTA;

三:=REFDATE(H32,DATE),COLOR00FFFF;

四:=REFDATE(H42,DATE),DOTLINE,COLORMAGENTA;

五:=REFDATE(H52,DATE),DOTLINE,COLORYELLOW;

低:=REFDATE(低12,DATE),COLOR00FF00;

TT3:=(CURRBARSCOUNT=8);

TT4:=(CURRBARSCOUNT=6);

DRAWNUMBER(ISLASTBAR AND 顶,顶,顶),COLOR999900;

DRAWTEXT(TT4 AND 顶,顶,'高点'),COLOR80FF00;

DRAWNUMBER(ISLASTBAR AND 一,一,一),COLOR999999;

DRAWTEXT(TT4 AND 一,一,'压力'),COLORFFCC18;

DRAWNUMBER(ISLASTBAR AND 二,二,二),COLOR999999;

DRAWTEXT(TT4 AND 二,二,'目标'),COLORFF18FF;

DRAWNUMBER(ISLASTBAR AND 三,三,三),COLOR999999;

DRAWTEXT(TT4 AND 三,三,'关键'),COLORFFFFFF;

DRAWNUMBER(ISLASTBAR AND 四,四,四),COLOR999999;

DRAWTEXT(TT4 AND 四,四,'参考'),COLOR18FF18;

DRAWNUMBER(ISLASTBAR AND 五,五,五),COLOR999999;

DRAWTEXT(TT4 AND 五,五,'支撑'),COLOR18CCFF;

DRAWNUMBER(ISLASTBAR AND 低,低*1.01,低),COLOR999900;

DRAWTEXT(TT4 AND 低,低*1.009,'低点'),COLORRED;

{--------------------------------}

今日卖点:EMA(C,2),NODRAW,COLOR40FF00;

今日买点:EMA(SLOPE(C,21)*20+C,42),NODRAW,COLOR0000FF;

JC:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6;

参考价:=SMA(JC,5,1),COLORCYAN;

价:=IF(C>=参考价,参考价,参考价*0.98 ), CIRCLEDOT,COLOR0000FF;

日:=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;

{--------------------------------}

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);

高点:REFDATE(高1,DATE),COLORGREEN,LINETHICK3;

压力:REFDATE(H1,DATE),COLORFFCC18,LINETHICK2;

目标:REFDATE(H2,DATE),COLORMAGENTA,LINETHICK2;

关键:REFDATE(H3,DATE),COLORWHITE,LINETHICK2;

参考:REFDATE(H4,DATE),COLORGREEN,LINETHICK2;

支撑:REFDATE(H5,DATE),COLORYELLOW,LINETHICK2;

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

{--------------------------------}

X_1:=IF(TDXDLL1(8888,C,L,C),TDXDLL1(1003,C,0,L),0);

X_2:=IF(TDXDLL1(8888,C,L,C),TDXDLL1(1002,TDXDLL1(1003,C,0,L),H,L),0);

X_3:=IF(TDXDLL1(8888,C,L,C),TDXDLL1(1034,H,C,L),0);

X_4:=IF(TDXDLL1(8888,C,L,C),TDXDLL1(1035,H,C,L),0);

X_5:=IF(TDXDLL1(8888,C,L,C),TDXDLL1(1044,H,C,L),0);

X_6:=IF(TDXDLL1(8888,C,L,C),TDXDLL1(1046,H,C,L),0);

X_7:=IF(TDXDLL1(8888,C,L,C),TDXDLL1(1002,C,H,L)<TDXDLL1(1002,TDXDLL1(1034,H,C,L),H,L) AND O<TDXDLL1(1034,H,C,L) AND TDXDLL1(1034,H,C,L)>TDXDLL1(1046,H,C,L),0);

X_8:=IF(TDXDLL1(8888,C,L,C),TDXDLL1(1002,TDXDLL1(1002,C,H,L)<TDXDLL1(1002,TDXDLL1(1034,H,C,L),H,L) AND O<TDXDLL1(1034,H,C,L) AND TDXDLL1(1034,H,C,L)>TDXDLL1(1046,H,C,L),H,L)=0 AND TDXDLL1(1002,C,H,L)<TDXDLL1(1002,TDXDLL1(1034,H,C,L),H,L) AND O<TDXDLL1(1034,H,C,L) AND TDXDLL1(1034,H,C,L)>TDXDLL1(1046,H,C,L),0);

X_9:=EMA(HHV(HIGH,1),8);

X_10:=EMA(CLOSE,8);

X_11:=X_10<REF(X_10,1) AND CLOSE<X_10;

X_12:=IF(X_9<REF(X_9,1) OR X_11,1,0);


{ 忍者欲妖主图 忍者欲妖副图 忍者欲妖预选 忍者智能语音 忍者欲妖预选};
 



gd55062


【下载地址隐藏】:                    点:回复可见地址
游客,如果您要查看本帖隐藏内容请回复






上一篇:「指标」完美金叉副图指标 源码 通达信 贴图 有图有真相
下一篇:「指标」降魔妖副图/选股指标 通达信 源码分享
回复

举报

QQ|

GMT+8, 2024-11-25 01:26

快速回复 返回顶部 返回列表