The Inputs tab — the numbers, the price an indicator reads, how it is calculated, an indicator on another indicator, and an indicator from a higher timeframe on a lower chart.
01The numbers
Each indicator's own inputs — a period, a deviation, a multiplier — with their defaults. A whole number runs from 1 to 10,000 unless the input has its own range. Each indicator's page in the reference lists its inputs.
02The price it reads
Applied price
- Where
- The settings card › Inputs
- What it does
- Which price of each bar the study reads; several can be ticked, each its own line.
- Choices
- Close, Open, High, Low, Median (HL/2), Typical (HLC/3), Weighted (HLCC/4)
- Default
- Close
The seven prices are Close, Open, High, Low, Median (H+L)/2, Typical (H+L+C)/3 and Weighted (H+L+2C)/4. Tick more than one and the indicator draws a line for each — an EMA of the highs and an EMA of the lows, in one study, each with its own look.
Source can also be a line of another indicator on the chart: an EMA of an RSI, an average of a MACD.
03How it is calculated
Calculation
- Where
- The settings card › Inputs, on the fourteen studies where it matters
- What it does
- Which convention computes the study.
- Choices
- TA-Lib, MT5
- Default
- TA-Lib
MetaTrader and TA-Lib — the library most charting software uses — calculate fourteen indicators differently: EMA, DEMA, TEMA, Stochastic, Momentum, ROC, MACD, ADX, TRIX, ATR, FrAMA, VIDYA, Bears Power and Bulls Power. On those, a Calculation choice picks either; a new one starts on TA-Lib. Choose MT5 to see exactly what your MetaTrader shows.
04A higher timeframe
Timeframe and higher candle
- Where
- The settings card › Inputs
- What it does
- Computes the study on a longer timeframe than the chart's.
- Choices
- Chart, or any longer interval; Higher candle — Last closed, Forming
- Default
- Chart; Last closed
- When to change it
- Keep Last closed: Forming redraws recent values as the candle forms, which a strategy could never have known.
Put the daily 50-period average on an hourly chart, or the four-hour RSI on a fifteen-minute one. With Last closed, each hour shows the value of the last closed daily candle — what you would really have known at that hour. Forming shows the daily candle as it stood at that hour, still changing.
A timeframe shorter than the chart's is never offered. If the chart's interval does not divide into the indicator's (a 3-hour chart and a 2-hour indicator), the indicator is folded from finer candles, where the workbench has them.
05Price-built charts
Calculate on
- Where
- The settings card › Inputs, on a price-built chart (Renko, Kagi, Point & Figure, Line break, Range bars)
- What it does
- Whether the study computes on the chart's own elements or on the time candles behind them.
- Choices
- Bricks / Bars / Lines / Columns, Candles
- Default
- the elements
On Renko, an RSI of 14 is by default the RSI of the last 14 bricks. Choose Candles to compute it on the time candles the bricks were built from.
On the elements, each brick, bar, line or column is read as a candle: its open and close where it starts and ends, its high and low, and the volume of the candles that made it. On the candles, the study runs on the time candles the chart is built from, and each element shows the study's value at the candle that closed it.
06Warm-up
An indicator needs history before its first value — a 200-period average needs 200 candles. If the workbench does not hold enough, the Inputs tab says how many days more it needs and offers Download.