三连阳1 := COUNT(REF(C, 1) > MA(C, 5), 5) = 0 AND C > MA(C, 5), LINETHICK1;

三连阳2 := COUNT(REF(C, 2) > MA(C, 5), 5) = 0 AND C > MA(C, 5), LINETHICK1;

三连阳3 := COUNT(REF(C, 3) > MA(C, 5), 5) = 0 AND C > MA(C, 5), LINETHICK1;

三连阳4 := (C - O) / O > 0.01 AND (C - REF(C, 1)) / REF(C, 1) > 0.01 AND C > REF(O, 1) AND H > REF(H, 1);

三连阳5 := (C - REF(O, 2)) / REF(O, 2) < 0.15;

三连阳 := COUNT(三连阳4 AND 三连阳5, 3) = 3;

STICKLINE(三连阳, 0, 4.5, 8, 0), COLORMAGENTA;

STICKLINE(三连阳, 0.45, 8.0, 2, 0), COLORMAGENTA;

DRAWTEXT(三连阳, 6, '←三连阳'), COLORYELLOW;