Скрипт для парного трейдинга.
Можно анализировать дельту между 2 инструментами.
Гистограмма показывает силу расхождения между ними.
Добавлен коэффициент умножения для каждого тикера, что бы выравнять баланс между инструментами.
Можно работать на любом ТФ. Не забывайте, что данный скрипт работает на МА, поэтому при выборе больших числовых значений возможно...
(EN) I present to your attention the indicator for automatic selection of the lot size for the second tool in the pair trading. Everything is very simple:
1) Enter the names of the instruments
2) Select the period for the calculation
3) The last data is entered in the form (.... * indicator readings)
Example: It is necessary to choose the right lot size for...