通达信八卦乾坤双轨主图指标 源码 贴图

2024-11-07 10:53:00来源:本站整理浏览:494

通达信八卦乾坤双轨主图指标 源码 贴图

通达信八卦乾坤双轨主图指标 源码 贴图

通达信八卦乾坤双轨主图指标 源码 贴图

DRAWGBK(CLOSE>0,RGB(150,50,175),RGB(0,25,100),0,2,0);
赚钱轨道:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED,LINETHICK2;
ZYG1:=MA(CLOSE,20);{公式网WWW.GPXIAZAI.COM}
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;


 

 

股票公式栏目导航

本类热门

相关公式