您可以試試這個:
{黃金分割線}
高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;} %19.1:REFDATE(H1,DATE),POINTDOT,COLORYELLOW,LINETHICK3; %38.2:REFDATE(H2,DATE),POINTDOT,COLORMAGENTA,LINETHICK3; %50:REFDATE(H3,DATE),POINTDOT,COLORLIGRAY,LINETHICK3; %61.8:REFDATE(H4,DATE),POINTDOT,COLORRED,LINETHICK3; %80.9:REFDATE(H5,DATE),POINTDOT,COLORWHITE,LINETHICK3;
{低:REFDATE(低1,DATE),POINTDOT,COLORYELLOW;}
您可以試試這個:
{黃金分割線}
高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;} %19.1:REFDATE(H1,DATE),POINTDOT,COLORYELLOW,LINETHICK3; %38.2:REFDATE(H2,DATE),POINTDOT,COLORMAGENTA,LINETHICK3; %50:REFDATE(H3,DATE),POINTDOT,COLORLIGRAY,LINETHICK3; %61.8:REFDATE(H4,DATE),POINTDOT,COLORRED,LINETHICK3; %80.9:REFDATE(H5,DATE),POINTDOT,COLORWHITE,LINETHICK3;
{低:REFDATE(低1,DATE),POINTDOT,COLORYELLOW;}