阶段底 : 10,DOTLINE;
阶段顶 : 90,DOTLINE,COLORGREEN;
XSR := 1241230;
TESTSKIP(DATE XSR);
DX := (3 * (SMA(((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100,5,1))) - (2 * (SMA(SMA(((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100,5,1),3,1)));
趋势 : DX,COLORYELLOW,LINETHICK2;{www.9m8.cn 九毛八公式指标网}
卖出预警 : IF(DX = 90,DX,DRAWNULL),COLORRED,LINETHICK2;
买入预警 : IF(DX = 10,DX,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(趋势,阶段底),10,1);
DRAWICON(CROSS(阶段顶,趋势),90,2);