Use the Moving up % or Moving down % condition: it fires when the price moves that much over the number of candles you set.
- Set the chart to the interval you want the candles counted in, such as 1m.
- Right-click the chart and press the bell (Add alert), or press
Alt+A, then press More options. - Under Condition, pick Moving up % or Moving down %. Pick Moving up or Moving down for a move in price instead of percent.
- Type the size of the move in Move by, and the number of candles in Confirmed bars (1 to 500).
- Press Create Alert.
For example, on a 1m chart, Moving down % with Move by 1 and Confirmed bars 1 alerts when the price falls 1% over one closed 1m candle.
A move is measured between closed candles, so it is always checked when each candle closes: it cannot fire in the middle of a candle, and Confirmed bars starts at 1. The alert counts candles of 1m, 5m, 15m, 30m, 1h, 4h or 1D: another chart interval uses the nearest one below it, such as 1m for 3m.
There is no alert for a run of rising or falling candles in a row. For that, write an indicator with its own signal: see Can I set an alert on an indicator or my own script?