Home › Documentation › Building strategies
Block 7

Chart — visual indicators

The candlestick chart takes any indicator in the catalogue, as in TradingView. Click Indicators in the top bar (or press /) and type what you are looking for: «RSI», «ADX», «Bollinger», «hammer»…

On the price

Moving averages (SMA, EMA), channels (Bollinger, Keltner, Donchian), N-bar highs and lows, SuperTrend and Parabolic SAR. Channels come with their three lines; the middle one dashed.

In their own pane

Oscillators (RSI, stochastic, MFI, Williams %R, CCI…), trend strength (ADX), MACD with its histogram, volatility (ATR, standard deviation), percentiles and candle measures. Each one carries its usual guides: 70/30 on the RSI, 80/20 on the stochastic, ±100 on the CCI, 25 on the ADX…

Marks on the candle

Candlestick patterns (hammer, engulfing, doji…) are marked with a dot on every candle where they occur: below for bullish ones, above for bearish ones.

How to add and adjust an indicator

① Click Indicators and type part of the name or the description. Choose with the arrow keys and add with Enter, or with a click. The search stays open so you can add several, and ticks ✓ the ones you already have.
② Each indicator appears in the legend in the top-left corner, with its value on the bar under the cursor (with no cursor, the last bar’s).
③ Hover over its row and three buttons appear: ⚙ to change the period, the source (close, open, high or low), the offset [n] and the colour; ◉ to hide it without losing its settings, and × to remove it.
④ You can add the same indicator more than once (a 50 and a 200 SMA). The Show volume box is in the search window itself.

What you see is what the strategy uses

They are all computed with the same code as the backtest engine, with the same period, source and offset you would write in a rule. If a strategy says «ADX(14)[5] > 25», the ADX(14) offset by 5 on the chart is exactly that one.

It remembers by itself

The indicators you add are saved straight away and, next time you open the chart, they are drawn on their own, on any symbol. The ones from the old panel are carried over the first time.

See your trades on the chart

A backtester that does not show you where it traded leaves the trade list in one window and the chart in another, and the only way to put them together is to read a date and hunt it down manually. Not here.

In Performance, the «See on chart» button opens the chart with your trades drawn on the price.

▲ Green arrow

Below the bar: long entry.

▼ Red arrow

Above the bar: short entry.

● Circle

The exit, green or red depending on how it ended.

And from then on, the chart follows you

Every time you pick a row in the Trades tab —with the mouse or the arrow keys—, the chart jumps to that bar and highlights the trade in amber. If it falls outside the loaded stretch, it fetches it on its own: with one-minute series there are millions of bars and the chart never holds them all at once.

It opens on the same data Performance already had, so it appears instantly even if you are looking at eight million bars. That is also why it closes with Performance: shut that window and the chart goes with it.

This is how you discover that your strategy always enters late, or that its best trades all happened in the same month.

Try it yourself

AniQuant can be tried free for 14 days, with every module and no card. If you have the book, 30.

← Previous
Strategy generation: exhaustive, random, genetic
Next →
Ranking criterion
More in Building strategies