简体   繁体   English

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?我想知道是否可以在 TradingView 中回测同一脚本中的多个符号? 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 !谢谢 !

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.您可以使用security()从其他代码获取信息以用于您的计算,但无法在它们上执行订单。

you can't use only one symbol in the chart.您不能在图表中只使用一个符号。 you can use security function to fetch data from another symbolss up to 40 symbols.您可以使用安全性 function 从另一个符号中获取最多 40 个符号的数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM