DRAWGBK(CLOSE>0,RGB(10,0,20),RGB(0,0,0),0,52,1);
DIF:EMA(CLOSE,3)-EMA(CLOSE,7),NODRAW,COLORRED;
DEA:EMA(DIF,3),NODRAW,COLORYELLOW;
MACD:2*(DIF-DEA),NODRAW;
HJ_1:=EMA(DIF,3);
HJ_2:=EMA(HJ_1,3);
DKK:4*DIF-3*DEA,NODRAW,COLORMAGENTA;
DDD:EMA(DKK,5),NODRAW,COLOR2588FF;
HJ_3:=MAX(MAX(HHV(DIF,13)-LLV(DIF,13),ABS(REF(DIF,1)-HHV(DIF,13))),ABS(REF(DIF,1)-LLV(DIF,13)));
HJ_4:=EMA(HJ_3,13);{www.fxjgsw.com}
HJ_5:=REF(DIF,1)-REF(HJ_4,1);
支撑:HHV(HJ_5,13),NODRAW,COLORWHITE;
HJ_6:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))-0.5;
HJ_7:=EMA(HJ_6,3);
HJ_8:=EMA(HJ_7,3);
HJ_9:=3*HJ_7-2*HJ_8;
DRAWBAND(DIF,RGB(200,0,5),DEA,RGB(0,250,250));
HJ_10:=REF(COUNT(DIF>0 AND MACD<0 AND MACD<REF(MACD,1),4)=4,1) AND MACD>REF(MACD,1);
STICKLINE(HJ_10,MACD*1.2,0,2.8,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLORRED;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLORBLUE;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLORBLUE;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLORBLUE;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR3377AA;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR3388BB;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR4499CC;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLORFF3300;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLORFF5500;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLORFF7700;
STICKLINE(HJ_9<(-0.5),0,0.15,1.8,0),COLORMAGENTA;
HJ_11:=REF(COUNT(HJ_9<REF(HJ_9,1),5)>=3,1) AND REF(HJ_9,1)<(-0.4) AND HJ_9>REF(HJ_9,1);
DRAWICON(FILTER(HJ_11,3),MACD*1.2,34),COLORFF00EE;
HJ_12:=REF(CROSS(0,MACD),3) AND COUNT(DIF>0 AND MACD<REF(MACD,1),4)=4;
DRAWICON(HJ_12,0.05,9);{www.fxjgsw.com}
DRAWTEXT_FIX(1,0.92,0.99,0,377),COLOR000091;
DRAWTEXT_FIX(1,0.82,0.99,0,378),COLORAFFFFF;
{-----------------------------------} |