XA_1:=(HIGH+LOW+CLOSE)/3;
DIFF:EMA(XA_1,25)-EMA(XA_1,99),LINETHICK0;
DEA:EMA(DIFF,17),LINETHICK0;
macd:2*(DIFF-DEA),LINETHICK0;
XA_2:=DIFF;
XA_3:=DEA;
DRAWBAND(XA_2,RGB(220,100,0),XA_3,RGB(0,290,255));
IF(XA_2>=REF(XA_2,1),XA_2,DRAWNULL),COLOR2B4AEC,LINETHICK0;
IF(XA_2<REF(XA_2,1),XA_2,DRAWNULL),COLORGREEN,LINETHICK0;
IF(XA_3>=REF(XA_3,1),XA_3,DRAWNULL),COLORRED,LINETHICK0;
IF(XA_3<REF(XA_3,1),XA_3,DRAWNULL),COLORGREEN,LINETHICK0;
STICKLINE(MacD>=0 AND MACD>=REF(MACD,1),0,MACD,2,0),COLOR4D00D6;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1.5,0),COLOR4A00A4;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR0000EE;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0.1,0),COLOR4A008E;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR5200FF;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,2,0),COLOR6A6F60;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,1.5,0),COLOR936F60;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,1,0),COLORBE6F60;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLORBE9560;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,0,0),COLORBE957F;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),COLOR520E4F;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1.5,0),COLOR520E59;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR520E67;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0.1,0),COLOR520E89;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),COLOR155500;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1.5,0),COLOR208000;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1,0),COLOR2BAA00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLOR35D500;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0,0),COLOR40FF00;
XA_4:=EMA(AMOUNT/(100*vol),5);
XA_5:=EMA(AMOUNT/(100*VOL),13);
XA_6:=EMA(AMOUNT/(100*VOL),34);
XA_7:=DMA(CLOSE,VOL/CAPITAL);
XA_8:=(CLOSE-XA_5)/XA_5*100;
DIF:EMA(XA_1,7)-EMA(XA_1,25);
DE:EMA(DIF,9);
MACDS:2*(DIF-DE),LINETHICK0;
IF(XA_8>0 AND XA_8>REF(XA_8,1),DIF,DRAWNULL),COLORRED,LINETHICK2;
IF(crOSS(CLOSE,XA_6),DIF,DRAWNULL),COLORWHITE,LINETHICK2;
IF(CROSS(CLOSE,XA_7),DIF,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(DIF>DE,DIF,DRAWNULL),COLORFFCC33,LINETHICK2;
IF(DIF<DE,DIF,DRAWNULL),DOTLINE,COLORWHITE;
IF(DIF>DE,DE,DRAWNULL),COLORGREEN,LINETHICK2;
IF(DIF<DE,DE,DRAWNULL),DOTLINE,COLORRED;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。