Complex arbitration - page 4

 

MForex, can correlation be calculated in more than one way?

SK. Let me repeat: the correlation of the absolute values of the currency triples in question, i.e. AUD/USD and NZD/USD, EUR/JPY and CHF/JPY, EUR/USD and GBP/USD.

It is not a secret, but it cannot be, because the trading decision is made not by the absolute values of the correlation coefficients (CC), but, as I said above, by the dynamics of their increments. Let me explain: if at the momentthe difference (D) between the current AC and the AC of the X-period is negative, which indicates a decrease in correlation, then the hedge opened at that moment on the pair in question is very likely to bring profit, because D becomes equal to zero after a while, and then it becomes positive (correlation increase) and then negative again. Outliers outside the average range of D oscillations will of course occur, but very rarely and so far the moments of such extrema have not resulted in a loss, though I do not rule out that they (D extrema) can cause a shift in the absolute value of the considered pairs. Because of this shift it becomes impossible to objectively estimate the correlation (which incidentally will be low) in a short time interval, therefore a hedge that survived such a shift will most likely be closed with a loss - but not always. My statement has transactions lasting for several days - there was a price difference leading to a sharp drop in correlation and appearance of a shift - but nevertheless these hedges were closed with profit. Generally speaking, this is the most complex moment of this TS.

I made a mess of it, of course, but it was the best I could do.

To put it simply, when AUD rises against the falling NZD, you should sell AUD and buy NZD. At some moment in future either AUD will fall more than NZD, or vice versa NZD will grow more than AUD. Of course, we are speaking about the distance travelled by one of the pairs, and not its absolute values. I hope it is clearer that way ;)

I managed to forward the whole week. Yes, it closed with two hedges, which are undergoing the shifts I have already mentioned. Now, let's check what will happen with them next week.

 

Below is the continuation of the statement, all of it cannot fit anymore, so I only put up the past week, the rest is above. By the way, no one pipsipser in forward testing, even demo, has ever shown me such results.

Account: 472823 Name: DrawDown Currency: USD 2007 June 15, 22:59
Closed Transactions:
Ticket Open Time Type Lots Item Price S / L T / P Close Time Price Commission Taxes Swap Profit
13315619 2007.06.07 13:12 buy 1.00 gbpusd 1.9864 0.0000 0.0000 2007.06.12 05:49 1.9721 0.00 0.00 -4.62 -1 001.00
13315628 2007.06.07 13:12 sell 1.00 eurusd 1.3474 0.0000 0.0000 2007.06.12 05:49 1.3363 0.00 0.00 8.90 1 110.00
13316388 2007.06.07 13:29 buy 1.00 eurjpy 163.65 0.00 0.00 2007.06.13 18:33 162.74 0.00 0.00 39.74 -743.46
13316389 2007.06.07 13:29 sell 1.00 chfjpy 99.23 0.00 0.00 2007.06.13 18:33 98.31 0.00 0.00 -18.36 751.45
13354374 2007.06.08 15:47 sell 1.00 nzdusd 0.7526 0.0000 0.0000 2007.06.11 13:35 0.7505 0.00 0.00 -13.40 420.00
13354377 2007.06.08 15:47 buy 1.00 audusd 0.8423 0.0000 0.0000 2007.06.11 13:35 0.8427 0.00 0.00 1.80 80.00
13360167 2007.06.08 22:09 buy 1.00 audusd 0.8446 0.0000 0.0000 2007.06.11 13:35 0.8427 0.00 0.00 1.80 -380.00
13395762 2007.06.12 19:10 buy 1.00 gbpusd 1.9745 0.0000 0.0000 2007.06.12 19:32 1.9753 0.00 0.00 0.00 56.00
13395764 2007.06.12 19:10 sell 1.00 eurusd 1.3322 0.0000 0.0000 2007.06.12 19:32 1.3325 0.00 0.00 0.00 -30.00
13397532 2007.06.12 20:51 buy 1.00 gbpusd 1.9765 0.0000 0.0000 2007.06.12 21:07 1.9762 0.00 0.00 0.00 -21.00
13397533 2007.06.12 20:51 sell 1.00 eurusd 1.3320 0.0000 0.0000 2007.06.12 21:07 1.3314 0.00 0.00 0.00 60.00
13399587 2007.06.12 23:47 buy 1.00 nzdusd 0.7486 0.0000 0.0000 2007.06.13 00:25 0.7487 0.00 0.00 9.20 20.00
13399589 2007.06.12 23:47 sell 1.00 audusd 0.8400 0.0000 0.0000 2007.06.13 00:25 0.8397 0.00 0.00 -7.00 60.00
13401338 2007.06.13 03:15 buy 1.00 gbpusd 1.9747 0.0000 0.0000 2007.06.13 03:26 1.9753 0.00 0.00 0.00 42.00
13401340 2007.06.13 03:15 sell 1.00 eurusd 1.3295 0.0000 0.0000 2007.06.13 03:26 1.3297 0.00 0.00 0.00 -20.00
13407070 2007.06.13 09:21 buy 1.00 nzdusd 0.7489 0.0000 0.0000 2007.06.13 09:51 0.7493 0.00 0.00 0.00 80.00
13407071 2007.06.13 09:21 sell 1.00 audusd 0.8400 0.0000 0.0000 2007.06.13 09:51 0.8400 0.00 0.00 0.00 0.00
13411895 2007.06.13 12:14 buy 1.00 nzdusd 0.7464 0.0000 0.0000 2007.06.13 12:57 0.7476 0.00 0.00 0.00 240.00
13411897 2007.06.13 12:14 sell 1.00 audusd 0.8364 0.0000 0.0000 2007.06.13 12:57 0.8373 0.00 0.00 0.00 -180.00
13414994 2007.06.13 14:37 buy 1.00 nzdusd 0.7491 0.0000 0.0000 2007.06.14 05:11 0.7503 0.00 0.00 28.20 240.00
13414995 2007.06.13 14:37 sell 1.00 audusd 0.8377 0.0000 0.0000 2007.06.14 05:11 0.8385 0.00 0.00 -19.80 -160.00
13421461 2007.06.13 19:57 buy 1.00 eurjpy 162.67 0.00 0.00 2007.06.13 20:15 162.82 0.00 0.00 0.00 122.50
13421462 2007.06.13 19:57 sell 1.00 chfjpy 98.26 0.00 0.00 2007.06.13 20:15 98.37 0.00 0.00 0.00 -89.81
13429309 2007.06.14 08:50 buy 1.00 eurjpy 163.39 0.00 0.00 2007.06.14 12:53 163.61 0.00 0.00 0.00 178.96
13429310 2007.06.14 08:50 sell 1.00 chfjpy 98.72 0.00 0.00 2007.06.14 12:51 98.84 0.00 0.00 0.00 -97.59
13435741 2007.06.14 14:27 buy 1.00 nzdusd 0.7499 0.0000 0.0000 2007.06.15 14:15 0.7522 0.00 0.00 9.60 460.00
13435743 2007.06.14 14:27 sell 1.00 audusd 0.8345 0.0000 0.0000 2007.06.15 14:14 0.8364 0.00 0.00 -7.00 -380.00
13436908 2007.06.14 14:45 buy 1.00 eurjpy 163.60 0.00 0.00 2007.06.14 15:34 163.68 0.00 0.00 0.00 65.02
13436910 2007.06.14 14:45 sell 1.00 chfjpy 98.79 0.00 0.00 2007.06.14 15:34 98.81 0.00 0.00 0.00 -16.25
13455467 2007.06.15 14:49 buy 1.00 eurjpy 164.64 0.00 0.00 2007.06.15 15:16 164.80 0.00 0.00 0.00 129.60
13455470 2007.06.15 14:49 sell 1.00 chfjpy 99.22 0.00 0.00 2007.06.15 15:16 99.34 0.00 0.00 0.00 -97.17
0.00 0.00 29.06 899.25
Closed P/L: 928.31
Open Trades:
Ticket Open Time Type Lots Item Price S / L T / P Price Commission Taxes Swap Profit
13401530 2007.06.13 03:36 sell 1.00 eurusd 1.3300 0.0000 0.0000 1.3390 0.00 0.00 8.90 -900.00
13401529 2007.06.13 03:36 buy 1.00 gbpusd 1.9759 0.0000 0.0000 1.9761 0.00 0.00 -3.71 14.00
13454187 2007.06.15 14:30 buy 1.00 nzdusd 0.7525 0.0000 0.0000 0.7549 0.00 0.00 0.00 480.00
13454215 2007.06.15 14:31 sell 1.00 audusd 0.8374 0.0000 0.0000 0.8423 0.00 0.00 0.00 -980.00
0.00 0.00 5.19 -1 386.00
Floating P/L: -1 380.81
Working Orders:
Ticket Open Time Type Lots Item Price S / L T / P Market Price
No transactions
Summary:
Deposit/Withdrawal: 0.00 Credit Facility: 0.00
Closed Trade P/L: 928.31 Floating P/L: -1 380.81 Margin: 5 892.93
Balance: 13 717.40 Equity: 12 336.59 Free Margin: 6 443.66
Details:
Gross Profit: 4 134.47 Gross Loss: 3 206.16 Total Net Profit: 928.31
Profit Factor: 1.29 Expected Payoff: 29.95
Absolute Drawdown: 895.42 Maximal Drawdown (%): 1 383.82 (10.42%)
Total Trades: 31 Short Positions (won %): 15 (40.00%) Long Positions (won %): 16 (75.00%)
Profit Trades (% of total): 18 (58.06%) Loss trades (% of total): 13 (41.94%)
Largest profit trade: 1 118.90 loss trade: -1 005.62
Average profit trade: 229.69 loss trade: -246.63
Maximum ($): 4 (184.20) consecutive losses ($): 2 (-1 383.82)
Maximal consecutive profit (count): 1 174.90 (2) consecutive loss (count): -1 383.82 (2)
Average consecutive wins: 2 consecutive losses: 1

 
DrawDown:

MForex, can the correlation be calculated in more than one way?

It is not the correlation that can be calculated, but the correlation coefficients, of which there are dozens (and therefore ways of calculating them).

DrawDown:

SK. Let me repeat: the correlation of the absolute values of the currency triples in question, i.e. AUD/USD and NZD/USD, EUR/JPY and CHF/JPY, EUR/USD and GBP/USD.

It is not a secret, but it cannot be, because the trading decision is made not by the absolute values of the correlation coefficients (CC), but, as I said above, by the dynamics of their increments. Let me explain: if at the momentthe difference (D) between the current AC and the AC of the X-period is negative, which indicates a decrease of the correlation, then the hedge opened at that moment on the pair in question is very likely to bring profit, because D becomes equal to zero after a while, and then it becomes positive (correlation increase) and then negative again. Outliers outside the average range of D oscillations will of course occur, but very rarely and so far the moments of such extrema have not resulted in a loss, though I do not rule out that they (D extrema) can cause a shift in the absolute value of the considered pairs. Because of this shift it becomes impossible to objectively estimate the correlation (which incidentally will be low) in a short time interval, therefore a hedge that survived such a shift will most likely be closed with a loss, but not always. My statement has transactions lasting for several days - there was a price difference leading to a sharp drop in correlation and appearance of a shift - but nevertheless these hedges were closed with profit. Generally speaking, this is the most complex moment of this TS.

I made a mess of it, of course, but it was the best I could do.

To put it simply, when AUD rises against the falling NZD, you need to sell AUD and buy NZD. At some moment in future either AUD will fall more than NZD, or vice versa NZD will grow more than AUD. Of course, we are speaking about the distance travelled by one of the pairs, and not its absolute values. I hope it is clearer that way ;)

I managed to forward the whole week. Yes, it closed with two hedges that are undergoing the shifts I have already mentioned. Now, let's check what will happen with them next week.

This is one of those rare occasions when I'm at a loss for a better answer.

Better anecdote:

- Mum, Dad's fallen down the stairs!

- What did he say?

- Well... it's... um...

- You don't have to say any bad words.

- Nothing, then. :)

Anyway, I'll be quiet. No hard feelings, I hope.

 

Well, how can there be any hard feelings? :) It's a rare case indeed :)) And like I said, I haven't come across anything like it yet.

 
Complex arbitrage is very interesting. I am also developing a similar Expert Advisor. I have put it to a demo test with GBPUSD.


results from 18.06:
TicketOpen TimeTypeLotsItemPriceS / LT / PClose TimePriceCommissionTaxesSwapProfit
35340492007.06.18 19:37balanceDeposit1 000.00
35342162007.06.18 19:59buy0.10gbpusd1.98310.00000.00002007.06.19 12:271.98380.000.00-0.127.00
35342182007.06.18 19:59buy0.20usdchf1.24090.00000.00002007.06.19 12:271.24200.000.002.0017.71
35342212007.06.18 19:59buy0.10gbpusd1.98320.00000.00002007.06.19 12:001.98280.000.00-0.12-4.00
35342282007.06.18 20:00sell0.20eurusd1.34080.00000.00002007.06.19 12:001.33950.000.000.9426.00
35431422007.06.19 16:37buy0.10gbpusd1.98780.00000.00002007.06.20 11:331.99220.000.00-0.1244.00
35431432007.06.19 16:37buy0.20usdjpy123.440.000.002007.06.20 11:33123.360.000.001.87-12.97
35555622007.06.20 19:00buy0.10gbpusd1.99370.00000.00002007.06.21 10:031.99270.000.00-0.36-10.00
35555692007.06.20 19:00buy0.20usdchf1.23780.00000.00002007.06.21 10:031.24020.000.006.0138.70
0.000.0010.10106.44
Closed P/L:116.54
Gross Profit:142.12Gross Loss:25.58Total Net Profit:116.54
Profit Factor:5.56Expected Payoff:14.57
Absolute Drawdown:4.12Maximal Drawdown:11.10 (1.06%)Relative Drawdown:1.06% (11.10)
 

Last week's report. Bold is the trades which were opened in the previous report. Total floating loss was slightly more than -1500$ during the week, but I was sure that they will close with profit after a while.

Yes, there is one thing: computer was off from Tuesday until now, so these two hedges made more profit than they should have done with 24/7 computer turned on, because they would have closed earlier, with a total profit of about $100. But after they closed there were more trades, which would have brought the total weekly profit to $500 on the plus side.

Account: 472823 Name: DrawDown Currency: USD 2007 June 22, 13:42
Closed Transactions:
Ticket Open Time Type Lots Item Price S / L T / P Close Time Price Commission Taxes Swap Profit
13473561 2007.06.18 09:28 buy 1.00 eurjpy 165.40 0.00 0.00 2007.06.18 11:37 165.50 0.00 0.00 0.00 80.99
13473562 2007.06.18 09:28 sell 1.00 chfjpy 99.49 0.00 0.00 2007.06.18 11:37 99.55 0.00 0.00 0.00 -48.59
13454215 2007.06.15 14:31 sell 1.00 audusd 0.8374 0.0000 0.0000 2007.06.22 13:37 0.8484 0.00 0.00 -47.00 -2 200.00
13401530 2007.06.13 03:36 sell 1.00 eurusd 1.3300 0.0000 0.0000 2007.06.22 13:37 1.3432 0.00 0.00 24.80 -1 320.00
13401529 2007.06.13 03:36 buy 1.00 gbpusd 1.9759 0.0000 0.0000 2007.06.22 13:37 1.9962 0.00 0.00 -10.43 1 421.00
13454187 2007.06.15 14:30 buy 1.00 nzdusd 0.7525 0.0000 0.0000 2007.06.22 13:37 0.7662 0.00 0.00 72.00 2 740.00
0.00 0.00 39.37 673.40
Closed P/L: 712.77
Open Trades:
Ticket Open Time Type Lots Item Price S / L T / P Price Commission Taxes Swap Profit
13493730 2007.06.19 08:28 sell 1.00 chfjpy 99.68 0.00 0.00 100.61 0.00 0.00 -26.57 -749.27
13493729 2007.06.19 08:28 buy 1.00 eurjpy 165.99 0.00 0.00 166.70 0.00 0.00 53.92 572.16
0.00 0.00 27.35 -177.11
Floating P/L: -149.76
Working Orders:
Ticket Open Time Type Lots Item Price S / L T / P Market Price
No transactions
Summary:
Deposit/Withdrawal: 0.00 Credit Facility: 0.00
Closed Trade P/L: 712.77 Floating P/L: -149.76 Margin: 2 150.14
Balance: 14 430.17 Equity: 14 280.41 Free Margin: 12 130.27

 
Paramon:
Complex arbitrage is very interesting. I am also developing a similar Expert Advisor. I have put the GBPUSD group on demo test.

Interesting how you combine pairs in hedges.

Tell me, are you the same Paramon, whose system was famous on the Forex Club forum?

 
DrawDown:
Paramon:
Complex arbitrage is very interesting. I am also developing a similar Expert Advisor. I am testing a group with GBPUSD.

Interesting how you combine pairs in hedges.


Tell me, are you the same Paramon, whose system was popular on the Forex Club forum?


Why interesting. GBPUSD-EURUSD,GBPUSD-USDCHF and GBPUSD-USDJPY.
With a lot ratio of 1:2, 1:1.5 and 1:2 respectively.
All swaps are positive.
For the calculations I use correlation coefficient (CC) between pairs, and iMA (simple moving average).

Ido not understand your approach to using correlation coefficient and entry point (i.e. it does not differ much from mine,
if its value is greater than 0.90 or less than 0.90 (It depends on the pair) ).
Although probably my way of calculating QC is different from yours, I tried a lot of periodicals, but I cannot find the pattern of your entries.
It was interesting to discuss your system, directly to the logic ICQ: 477-961-311.
 
How do you calculate the correlation? Maybe by some kind of indicator?
 

So my holiday is over. The four trades I left unsupervised for the whole month closed with a profit of $300+. I am enclosing the report for the whole period of the forward demo.

In a nutshell the results are as follows:

54.84% on the initial depo for 1.5 months of working time.

Gross Profit: 26 353.40 Gross Loss: 20 868.62 Total Net Profit: 5 484.78
Profit Factor: 1.26 Expected Payoff: 42.19
Absolute Drawdown: 0.00 Maximal Drawdown: 3 937.60 (20.54%) Relative Drawdown: 27.37% (3 847.26)
Total Trades: 130 Short Positions (won %): 64 (46.88%) Long Positions (won %): 66 (68.18%)
Profit Trades (% of total): 75 (57.69%) Loss trades (% of total): 55 (42.31%)
Largest profit trade: 3 994.90 loss trade: -3 937.60
Average profit trade: 351.38 loss trade: -379.43
Maximum ($): 4 (595.12) consecutive losses ($): 3 (-3 590.79)
Maximal consecutive profit (count): 7 672.50 (2) consecutive loss (count): -3 937.60 (1)
Average consecutive wins: 2 consecutive losses: 1

By the way, the peaks and troughs of the balance curve do not need to be taken into account. Equity practically looked like a line connecting the points of this balance curve. You can check the opening and closing times of the trades in the attached statement.

Files:
statement.zip  12 kb