日:=100;昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
低:REFDATE(低1,DATE),COLORRED,LINETHICK1;
DRAWKLINE(低+(低-LOW), 低+(低-OPEN), 低+(低-HIGH),低+ (低-CLOSE));
VARC:=低+(低-OPEN);
WR1:=低+(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));
WR2:=低-(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));
M5:MA(CLOSE,5),COLORYELLOW,LINETHICK1;
M10:MA(CLOSE,10),COLORF00FF0,LINETHICK1;
M20:MA(CLOSE,20),COLORGREEN,LINETHICK1;
M30:MA(CLOSE,30),COLOR400080,LINETHICK1;
M60:MA(CLOSE,60),COLORRED,LINETHICK1;
FM1:MA(VARC,5),COLORYELLOW,LINETHICK1;
FM2:MA(VARC,10),COLORF00FF0,LINETHICK1;
FM3:MA(VARC,20),COLORGREEN,LINETHICK1;
FM4:MA(VARC,30),COLOR400080,LINETHICK1;
FM5:MA(VARC,60),COLORRED,LINETHICK1;