Z:=120;
X:=5;
游资黑马线:=LLV( LOW,Z);
指标公式:=HHV(HIGH , Z);{股票公式-股票指标www.gs6699.com}
gddds1:=100*(CLOSE-游资黑马线)/(指标公式-游资黑马线);
gddds2:MA(gddds1,X),LINETHICK1,COLORCYAN;
IF(gddds2>60,gddds2,DRAWNULL),LINETHICK2,COLORRED;
gddds3:=LLV(INDEXL,Z);
gddds4:=HHV(INDEXH,Z);
gddds5:=100*(INDEXC-gddds3)/(gddds4-gddds3);
gddds6:MA(gddds5,X),LINETHICK1,COLORYELLOW;
DRAWICON(CROSS(MA(gddds1,X),MA(gddds5,X)),MA(gddds1,X),1);
DRAWICON(CROSS(MA(gddds5,X),MA(gddds1,X)),MA(gddds1,X),2);