OPEN-SOURCE SCRIPT

R2D2 v1.0

By Space_Surfer
Скрипт для парного трейдинга.
Можно анализировать дельту между 2 инструментами.
Гистограмма показывает силу расхождения между ними.
Добавлен коэффициент умножения для каждого тикера, что бы выравнять баланс между инструментами.
Можно работать на любом ТФ. Не забывайте, что данный скрипт работает на МА, поэтому при выборе больших числовых значений возможно запаздывание.

______________

Script for pair trading.
You can analyze the Delta between 2 tools.
The histogram shows the strength of the discrepancy between them.
Added a multiplication factor for each Ticker to even out the balance between instruments.
You can work on any TF. Do not forget that this script works on MA, so when selecting large numeric values, there may be a delay.
Oscillatorspairtradingпарныйтрейдинг

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer