Алексей! это чудесно. есть ли возможность реализовать этот индикатор на 5-6 инструментов, а не только 2. как я понял здесь можно изменять массовую долю инструмента в расчете?
Алексей! это чудесно. есть ли возможность реализовать этот индикатор на 5-6 инструментов, а не только 2. как я понял здесь можно изменять массовую долю инструмента в расчете?
И да и нет. Я в своём роботе использую эту идею реализованную в мультивалютном режиме, но в эксперте не нужно использовать рисование. Посчитал - и сделал выводы, или работать дальше или искать следующий спред. Как такой алгоритм реализовать визуально пока не понимаю. По идее должны быть какие либо критерии лучшего и уже это лучшее показывать, но эти критерии у каждого свои. Я потому индикатор и выложил в свободный доступ чтобы далее каждый сам под себя строил то что нужно и добавлял необходимые возможности.
Алексей, есть готовый код для для расчета торгуемых пар и создания синтетических инструментов, причем с расчетом как я понял доли эмитентов. Помогите разобраться в нем. Есть ли возможность изменить на 6-7 инструментов? https://sites.google.com/site/marketformula/mt4-indicators/pairs-trading-mt4-indicator
ссылка на описание индикатора
- sites.google.com
Do you know where to get this tool for MT4?
Try ChartBuilder. Most likely its capabilities will suffice.
- a couple of comments ...
- no time synchronisation
- instead of writing a bicycle for smoothing by MA or zeroing, like CLEAR, you could use standard plug-in functions, like EMA, in the MovingAverages file and ZeroMemory for zeroing structures and arrays of any complexity and nesting.
- the difference of pairs is used only if they have the same denominator, for example, USD, then at least it is clear that you are subtracting values in dollars, otherwise you will get subtraction of squirrels from buns.
- when dividing pairs, for example, EURUSD / GBPUSD, you will get an approximate synthetic EURGBP, the difference of which some have already tried to trade, but agreed that now it is so small that the spread does not pay off
- the rest of the operations are probably useless.
- judging by the fact that you have drawn levels, you want to trade inside the channel, but this is not the best because it is against the trend ... look at EURUSD for the last 3 months and imagine you went in to buy 3 months ago, hoping the price will bounce back and go up ...
- the first difference is the difference of 2 standing bars, if you take the ratio, you have to logarithm the result, otherwise you will get an incomprehensible ratio of squirrels to gophers again http://www.webmath.ru/poleznoe/formules_3_4.php.
- a couple of comments or so ...
- no time synchronisation
- instead of writing a bicycle for smoothing by MA or zeroing, like CLEAR, you could use standard plug-in functions like EMA in the MovingAverages file and ZeroMemory for zeroing structures and arrays of any complexity and nesting.
- the difference of pairs is used only if they have the same denominator, for example, USD, then at least it is clear that you are subtracting values in dollars, otherwise you will get subtraction of squirrels from buns.
- when dividing pairs, for example, EURUSD / GBPUSD, you will get an approximate synthetic EURGBP, the difference of which some have already tried to trade, but agreed that now it is so small that the spread does not pay off
- the rest of the operations are probably useless.
- judging by the fact that you have drawn levels, you want to trade inside the channel, but this is not the best, because against the trend ... look at EURUSD for the last 3 months and imagine you went in to buy 3 months ago, hoping the price will bounce back and go up ...
- the first difference is the difference of 2 standing bars, if you take the ratio, you have to logarithm the result, otherwise you will get an incomprehensible ratio of squirrels to gophers again http://www.webmath.ru/poleznoe/formules_3_4.php.
I don't remember about synchronisation, but 99.9% that it is there.
And do you know where to get the same indicator for MT5, but so that synthetic can be built on several instruments, not only on two?
https://www.mql5.com/en/market/product/14383#
this one builds on several instruments. but the possibilities are less.
- 2016.03.10
- viktor lubimov
- www.mql5.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
iSpread is a spread indicator for pair trading:
Creates a synthetic from two selected pairs.
Using this indicator you can create your synthetic symbol based on two selected pairs.
The indicator algorithm is the following:
Author: Alexey Oreshkin