【金钻指标精选】通达信【八卦乾坤双轨】主图+选股指标,助你股海擒牛!

财富   2024-09-30 22:44   湖北  


  精 彩 内 容 呈 现 


 指    标    源    码

八卦乾坤双轨主图指标:

DRAWGBK(CLOSE>0,RGB(150,50,175),RGB(0,25,100),0,2,0);

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.5,0,0,1),COLORCYAN;

赚钱轨道:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED,LINETHICK2;

ZYG1:=MA(CLOSE,20);

DRAWBAND(赚钱轨道,RGB(155,50,50),ZYG1,RGB(0,100,50));

IF(赚钱轨道< ZYG1 OR CLOSE< 赚钱轨道,赚钱轨道,DRAWNULL),COLORBLUE,LINETHICK2;

拉升线:IF(赚钱轨道>ZYG1,ZYG1,DRAWNULL),COLORMAGENTA,LINETHICK3;

下跌线:IF(赚钱轨道<=ZYG1,ZYG1,DRAWNULL),COLORLIBLUE,LINETHICK2;

ZYG2:=(CLOSE+HIGH+LOW+OPEN)/4;

ZYG3:=MA((CLOSE*2+HIGH)/3,5);

ZYG4:=MA((OPEN*2+HIGH)/3,5);

ZYG5:=MA((CLOSE+LOW*2)/3,5);

ZYG6:=MA((OPEN+LOW*2)/3,5);

ZYG7:=OPEN+(CLOSE-OPEN)/2;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,2.9,0),COLOR000099;

STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,1.5,0),COLOR0000CC;

STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,0.1,0),COLOR9966FF;

STICKLINE(ZYG3>=ZYG4,CLOSE,OPEN,2.9,0),COLOR000099;

STICKLINE(ZYG3>=ZYG4,CLOSE,OPEN,1.5,0),COLOR0000CC;

STICKLINE(ZYG3>=ZYG4,CLOSE,OPEN,0.1,0),COLOR9966FF;

STICKLINE(ZYG3< ZYG4 AND DMI.PDI< DMI.MDI,CLOSE,OPEN,2.9,0),COLOR999900;

STICKLINE(ZYG3< ZYG4 AND DMI.PDI< DMI.MDI,CLOSE,OPEN,1.5,0),COLORCCCC00;

STICKLINE(ZYG3< ZYG4 AND DMI.PDI< DMI.MDI,CLOSE,OPEN,0.1,0),COLORFFFF66;

STICKLINE(ZYG3>=ZYG4 AND CLOSE< ZYG4,ZYG7,MAX(OPEN,CLOSE),2.8,0),COLORMAGENTA;

STICKLINE(CROSS(ZYG3,ZYG4),CLOSE,OPEN,2.8,0),COLORYELLOW;

STICKLINE(ZYG3< ZYG4 AND (CROSS(CLOSE,ZYG6) OR CROSS(ZYG2,ZYG6)),ZYG7,MIN(CLOSE,OPEN),2.8,0),COLORWHITE;

STICKLINE(CROSS(ZYG4,ZYG3) AND CLOSE< OPEN AND DMI.PDI< DMI.MDI,CLOSE,OPEN,2.8,0),COLORFF3300;

ZYG8:=REF(OPEN,1);DRAWTEXT_FIX(C>O,0,0.07,0,'更多实用指标公式,请关注微信公众号:金钻指标精选'),COLORWHITE;

ZYG9:=SMA(MAX(OPEN-ZYG8,0),6,1)/SMA(ABS(OPEN-ZYG8),6,1)*100;

ZYG10:=REF(CLOSE,1);

ZYG11:=SMA(MAX(CLOSE-ZYG10,0),6,1)/SMA(ABS(CLOSE-ZYG10),6,1)*100;

ZYG12:=REF(HIGH,1);

ZYG13:=SMA(MAX(HIGH-ZYG12,0),6,1)/SMA(ABS(HIGH-ZYG12),6,1)*100;

ZYG14:=REF(LOW,1);

ZYG15:=SMA(MAX(LOW-ZYG14,0),6,1)/SMA(ABS(LOW-ZYG14),6,1)*100;

ZYG16:=(MIN(OPEN,CLOSE)-LOW)/LOW*100>VOL/CAPITAL*0.001;

ZYG17:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100;

ZYG18:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

ZYG19:=EMA(ZYG18,8)*10< (-26);

ZYG20:=IF(ZYG16 AND MA(ZYG17,5)< 50 AND ZYG19,30,0);

ZYG21:=ZYG9;

ZYG22:=ZYG11;

ZYG23:=ZYG13;

ZYG24:=ZYG15;

ZYG25:=MIN(MIN(MIN(ZYG21,ZYG22),ZYG23),ZYG24);

ZYG26:=MAX(MAX(MAX(ZYG21,ZYG22),ZYG23),ZYG24);

ZYG27:=VOL>REF(VOL,1)*2 AND (CLOSE>=OPEN OR CLOSE>REF(CLOSE,1));

ZYG28:=(CLOSE+LOW+HIGH)/3;

ZYG29:=ATAN(EMA(ZYG28,13)-REF(EMA(ZYG28,13),1))*3.1416*10;

ZYG30:=EMA(CLOSE,8);

ZYG31:=REF(CLOSE,1);

ZYG32:=SMA(MAX(CLOSE-ZYG31,0),3,1)/SMA(ABS(CLOSE-ZYG31),3,1)*100;

ZYG33:=EMA(CLOSE,3);

ZYG34:=EMA(CLOSE,21);

ZYG35:=INDEXADV;

ZYG36:=INDEXDEC;

ZYG37:=ZYG35/(ZYG35+ZYG36)*100;

ZYG38:=IF(ZYG37>=70,ZYG37,DRAWNULL);

ZYG39:=IF(ZYG37< 70,ZYG37,DRAWNULL);

ZYG40:=HY_INDEXADV;

ZYG41:=HY_INDEXDEC;

ZYG42:=ZYG40/(ZYG40+ZYG41)*100;

ZYG43:=IF(ZYG42>=70,ZYG42,DRAWNULL);

ZYG44:=IF(ZYG42< 70,ZYG42,DRAWNULL);

ZYG45:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;

ZYG46:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;

ZYG47:=FINANCE(23)/FINANCE(10)*3.3;

ZYG48:=FINANCE(19)/FINANCE(15)*0.6;

ZYG49:=FINANCE(20)/FINANCE(15)*0.999;

ZYG50:=ZYG45+ZYG46+ZYG47+ZYG48+ZYG49;



八卦乾坤双轨选股指标:


VAR2:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));

M20:=MA(VAR2,20);

MA5:=MA(VAR2,5);

MA3:=MA(VAR2,3);

XG:CROSS(C,VAR2) AND CROSS(C,MA5) AND CROSS(C,M20);



PS:

新增2个微信公众号,用来补充分享指标公式源码和机会提示,有需要的可以关注下!


使用说明:





点击下方短线指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!



温馨提示



我每天分享指标,不求打赏,请大家看完文章后保持互动

帮忙点击底部【在看+赞

保持互动,系统才会及时向你推送文章,不错过精品指标。

金钻指标精选
定时更新各类指标公式以及各种看盘软件,助力您在股市斩获丰利。资源共享,以股会友!
 最新文章