The Indicator condition block reads sixteen more indicators, and six that read volume. Any of its rows can also be a buy or sell signal. All of this works the same way in Backtest and in the Bot. Your strategy's chart and the script you copy to a platform draw all of them, except Heikin-Ashi candles, and they draw the Indicator signal too. They can't yet draw divergence, or one line tested against its own other line.
The indicators
- Weighted and Hull moving averages, beside simple and exponential. Every other well-known moving average has its own article, and so do the other oscillators, the other trend indicators, the statistics indicators, the volatility indicators, the money flow and volume oscillators the Ehlers filters and cycles, midprice, MACD on simple averages, the band walk and the ribbons, and the weekly VWAP, swing VWAP, ADR and time-of-day volume.
- MACD, with its signal line and histogram.
- Stochastic, with %K and %D.
- ADX, with the +DI and -DI lines.
- CCI, Williams %R, rate of change and momentum.
- Keltner channels, ATR bands (also called STARC bands) and an envelope. Each is a band around an average.
- The Ichimoku cloud, with its conversion and base lines.
- The parabolic SAR and the supertrend.
- Heikin-Ashi candles, read by their colour.
Each one is worked out the way TradingView's own version is. It uses only your broker's prices, on your computer.
An indicator with two lines can test one line against the other. For example, MACD crossing above its signal line, or +DI crossing above -DI. For other conditions, you pick which line the row reads.
Divergence
An oscillator is an indicator that swings up and down between highs and lows, like RSI. A divergence is price and an oscillator disagreeing. In a bullish one, price makes a lower low while the oscillator makes a higher low. A hidden divergence is the other way round. The row reads RSI, MACD, stochastic, CCI, Williams %R, rate of change or momentum.
You choose how many candles each side of a turn must be beyond it. You also choose the fewest and most candles between the two turns. A turn is only known once the candles after it have closed. So the divergence shows up that many candles after the low or high, never before.
The Indicator signal
A detector made from rows. You write one row for a buy and one for a sell. It fires on the closed candle where the row becomes true, and not on the candles after. If both become true on one candle, it gives no signal.
Your strategy marks each signal on your chart, and in the script you copy to TradingView or another platform, as long as its rows are ones they can draw.
The stop can go at that candle's low or high, or at a swing window. It can go at the row's own line, such as a moving average, the SAR, the supertrend or a band's middle. It can also be a set distance, or a number of average true ranges.
A stop set by the average true range
Most detectors can put the stop a number of average true ranges from the entry. You state how many candles the range covers. You also state how many ranges away the stop sits. The script you copy to a platform draws this stop too.
The chandelier trail
A trail in Continuous trade protection. A long's stop sits below the highest high of your last few candles, by a number of average true ranges. A short's stop sits above the lowest low. It only moves toward the price, never away.
Every number is yours
Each row asks for exactly the numbers its indicator reads, and flags any it doesn't read. Nothing has a default. A row that needs more candles than your warmup holds is refused when you put the strategy on an account.