VAR1:=EMA(CLOSE,240); VAR2:=EMA(CLOSE,520); VAR3:=VAR1-VAR2; VAR4:=EMA(CLOSE,240)+VAR3; WDEA:EMA(VAR4,180),COLORGREEN; VAR5:=VAR4*2-WDEA; VAR6:=SMA(VAR5,3,1); VAR7:=IF(CROSS(VAR5,VAR4),1,0); VAR8:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); VAR9:=IF(CROSS(VAR4,VAR5),1,0); VAR10:=EMA(CLOSE,60); VAR11:=EMA(CLOSE,130); VAR12:=VAR10-VAR11; VAR13:=EMA(CLOSE,60)+VAR12; VAR14:=EMA(VAR13,45); VAR15:=VAR13*2-VAR14; VAR16:=SMA(VAR15,3,1); {買好股公式網(wǎng)WWW.BUYHAOGU.COM} DRAWBAND(VAR5,RGB(225,255,0),VAR6,RGB(61,89,171)); IF(VAR4 >=REF(VAR4,1),VAR4,DRAWNULL),COLORRED; IF(VAR4 <=REF(VAR4,1),VAR4,DRAWNULL),COLORBLUE,LINETHICK2; DRAWICON(VAR7,VAR4*1,1); DRAWICON(VAR9,VAR4*1,2); DRAWBAND(VAR15,RGB(225,25,55),VAR16,RGB(25,225,55)); |
|