N:=150;
C;
高:=HHV(H,N);
低:=LLV(L,N);
中线:高-(高-低)*0.5;
分割线:低*0.618+高*0.382;
反弹1:CROSS(C,分割线) ;
STICKLINE(反弹1=1,分割线*0.98,分割线*0.95,4,0),COLORYELLOW;
DRAWTEXT(反弹1=1,分割线*0.93,'底1'),COLORYELLOW;
反弹2:CROSS(C,中线),COLORFF00FF;{}
STICKLINE(反弹2=1,中线*0.98,中线*0.95,4,0),COLORFF00FF;
DRAWTEXT(反弹2=1,中线*0.93,'底2'),COLORFF00FF;