N:=14;M:=6;MM:=6;N1:=6;
高1:=REF(HHV(H,150),3);
低1:=REF(LLV(L,150),3);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
{顶:REFDATE(高1,DATE),POINTDOT,COLORWHITE;}
{低:REFDATE(低1,DATE),POINTDOT,COLORYELLOW;}
{顾比测市}
M1:EMA(C,5),COLORRED,LINETHICK4;
M2:EMA(M1,5),COLORBLUE;
M3:EMA(M2,5),COLORBLUE;
M4:EMA(M3,5),COLORBLUE;
M5:EMA(M4,5),COLORBLUE;
PARTLINE(M1,M1>REF(M1,1)),COLORGREEN;
PARTLINE(M2,M2>REF(M2,1)),COLORGREEN;
PARTLINE(M3,M3>REF(M3,1)),COLORGREEN;
PARTLINE(M4,M4>REF(M4,1)),COLORGREEN;
PARTLINE(M5,M5>REF(M5,1)),COLORGREEN;