日:=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,24),COLORGREEN,LINETHICK1;
M30:MA(CLOSE,34),COLOR400080,LINETHICK1;
M60:MA(CLOSE,60),COLORRED,LINETHICK1;
M90:MA(CLOSE,90),COLORFFCC00,LINETHICK1;
M120:MA(CLOSE,120),COLORBLUE,LINETHICK1;
M250:MA(CLOSE,250),COLOR006400,LINETHICK1;
FM1:MA(VARC,5),COLORYELLOW,LINETHICK1;
FM2:MA(VARC,10),COLORF00FF0,LINETHICK1;
FM3:MA(VARC,24),COLORGREEN,LINETHICK1;
FM4:MA(VARC,34),COLOR400080,LINETHICK1;
FM5:MA(VARC,60),COLORRED,LINETHICK1;
FM6:MA(VARC,90),COLORFFCC00,LINETHICK1;
FM7:MA(VARC,120),COLORBLUE,LINETHICK1;
FM8:MA(VARC,250),COLOR006400,LINETHICK1;