10

I need to create a chart similar to what is shown and explained at https://www.tradingview.com/wiki/Compare .

at https://www.tradingview.com/widget/advanced-chart/ I can create a custom chart but there is no option for multi-symbol chart.

There are more customization options at https://github.com/mmmy/css3demos/wiki/Charts-Customization-101 but no multi-symbol option.

This can of course be done manually. But it takes a lot of time to add 20 symbols every time I reload the page.

Thoran
  • 8,884
  • 7
  • 41
  • 50

2 Answers2

2

You can do it by using createStudy() method detail here after Chart ready. For example: widget.chart().createStudy('Compare', false, false, ["open", 'APPL'])

1

Maybe I misunderstood what you want.

You wrote "at https://www.tradingview.com/widget/advanced-chart/ there is no option for multi-symbol chart.", but clicking on the balance icon pops up a window that let you add symbols (see flag on "overlay the main chart") or compare companies as shown in https://www.tradingview.com/wiki/Compare.

Is this what you are looking for?

Multi-symbol-option

alp
  • 389
  • 2
  • 5