VAR1:=SMA(AMOUNT/10,10,1)/10000;
VAR2:=REF(VAR1,1);
VAR3:=SMA(AMOUNT/10,10,1)/10000;
STICKLINE(VAR1 VAR2,VAR1,VAR2,2,0),colorred;
STICKLINE(VAR1 VAR2,VAR1,VAR2,2,0),colorgreen;
起跑线:MA(VAR1,5);
警戒线:MA(VAR1,10),coloryellow;
分界线:MA(VAR1,20),colorcyan;
DRAWTEXT(CROSS(起跑线,分界线),起跑线,'始');
DRAWTEXT(CROSS(分界线,起跑线),分界线,'终');