VAR1:=SMA(AMOUNT/10,10,1)/10000; VAR2:=REF(VAR1,1);
VAR3:=SMA(AMOUNT/10,10,1)/10000;
STICKLINE(VAR1>VAR2,VAR1,VAR2,8,0),colorred;
STICKLINE(VAR1<VAR2,VAR1,VAR2,8,0),colorgreen;
DRAWTEXT(CROSS(MA(VAR1,10),VAR3),MA(VAR1,10)*1.2,'警'),colorwhite;
DRAWTEXT(CROSS(MA(VAR1,30),VAR3),MA(VAR1,30)*1.2,'走');
|
