-
How to add a study/indicator to the chart? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
This is related to #633. Yes, it is possible.
If you'd like to add several indicators to the chart, just create several series (one series for one single-valued study) with their own options and study/indicator's data. If your study has several outputs (like Bollinger Bands), you can create several series - one series for one study output/plot. But in this case you need to pay attention on what price scale that series are using - quite probably you want to be sure that all a study's outputs are attached to the same price scale. To do it, use |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Is there a way we can get access to the regular indicators provided my tradingview pro charts? Would love to be able to offer users a dropdown they could select different indicators. |
Beta Was this translation helpful? Give feedback.
This is related to #633.
Yes, it is possible.
lightweight-charts
knows nothing about what exactly you display in the chart - for the library all data sources are series (with different types of the data/displaying).If you'd like to add several indicators to the chart, just create several series (one series for one single-valued study) with their own options and study/indicator's data.
If your study has several outputs (like Bollinger Bands), you can create several series - one series for one study output/plot. But in this case you need to pay attention on what price scale that series are using - quite probably you want to be sure that all a study's outputs are attached to the same price …