P1:=5;
P2:=13;
P3:=34;
P4:=89;
P5:=144;
P6:=233;
MA1: MA(CLOSE,P1),LINETHICK0,COLOR00FFFF;
MA2: MA(CLOSE,P2),LINETHICK0,COLORFF00FF;
MA3: MA(CLOSE,P3),LINETHICK0,COLOR00FF00;
MA4: MA(CLOSE,P4),LINETHICK0,COLORFFFFFF;
MA5: MA(CLOSE,P5),LINETHICK0,COLORFFFF00;
MA6: MA(CLOSE,P6),LINETHICK0,COLOR0000FF;
VAR1:= ZIG(3,10)REF(ZIG(3,10),2);
VAR2:= ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)
DRAWTEXT(VAR1,HIGH,'秋收'),COLOR00FFFF;
DRAWTEXT(VAR2,LOW,'春播'),COLORFF00FF;
STICKLINE(VAR1,CLOSE,OPEN,5,0),COLOR00FFFF;
STICKLINE(VAR1,HIGH,LOW,0.5,0),COLOR00FFFF;
STICKLINE(VAR2,CLOSE,OPEN,5,0),COLORFF00FF;
STICKLINE(VAR2,HIGH,LOW,0.5,0),COLORFF00FF;
地平线: EMA(CLOSE,250),LINETHICK1,COLOR00FFFF;
DRAWTEXT(VAR1,地平线,'地平线'),COLORFFFFFF;