黄金线:EMA(C,18),COLORMAGENTA;
A:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=9.8/100;
B:=(REF(CLOSE,1)-CLOSE)/CLOSE>=9.8/100;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:=(EMA(VAR1,14)+EMA(VAR1,14)+EMA(VAR1,14)+EMA(VAR1,14))/4;
IF(A1>=REF(A1,1),A1,DRAWNULL),COLORLIRED;
IF(A1<=REF(A1,1),A1,DRAWNULL),COLORGREEN,LINETHICK1;
A2:=EMA(A1,3);
IF(A2>=REF(A2,1),A2,DRAWNULL),COLORLIRED,LINETHICK2;
IF(A2<=REF(A2,1),A2,DRAWNULL),COLORGREEN,LINETHICK2;
A3:=EMA(A2,4);
IF(A3>=REF(A3,1),A3,DRAWNULL),COLORLIRED;
IF(A3<=REF(A3,1),A3,DRAWNULL),COLORGREEN;
MA1:=EMA(CLOSE,4);
IF(MA1>=REF(MA1,1),MA1,DRAWNULL ),COLORC0C0C0,LINETHICK1;
IF(MA1<=REF(MA1,1),MA1,DRAWNULL ),COLORBLUE,LINETHICK1;
MA2:=EMA(CLOSE,5);
IF(MA2>=REF(MA2,1),MA2,DRAWNULL ),COLORC0C0C0,LINETHICK3;
IF(MA2<=REF(MA2,1),MA2,DRAWNULL ),COLORBLUE,LINETHICK3;
MA3:=EMA(CLOSE,6);
IF(MA3>=REF(MA3,1),MA3,DRAWNULL ),COLORC0C0C0,LINETHICK1;
IF(MA2<=REF(MA3,1),MA3,DRAWNULL ),COLORBLUE,LINETHICK1;
A55:=EMA(A1,18);
IF(A55>=REF(A55,1),A55,DRAWNULL),COLORRED,LINETHICK1;
IF(A55<=REF(A55,1),A55,DRAWNULL),COLORFF00FF,LINETHICK1;
A56:=EMA(A55,3);
IF(A56>=REF(A56,1),A56,DRAWNULL),COLORRED,LINETHICK3;
IF(A56<=REF(A56,1),A56,DRAWNULL),COLORFF00FF,LINETHICK3;
A57:EMA(A55,5);
IF(A57>=REF(A57,1),A57,DRAWNULL),COLORRED,LINETHICK1;
IF(A57<=REF(A57,1),A57,DRAWNULL),COLORFF00FF,LINETHICK1;
DRAWKLINE(H,O,L,C);
202108201223.jpg
|