What is Previous Candle Outliers?
Previous Candle Outliers puts the last completed candle of a higher timeframe on the chart. A box covers its time span from its high to its low, and a dotted line marks the middle of that range. With the default resolution that is yesterday's candle; it can also be the previous hour or the previous week.
The box is green when that candle closed above its open and red otherwise. Price trading outside the box is trading outside the previous candle's range, the outliers the name refers to.
This is a closed-source premium script. It runs on Altrady's servers, so only its output reaches your chart and its code is not published.
How to use Previous Candle Outliers
- Inside the box. Price is still within the previous candle's range. Many traders read this as the market not having decided on a direction yet.
- Outside the box. Price has traded beyond the previous high or low. Whether the move holds or comes back inside is the read traders make.
- The midpoint. The dotted line is the 50% level of the previous range. Price above it sits in the upper half of that range, below it in the lower half.
- The colour. Green or red shows whether the previous candle closed up or down, which some traders use as context for the current one.
Settings
Settings
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Resolutions | D | 60, D, W |
How it works
The Resolutions setting picks the higher timeframe: 60 for one hour, D for a day, the default, or W for a week. The script reads the candles of that timeframe and takes the last completed one, skipping the one the current chart bar belongs to while it is still forming.
It draws one box from that candle's open time to its close time, spanning its high and low, filled with a transparent version of its colour and outlined in it. A dotted blue line runs across the box at (high + low) / 2.
Only the previous candle is drawn, and only on the latest bar, so there is no history of earlier boxes. When the higher candle completes, the next one takes its place. On a chart timeframe above the chosen resolution, nothing is drawn. The script has no alerts.
Limitations
- One candle only. Only the most recent completed candle is shown. Earlier ranges are not kept on the chart.
- Higher timeframes only. On a chart above the chosen resolution, for example a daily chart with the hourly setting, nothing is drawn.
- Candle boundaries come from the data. Where a day or week starts follows the market's candles, which may differ from the sessions other traders use.
- No alerts. The script draws the box and the midpoint. It has no alert conditions.
- It is not a strategy. The box is the previous candle's range. It carries no entry or exit rule.
Get Previous Candle Outliers
Previous Candle Outliers is free in the Altrady marketplace and runs for every Altrady account. There is nothing to buy.
Frequently asked questions
The previous completed candle of the chosen timeframe: from its open time to its close time and from its high to its low.
The previous candle closed below its open, or at it. A candle that closed above its open is drawn green.
The midpoint of the previous candle's range, halfway between its high and low.
One hour, one day or one week, set with Resolutions. Day is the default.
The chart timeframe is higher than the chosen resolution, for example a 4h chart with the hourly setting.
No. Previous Candle Outliers declares no alert conditions.