DRAWGBK(DATE>900103,STRIP(RGB(100,180,255),RGB(120,120,255),1));
趋势线:(((CLOSE - MA(CLOSE,36)) / MA(CLOSE,36)) * 100),COLORAABBDD;
AA:=(((((REF(趋势线,1) < REF(趋势线,2)) AND (趋势线 < (0 - 30))) AND (趋势线 >= REF(趋势线,1))) OR (REF(CROSS((0 - 30),趋势线),1) AND CROSS(趋势线,(0 - 30)))) OR (趋势线 = (0 - 30)));
买入:IF(AA,500,(0 - 30)),COLOR00FFFF;
BB:=(((((REF(趋势线,1) < REF(趋势线,2)) AND (趋势线 < (0 - 20))) AND (趋势线 > (0 - 25))) AND (趋势线 >= REF(趋势线,1))) OR (REF(CROSS((0 - 20),趋势线),1) AND CROSS(趋势线,(0 - 20))));
见底:IF(BB,300,(0 - 20)),COLOR0000FF;
CC:=(((((REF(趋势线,1) < REF(趋势线,2)) AND (趋势线 < (0 - 25))) AND (趋势线 > (0 - 30))) AND (趋势线 >= REF(趋势线,1))) OR (REF(CROSS((0 - 25),趋势线),1) AND CROSS(趋势线,(0 - 25))));
低吸:IF(CC,400,(0 - 25)),COLOR00FF00;