Skip to main content

'Run per Candle' Block

Triggers strategy actions only at new candle openings to avoid rapid executions.

Purpose

The Run per Candle block ensures that connected actions or trade rules execute only once at the start of a new candle, preventing multiple triggers within the same bar.

How It Works

  • Executes only once when a new candle (bar) opens.

  • Can be set to a specific timeframe (e.g., 1M, 5M, 1H, 4H).

  • If the timeframe is set to Current, it follows the chart’s timeframe.

Run per candle expert advisor

Use Case

  • Prevents overtrading by limiting execution to once per candle.

  • Ideal for trend-following strategies based on closing prices.

  • Works well for swing trading and longer-term strategies.

Note: Unlike Run per Tick, this block ignores price fluctuations within the candle—it only triggers at the start of each new one.

Did this answer your question?