By the way, the instruments and transaction directions are chosen in such a way that the total swaps are always positive. Therefore, you can wait for the delta sign to change as long as you like, but it rarely takes more than a day.
DrawDown:
if at the moment values of correlations between a/b and b/c for period N are positive and located near its maximum, then after some time values of correlations between the same instruments for the same period will become negative and will reach or will almost reach their minimum.
Oh, shaitan... I'm just now meditating on the correlation graphs and trying to figure out what I can get out of these flights of coefficients of correlation from 1 to -1 and back again.if at the moment values of correlations between a/b and b/c for period N are positive and located near its maximum, then after some time values of correlations between the same instruments for the same period will become negative and will reach or will almost reach their minimum.
By the way, it is possible to test on history as correlations are counted, and trades should be opened on one pair, then run on another pair and add up the results.
timbo:
DrawDown:
if at the moment values of correlations between a/b and b/c for period N are positive and located near its maximum, then after a while values of correlations between the same instruments for the same period will become negative and reach or almost reach their minimum.
Oh, shaitan... I'm just now meditating on correlation charts and trying to figure out what I can get out of these correlation coefficients flying from 1 to -1 and back again.if at the moment values of correlations between a/b and b/c for period N are positive and located near its maximum, then after a while values of correlations between the same instruments for the same period will become negative and reach or almost reach their minimum.
By the way, it is possible to test on history, because correlations are counted, and trades should be opened on one pair, then run on another pair and add up the results.
That's what I tried. Of the above trades in the tester 2 are missing and 2 have a time difference. That's why I preferred not to believe the results of backtest on minutes. Although the demo is not an indicator, but with a "noisy" brokerage company even with average slippage and requote frequency the system is able to show the same results as on a forward demo. So it is better to perform a forward test, though with an interrupted Internet.
By the way, I do not consider the correlation itself, as I could not see anything in the flight of its coefficients. I use only increments of the latter ;) The correlation itself does not change its sign.
DrawDown:
This I have tried. Of the above trades in the tester, 2 are missing and 2 have a time difference. That's why I preferred not to believe the results of backtest on minutes. Although the demo is not an indicator, but in case of a "noisy" brokerage company even with average slippage and requote frequency the system is able to show the same results as in forward demo. So it is better to perform a forward test, though with an interrupted Internet.
By the way, I do not consider the correlation itself, as I could not see anything in the flight of its coefficients. I use only increments of the latter ;) The correlation itself does not change its sign.
This I have tried. Of the above trades in the tester, 2 are missing and 2 have a time difference. That's why I preferred not to believe the results of backtest on minutes. Although the demo is not an indicator, but in case of a "noisy" brokerage company even with average slippage and requote frequency the system is able to show the same results as in forward demo. So it is better to perform a forward test, though with an interrupted Internet.
By the way, I do not consider the correlation itself, as I could not see anything in the flight of its coefficients. I use only increments of the latter ;) The correlation itself does not change its sign.
A couple of years ago I started dealing with MQL by writing a similar Expert Advisor. If you may look here This is a dealing center robbery and nobody will stand it for a long time.
New:
A couple of years ago I started dealing with MQL by writing a similar Expert Advisor. If you may look here This is a dealing center robbery and nobody will stand it for a long time.
DrawDown:
This I have tried. Of the above trades in the tester 2 are missing and 2 have a time difference. That's why I preferred not to believe the results of backtest on minutes. Although the demo is not an indicator but with a "noisy" brokerage company even with average slippage and requote frequency the system is able to show the same results as on a forward demo. So it is better to perform a forward test, though with an interrupted Internet.
By the way, I do not consider the correlation itself, as I could not see anything in the flight of its coefficients. I use only increments of the latter ;) The correlation itself does not change its sign.
This I have tried. Of the above trades in the tester 2 are missing and 2 have a time difference. That's why I preferred not to believe the results of backtest on minutes. Although the demo is not an indicator but with a "noisy" brokerage company even with average slippage and requote frequency the system is able to show the same results as on a forward demo. So it is better to perform a forward test, though with an interrupted Internet.
By the way, I do not consider the correlation itself, as I could not see anything in the flight of its coefficients. I use only increments of the latter ;) The correlation itself does not change its sign.
A couple of years ago I started dealing with MQL by writing a similar Expert Advisor. If you may look here This is a dealing center robbery and nobody will stand it for a long time.
Well, almost, but not quite. As I understand it, the principle of your Expert Advisor is triangular arbitrage. In the beginning I also tried to realize this idea, but could not find combinations of pairs, the aggregate swap of which would give profit (as described by Michel on Kreislick.com). Therefore this method of arbitrage is possible only on futures (maybe somewhere else, but obviously not on forex). And in my case pipsips may not be (or may not?!!!), but if anything, I can set the minimum time of position holding equal to or more than 24 hours. Then it definitely cannot be called "pips", and swaps will give a profit, because I do not include them in calculations of the latter. And the last deal looks like this:
12843214 | 2007.05.10 03:32 | buy | 1.00 | nzdusd | 0.7330 | 0.0000 | 0.0000 | 2007.05.10 03:40 | 0.7342 | 0.00 | 0.00 | 0.00 | 240.00 |
12843216 | 2007.05.10 03:32 | sell | 1.00 | audusd | 0.8309 | 0.0000 | 0.0000 | 2007.05.10 03:40 | 0.8320 | 0.00 | 0.00 | 0.00 | -220.00 |
Profit equals 1 pip, but show me the place where this trade is called a pips.
DrawDown, alas, is still pure pipsing - even on the results of almost every trade. What to say about the expected payoff which is less than 1.5 pips... Increasing TP to 2 pips will not change anything qualitatively. And it is not serious to review the results within one day.
triangular arbitrage. I also tried to implement this idea in the beginning, but I could not find a combination of pairs, the total swap of which would give plus
.
Take a look at, say, here: http://kreslik.com/forums/userpix/2_FPI_ControlPanel_Rings_1.png . Not necessarily all crosses are quoted, but you can check them out.
Mathemat:
triangular arbitrage. I also tried this idea in the beginning, but could not find a combination of pairs whose total swap would be positive
Interesting, interesting... Can you send to drawdown!sobaka_rambler=ru the names and addresses of DCs with such swaps?
Mathemat:
Look at, say, here: http://kreslik.com/forums/userpix/2_FPI_ControlPanel_Rings_1.png . Not necessarily all crosses are quoted, but you can check it out.
Look at, say, here: http://kreslik.com/forums/userpix/2_FPI_ControlPanel_Rings_1.png . Not necessarily all crosses are quoted, but you can check it out.
Huh... it's just from this resource that I started trying to find pairs with swaps, allowing to hold positions opened by the method described there. It is possible to open them - no problem, but swaps will give minus.
My last trade shows 12 points of profit in NZDUSD and 11 points of loss in AUDUSD but not 1 point of profit in any of the instruments.
At the very least, you can try to prohibit the Expert Advisor to close trades until the price goes away from the opening level by a certain number of points. But in this case the number of deals will be reduced by 5-10 times. But it does not guarantee that the total profit of the hedge will exceed 1-2 points. My mobile phone battery ran out today. I got home only 2.5 hours later. The deal was still open. Now I looked, it could have closed 3 times during that time. I'll see what happens to it next.
Can you show me the advisor?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
So we have two correlated currency pairs a/b and c/b, and correspondingly three currencies a, b, and c. It is not a secret that correlation is not absolute (at least for various Forex instruments) and its delta fluctuates around zero axis. Besides zero axis we have the maximum of correlation for the same period and its minimum. The method comes down to the following:
If at the moment the values of the correlation between a/b and b/c for period N are positive and are located near their maximum, then after a while the values of the correlation between the same instruments for the same period will be negative and will reach or nearly reach their minimum. Such discrepancies between the instruments allow arbitrage trades even within one brokerage company.
Unfortunately (or maybe fortunately) there is no possibility to backtest multicurrency in MT4, so I will post the results of forward testing. The Expert Advisor is not very advanced, I finalized it only last night, but it implements my idea to the full extent. Here is the result of last night's work:
Due to slippages and requotes trades sometimes close with no profit, sometimes with super profit (more than planned), and sometimes with a loss (though I haven't had any such in 4 trades yet). So today I increased max and min correlations needed to make a trade, and also increased take profit to 2 pips. There will be less trades, but the reliability will increase many times over.