ignore signals in past candles

  1. V

    AFL how to ignore signals generating in previous candles.

    Below is my code: st = SuperTrend(10,3); _x = TimeFrameGetPrice("H", inDaily, -1); _y = (_x * 1.009); _z = TimeFrameGetPrice("H", inDaily ); cond1 = Cross(C, st); cond2 = _z > _y; Buy = cond1 AND cond2; Sell = Cross(st, C) ; Plot(_y, "PDaysH", colorGold,styleDashed,0,0,0,0,0)...