pine-script

Pine-Script + Multiple Symbol Strategy


I would like to know if it is possible in TradingView to backtest multiple Symbol in the same script ? In other words, stand out from the symbol applied to the graphic.

I found how to call other symbol with the commande security, but after to place order, i don't succeed to stand out the symbol applied to the graph.

Thank you !


Solution

  • Strategy orders are only generated on the chart's symbol. You can use security() to fetch information from other tickers to use in your calcs, but orders cannot be executed on them.