Continuation:

For example, you could switch direction of gbpusd, audjpy, nzdusd and usdchf to get resulting 4xeurjpy trade, straight, with no exposure in other currencies.

Then, you can trade just 0.1 lot, to reduce drawdown, margin and profit Also, this will be good trend reversal indicator for eur/jpy. Of course your group A cannot consist of just 7 buys (or sells), it will need 3 buys+4 sells on the appropriate pairs (or 4sells+3buys). Necessary math for this is your homework

There was also another interesting variation, when you enter only in topmost/bottommost 4 pairs, not 7. I did not analyzed this, but seems like subset of this system, with the remaining 6 pairs being just additional indicator.

Ok, lets move further - the hedge imperfection. Let assume that our IA is perfectly hedged. Then, everything above is definitely true. Lets assume that you entered 14 trades into 7 currencies (eur, usd, chf, jpy, aud, nzd and gbp), having effective exposure being zero on all of them (i.e. you bought 10000 eur and sold 10000 eur).

In this case, the cumulative profit on your IA will not move with the prices, it will be affected only by swaps. Also, you'll get better cycles, I think, without being biased towards any currency.

Now, lets assume that on your IA you bought slightly more eur, e.g. 10500, and sold slightly less usd, e.g. 9500. So, your total exposure is not 0 anymore, you are 500 units long into eur/usd now (bought at 1.0 rate). Of course this is not easy to construct such portfolio on MT4. On Oanda it is much easier, as they offer trade sizes of 1 unit, which is equal to 0.00001 lot. But, you can just go to bank and buy 9500 eur in bank notes

Anyway, lets analyze how such theoretical portfolio would behave. Surely, the cumulative profit would go up and down, oscillating for some time, responding closely to eur/usd price. If the eur/usd price would wander off, your IA total profit would stop oscillating and just show big number on either side of zero. But the idea of this system is to keep IA trades oscillating as much as possible, when this stops happening, you cant get any serious profit from this method.

So, basically such IA, and its cumulative profit will be working as oscillator showing when eur/usd is overbought/oversold. In the original system the hedge was not just 500 eur/usd, it was more complex, and varying over time. I did not calculated this, but I suspect that it is related to eur/jpy as well, since there is a lot of reports of this profit being good indicator, for example this:

"I saw a very interesting correlation between bottom number on the IA and signal. The magic number seem to be -$72.00. Whenever the loss exceeds 72 dol on IA go short and vice versa. I made at least 15 trades with this idea and everyone made money.Not sure why there is so much correlation with that number. Or may be just a coincidence." (EStrader, post #1633)

The easiest way would be to go to Oanda, open 14 buys, 100000 each, and take a look on exposure tab to see what is the final exposure. I did not go through it yet, but will do later. But if any of you can test it earlier, results (preferably with some screenshot) will be welcomed.

Now, next thought. People tend posting that eurusd+usdchf tend to be close to each other in the slots. Also, pairs like gbpusd+gbpjpy, eurusd+eurjpy, audusd+usdjpy tend to repel from each other. (Hndyman, #1830, and Trader101 in other posts, #1741).

Why is that? Why some pairs tend to be close and other tend to repel?

Lets analyze gbpusd+gbpjpy. What happens when usd/jpy sharply goes upward? Usd is gaining strength, jpy is losing. If gbp does not move in the same time, gbp/usd will go down and gbp/jpy will go up. So, they repel. What if usd/jpy sharply goes downward? They repel each other again, in the reverse direction. They stay next to each other only if usd/jpy stays in place. And usd/jpy is quite volatile pair, does make big moves. QED. Eur/chf is much more quiet, no big moves there, usually, hence, eur/usd and usd/chf stay to each other, influenced mostly by usd strength.

Ok, another variation, last one for today, lets name it '101 permutations'.

For simplification, lets use 4 pairs instead of 14. My list will be:

eur/usd, usd/chf, gbp/chf, eur/gbp.

Long eur/usd and usd/chf. Short gbp/chf and eur/gbp, so they are hedged.

Now, if you sort them by profit, they might order themselves in 24 different possible combinations. Lets suppose that we had a luck and after some time, in moment t0, they ordered in such way, that makes sells at top and buys at bottom, in this particular order: gbp/chf, eur/gbp, eur/usd, usd/chf, from top to bottom. Open such basket immediately. So, we have long on all pairs. Then, wait until at least pair of them jump, and there will be different order, even if still they will be polarized with buys at bottom. Open such combination as well. Then, wait for next jump and next configuration. If we already bought given configuration, do not buy it again. For example, if we'll see such order: eur/usd, gbp/chf, usd/chf, eur/gbp, we buy respective basket, if not bought already. By 'buying respective basket' i mean opening reversed position of top 2 slots and straight position of bottom 2 slots, so here it would be eur/usd short, gbp/chf long, usd/chf long, eur/gbp short.

Eventually, after some time, we'll see each of 24 combinations, and bought respective basket again, so we have 24*4=96 trades in total, 48 buys and 48 sells, 12 buys+12 sells on each pair. By definition, each buy will be at lower price than the sell. So, we have 48 buy+sell pairs, each of them captured positive profit. Close all of them, reset IA, and start from the beginning.

Nice, isnt it?

Of course the above is naive, the obvious optimization is to close opposing baskets immediately as they occur, so you close them earlier, pay smaller spread, and continue using this system forever. I'll write some small EA for this to see how big drawdowns we'll see along the way..

Hi,

So, finally, my first thread here.. I hope you'll enjoy

Yesterday I started reading about Trader101 system described here: Basket Trading System, then the monstrous thread on the other forum. This system was made public by Trader101, also known as PipScorer.

In order to fully understand my thread, you need to get familiar with the rules of the system, as described in the above threads. I will make some small summary of the rules here, but for details you need to refer to original threads.

The rules are more or less like this:

You open demo account (I will refer to it as IA), and when each new week starts make following trades on it:

1. GBPUSD 8. EURUSD

2. EURGBP 9. USDJPY

3. GBPJPY 10. AUDUSD

4. USDCHF 11. NZDJPY

5. NZDUSD 12. GBPCHF

6. AUDJPY 13. CHFJPY

7. EURJPY 14 EURCHF

Trades 1-7 go short, trades 8-14 go long.

Then you sort them by profit they bring. When all buys are at bottom (i.e. they are all at loss) and all sells are at top (i.e. they are on profit), this is potential setup, and you will enter real trades soon, after some trend reversal confirmation. We call it their position 'slots' so the top positions are in slots 1-7 and the lower ones are in slots 8-14. Topmost trade (the one with highest profit) is in slot 1, bottom most (with highest loss) is in slot 14, and these two are named 'anchors'.

A confirmation might be, for example, when one of the buys starts to be positive enough to reach slot 1, or sell trade reach slot 14.

When you want to enter, you enter 14 pairs at once, all in the same direction (unlikely on the IA). The direction depends on what trades are occupying the bottom slots, you trade in their direction. So, if bottom is full of buys, you send 14 buys, if bottom is full of sells, you send 14 sells.

The exit is at your discretion, the proposed solution is to protect some profit. So, for example, once your total position reaches $100 in cumulative profit, you will close everything if the total cumulative profit falls back to $10 (so, you lock in $10 at $100). Then, you lock in more, as profit goes higher, so if you reach $200, you lock in $110, and so on. If you wont lock any profit, stop out at $-560 (assuming 0.1 lots, this gives 14 pairs * 40 pip loss).

This is very short story, the original consists of like 4000 posts (both forums combined), and there are many other nuances. Anyway, these rules are the one I want to focus on. For more details of the original strategy, please refer to threads mentioned above.

I am writing this thread, since I really miss the detailed explanation of the underlying math in this system. When I started reading about it, it looked nice, people were reporting huge profits, many indicators/eas/scripts/excel sheet/etc. were created, yet nobody digged why it work, how to make it better etc. A forum member named Slade had the most advanced analysis indicating that the system is very dependent on eur/jpy. This is correct conclusion, but still leaves many, many questions unanswered:

I will try to analyze these topics here, and provide as much answers as I can.

Lets start with the list of pairs, why there is 14 of them, and why in this configuration.

The answer is: they hedge each other. If you enter trade like this, you buy as much USD as you sell. You buy as much EUR as you sell, and so on. So, after opening 14 of such trades, your exposure is close to zero. If the hedge would be perfect, your exposure would be equal to zero.

Also, math is much easier if there is even number of pairs. It is possible to construct nicely hedged list e.g. of 11 pairs, but in such case original system will be biased toward sells or buys (though you can take it into consideration and adjust your trading).

The another nuance is that the more the better - you can go with just 3-4 pairs on the list, but with 14 they tend to average each other and you are less depending on single pair.

Here is a checkpoint - if you do not understand my text so far, the chances are that you wont understand remaining parts of this thread as well, as things will only get worse. And I'm not going to explain each and every detail, neither going down to 'i cant load this script' newbie questions. I consider this thread to use quite advanced math (well, there is nothing advanced here, but after reading 4000 posts from hundreds of posters and seeing almost nobody going so deep, I am starting to consider the basics covered here as advanced). Take it, or leave it, your choice. Intelligent questions are welcomed, of course.

Now, how this works? Why looking at 7 longs + 7 shorts give good signals to do 14 buys or 14 sells?

I have the answer, yet I need some examples to show it to you.

If we start IA as described above, the cumulative profit will stay the same over time (I will neglect the hedge imperfection here, will take it into consideration later). Yet, if you sort the pairs by profit, they will be jumping up and down, as the corresponding prices will go up and down. Moreover, there will be cycles (at least for some time, until prices will go off far away from each other).

Lets split the trades into two groups: group A consisting of 'top' trades (i.e. slots 1-7) and group B of bottom trades (slots 8-14). It doesnt matter if there are buys, sells, or mixed trades in the groups, just take a snapshot of their order on IA. This is moment t0 of time. Now, they will tend to shuffle between themselves, and sooner or later all (or almost all) trades from group A will be at loss, they will occupy slots 8-14. In the same time trades from group B, which were originally at loss, will occupy top slots (1-7), and be in profit. I'll call this moment of time t1.

The movement will be cyclic for some time, though if we wait long enough, the prices will change so much, that the cycles will take more and more time.

Please note, that we do not require any special order of trades within group. We only care if whole group is at bottom or at top.

Since, cumulative profit from all 14 trades is 0 (minus spread, swap and hedge imperfection), and top trades are positive, bottom must be negative.

Now, group B was negative at t0 and became positive at t1, right? All trades made at least few pips. This typically are hundreds of pips, not just 1. Of course between t0 and t1, large drawdown could appear, that is another story.

Also, all trades from group A were positive at t0 and negative at t1, so all of them lost at least few pips.

Now, what would happen if we would open 7 trades at t0, at pairs from group B, in direction from group B? All of them would move into profit!

If whole loss of group B was, for example, 100 pips in t0 and whole profit was 200 pips in t1, all trades from group B made 300 pips total, between those points. And our trades, entered live on t0, would make the same 300 pips.

Now, what if we would entered another 7 trades at t0, on pairs from group A, but in reversed direction? Since all trades from group A lost few pips, all our live trades would earn few pips! And we have 14 of them! If we catch 100 pip move on average, we could get 1400 pips from it!

And this is how this system works.

Please note, that my choice of group A and B could be just random snapshot of time. The original trader made simplification: waited until he will get buys and sells polarized - i.e. buys will all be at bottom or at all top. Then, he waited for some trend reversal confirmation, and made his t0 point. Surely, if whole group A consist of sells, and whole group B consist of buys, and our method need to open group B as is and group A reversed, we would end up with 14 buys or 14 sells! But this does not need to be the case.

I hope you are still following me... as the conclusions are much more interesting.

First of all, if you do the math correctly, the order of trades is not important. You can start your system at any second, and open trades immediately. They will just happen to not be all 14 in the same direction, thats all. But computer can track the direction easily. Of course, you want some trend reversal here, to match end of cycle - otherwise, you'll experience big drawdown before your trades get into profit.

There is more into that. In the original method, if you buy all 14, you'll end up buying eur 4 times, selling jpy 6 times, buying gbp, nzd and aud 2 times, selling chf and usd 2 times (+ opening some hedges).

But if you choose your group A/B split differently, this will also change! If you want until all jpy buy trades are in profit, then sell them, you'll end up just selling a lot of jpy against basket of currencies. Now, this is great for correlation trading, hedging and much more other strategies, isn't it?

You can also open 2 strategies at once, one e.g. against eur and the other buying chf (though you may need to construct different pair list to make better effect). Then hedge them all going long with eur/chf... lots of possibilities.

I just hit post length limit of this forum, so need to write rest of text in subsequent posts.