ZD1:=REFX1(MA(REFX1(MA(L,25),25/2),25),25/2)-(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1,LINETHICK2,COLORRED; ZD2:=EMA(ZD1,25)*XSJMY,LINETHICK2; 金牛上軌:IF(AADATE,(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1+REFX1(MA(REFX1(MA(H,25),25/2),25),25/2),NULL)*XSJMY,DOT,COLORYELLOW; 金牛中軌:IF(AADATE,REFX1(MA(REFX1(MA(L,25),25/2),25),25/2)-(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1,NULL)*XSJMY,LINETHICK2,COLORRED; 金牛下軌:IF(AADATE,EMA(ZD1,25),NULL)*XSJMY,LINETHICK2,COLORCYAN; FILLRGN(ZD1>ZD2,ZD1,ZD2,RGB(255,0,0)); FILLRGN(ZD1<ZD2,ZD1,ZD2,RGB(0,0,139)); DRAWKLINE1(H,O,L,C); |
|