Shelley's multi-pair basket trader

Share your 10.x automated traders here.
Post Reply
User avatar
John
Trader
Posts: 70
Joined: Wed Nov 16, 2011 5:34 pm
Location: Land of Entrapment (New Mexico)

Re: Shelley's multi-pair basket trader

Post by John »

I am really liking this bot/setup due to the predictable win/loss, time of trading etc. that goes along with it. I have a demo setup with 3 charts, one for each session. It's fun to go for a quick short drive 3 times a day! Anyway, one suggestion I have, and it certainly isn't mission critical, but I wonder if it wouldn't be too difficult to implement... Here goes: Could we possibly have a Percent Risk variable that we could set instead of lot size or in addition to rather? Say for example, on a 10k account, 6 pairs qualify for the upcoming basket and we have a 2% risk set... Could the bot take the max loss based on AdaptiveStopLoss (say 20), multiply that by 6 (120 pips), and then figure the lot size for each trade such that $200 of the account is being risked on this basket? If this causes a huge headache, please disregard... I'm really putting this out there to gauge the interest and to serve my own curiosity... Otherwise, no worries as this thing looks quite good....
User avatar
verb
Trader
Posts: 61
Joined: Mon Apr 02, 2012 2:27 am

Re: Shelley's multi-pair basket trader

Post by verb »

cytek wrote:
verb wrote:The best time to enter the market in a trend is during a retracement. Following this logic, entering at a set hour without considering what state the market is in is for me too risky.
100% - I used this method today over 4 seperate entries to bag 225 pips. That excludes the last HUGE move of the day which I missed as I went to have dinner.
verb wrote: You can edit the code to force the EA to basket trade when you want it.
Find BasketSent in the code and change the line to:
extern bool BasketSent=true;//Set to false if a basket send fails, to force a retry.
.02
Thanks for that code jippo - made the change, recompiled, restarted Empty4 (twice), but cant get it to work for me... I'm on v1k. What version are you on?
Set it to false. Make sure to set it back to true if you reattach.
User avatar
verb
Trader
Posts: 61
Joined: Mon Apr 02, 2012 2:27 am

Re: Shelley's multi-pair basket trader

Post by verb »

garyfritz wrote:
verb wrote:The best time to enter the market in a trend is during a retracement. Following this logic, entering at a set hour without considering what state the market is in is for me too risky.
In general I'd agree, verb, but Shelley isn't doing typical basket trading. It's just "grab everything that appears to be trending, and manage the whole pile of them as one mega-position." There's no attempt to take advantage of correlation. It's not clear to me that you can enter based on retracements &etc because you don't know the components of the basket until you decide to enter.

So far Shelley seems to work well, which is actually fairly surprising to me considering how simple the entry rules are. Apparently TMA / WOH is a good way to find trenders, and apparently entering the basket at the right time of the day works well. (Though it doesn't seem crucial because e.g. cytek entered 4 baskets in a 6-hour period and all of them won. Maybe he just grabbed 4 little pieces out of an overall large move.)

If you chose your basket ahead of time, then it would be smart to look for a retracement or a reversal before entering. Where we're picking "anything that moves," I don't think that makes sense. Shelley may work well but it seems to me the best way to trade this is to run it 24x5, entering/exiting pairs when they meet the TMA/WOH parameters -- like Steve did in S+G -- but track each pair's profit/loss/TP/SL/etc separately. We'd have to test that to find out. I might knock out a TS test that can at least test that one pair at a time.
Regarding retracements, it's quite simple to know the state of pairs.
- Choose the session, you will trade and then...
- Simply turn off the EA button.
- Attach the EA and it will display the list of trades it will take.
- Switch to the chart.
- Is price moving up on a downtrend or down in an uptrend?
- Is the D1 trend still intact?
- Is price nearing a significant SR?
- If so, you are in a retracement.
- Go back to your chart with the EA.
- Re-attach EA, turn BasketSent to true.
- EA will force the batch.
garyfritz

Re: Shelley's multi-pair basket trader

Post by garyfritz »

But you're talking about making those checks on each potential pair, right? They won't all go into retracement at the same time. It's the basket you really care about.

It would be very interesting to have an indicator that shows the equity change of a basket of the current set of tradeable pairs, i.e. the pairs the EA would open if you started it now. (And maybe the ability to say "OK, freeze that set of pairs, and pretend I opened them all right now. What does the open equity do after that?") That would give you an idea if the basket itself was trending or retracing. It would give us a good idea when is a good time to enter.

I'd volunteer to write it but I have too many projects already...
User avatar
verb
Trader
Posts: 61
Joined: Mon Apr 02, 2012 2:27 am

Re: Shelley's multi-pair basket trader

Post by verb »

garyfritz wrote:But you're talking about making those checks on each potential pair, right? They won't all go into retracement at the same time. It's the basket you really care about.

It would be very interesting to have an indicator that shows the equity change of a basket of the current set of tradeable pairs, i.e. the pairs the EA would open if you started it now. (And maybe the ability to say "OK, freeze that set of pairs, and pretend I opened them all right now. What does the open equity do after that?") That would give you an idea if the basket itself was trending or retracing. It would give us a good idea when is a good time to enter.

I'd volunteer to write it but I have too many projects already...
Yes, you would look at every pair, this is trading after all.

There are no absolutes however currencies pull each other around. Watch the charts, you will see there is a leading pair that will drag the rest. Some of course will go sideways however you will see currencies follow each other. The D1 trends show you the correlations very clearly IMO in addition to the classic ones.

My final thought on this then I will speak no longer.
If only time based, you could be stuck in the sideways pairs or in the beginnings of the retracement and have a hanging basket.

Versus...

If time and price based, you can get in when the retracement is losing steam and increase your odds of success.

The goal should be to enter at a good price at a good time as a basket in the direction of the trends.
User avatar
Xeroforex
Trader
Posts: 35
Joined: Fri May 25, 2012 12:23 am
Location: Melbourne, Australia

Re: Shelley's multi-pair basket trader

Post by Xeroforex »

vivaldi wrote:
Zypip wrote:I have noticed that when (e.g. for longs) the D1 TMA slope is above 0.8 and Woh 2x1 is green, it seems to be possible to filter out most of the retracement moves by looking at the Woh 1x0 on the D1 chart and not taking the trade when D1 Woh 1x0 is red (for longs).
In other words for longs (and conversely for shorts), even if slope is > 0.8 and woh 2x1 is green, Shelley should not open trades for pairs for which D1 Woh 1x0 is red.
Anyone with the same analysis?
Cheers
D1 Woh 1x0 is red means : The current price is below the Open of the Day.
Could you confirm to me if this is correct ? Where do I find the background theory about Woh ?

Vivaldi
Hi Vivaldi

Attached is NB's booklet on his opening histo theory and like everything he does, it's done very well.

Cheers...

PS all resources for the NB 10.2 system are on this page: http://www.forexfactory.com/showthread.php?t=308304
You do not have the required permissions to view the files attached to this post.
“If you want to make an apple pie from scratch, you must first create the universe.”
User avatar
droland
Trader
Posts: 52
Joined: Tue Nov 15, 2011 9:40 pm
Location: Vancouver, BC, Canada

Re: Shelley's multi-pair basket trader

Post by droland »

droland wrote:I had two sets of instant closes as well then it worked.

I always force a recompile when I load a new EA. I like to open it and have a quick look at the coding.

I live in Pacific Daylight Time so I set the hour and minute at 22 and 45. It instantly closed all new orders when they opened.

I recompiled and set for 23 and 45. Same thing.

I did nothing but set the hour and min to 00 and 01 and it took the trades at that time.

I do believe there is a logic problem but not sure where.
Just for others having this problem, I discovered the issue. In the OOTB settings, the ComeWhatMayCloseHour is set to 16. If your BasketSendHour setting is between 16 and 24 then all trades will close immediately.

Obviously this should have been adjusted but I overlooked it. It appears that since my London open hour setting is around 22 or 23, this function is of no use to me in its current form so I have set it to 24 to turn it off.
Last edited by droland on Wed May 30, 2012 6:43 am, edited 1 time in total.
Armen

Re: Shelley's multi-pair basket trader

Post by Armen »

Dear Steve and all traders,
I have noticed today that Shelley sends orders even if the Expert Advisors button 0n Empty4 was not active.
Good to have this function working if possible.
If this issue was discussed previously please point it.
Thanks.
Kenboi
Trader
Posts: 66
Joined: Tue Apr 24, 2012 4:35 am

Re: Shelley's multi-pair basket trader

Post by Kenboi »

I have a question regarding AdaptivePipsTakeProfit vs PipsTakeProfit. If I set the AdaptivePipsTakeProfit, do I need to set the PipsTakeProfit? I set my AdaptivePipsTakeProfit to 25 and PipsTakeProfit to 200. At the moment, I am having 6 trades open. If I am correct, based on my setting on both, 25*6=150 and PipsTakePRofit=200, then my close profit would be whichever comes first, which is 150 pips, right? Do they work independently or dependently? Thanks.
harry45
Trader
Posts: 158
Joined: Fri Nov 18, 2011 11:36 am
Location: Russia,St.Petersburg

Re: Shelley's multi-pair basket trader

Post by harry45 »

Armen wrote:Dear Steve and all traders,
I have noticed today that Shelley sends orders even if the Expert Advisors button 0n Empty4 was not active.
Good to have this function working if possible.
If this issue was discussed previously please point it.
Thanks.
Have the same problem.First basket succsessfuly closed, I made EA button not activ but trades were opened.By chance second basket was closed with profit(Ad.TP=18,Ad.BE=8+2,Ad.JS=5,11pairs)Is this a bug?Crime-Go Trader(Europe),real acc.
Regards
Post Reply

Return to “10.x EA forum”