Adding a custom indicator to Watchlist
How to add a custom indicator to Watchlist panel properly? This guide will show you a useful method using which you can easily add an indicator.
Last updated
How to add a custom indicator to Watchlist panel properly? This guide will show you a useful method using which you can easily add an indicator.
Last updated
Ok, letâs imagine, you have created a custom indicator and it works correctly when you add it to the âChartâ. But you want to add it to the âWatchlistâ panel too. Yes, Quantower supports this . Open âWatchlistâ -> click on âIndicators lookupâ -> and⌠you canât find it. Hmm, something is wrong. And two questions come up: âWhy I canât see it on the list?â and âHow can I add my indicator to the list?â.
Well, the reason is that your indicator doesnât implement special "IWatchlistIndicator" interface. This is the marker which is used for filtering content into âIndicators lookupâ in âWatchlistâ.
For example: Quantower platform has the built-in "Price Action Zones" indicator. Itâs designed only for work on the âChartâ panel because it uses . It doesnât implement this interface, and you canât use it in the âWatchlistâ.
Ok, letâs remember. Before adding the indicator to the chart you need to select . But after adding an indicator to the âWatchlistâ you can customize input parameters and timeframe only. Hmm⌠âHow does the Watchlist understand how deep the history needs to be downloaded?â.
âIWatchlistIndicatorâ interface provides âMinHistoryDepthsâ property which must return a minimal history depths value for the current indicator. You need to implement it correctly and thatâs all.