Joe. Swing-trade your way to a baby equity millipede

Post Reply
andydoc
Trader
Posts: 53
Joined: Sun Dec 11, 2011 8:26 am
Location: West Brom, UK

Re: Joe. Swing-trade your way to a baby equity millipede

Post by andydoc »

We could do both and optimise the option on backtesting
andydoc
Trader
Posts: 53
Joined: Sun Dec 11, 2011 8:26 am
Location: West Brom, UK

Re: Joe. Swing-trade your way to a baby equity millipede

Post by andydoc »

It would probably alter depending on strength/direction of trend on D1, W1 and MN charts
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Joe. Swing-trade your way to a baby equity millipede

Post by SteveHopwood »

I have been out teaching as usual this afternoon. I am back now and am adding George's code. The ea will be up and running in time for market opening later.

Someone was asking about the code for the 50 fib for stack trades. I just realised it is this line:

Code: Select all

PendingPrice = (iLow(NULL, FbTradingTimeFrame, FbCandleShift) + iHigh(NULL, FbTradingTimeFrame, FbCandleShift) ) / 2;
Granted, this means an immediate market trade if the new candle opens below the 50 fib rather than a limit order, but I am not convinced this matters. We shall see.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Oops

Post by SteveHopwood »

Sorry guys - forgot to upload the bot to post 1. It is there now.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
andydoc
Trader
Posts: 53
Joined: Sun Dec 11, 2011 8:26 am
Location: West Brom, UK

Re: Joe. Swing-trade your way to a baby equity millipede

Post by andydoc »

still not stacking on backtesting e.g. nice long drop cable 22-28 March - initial trade closes at bottom, presumably on 50% cull, but no sign of stoploss being brought to BE ?therefore no stack
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Joe. Swing-trade your way to a baby equity millipede

Post by SteveHopwood »

andydoc wrote:still not stacking on backtesting e.g. nice long drop cable 22-28 March - initial trade closes at bottom, presumably on 50% cull, but no sign of stoploss being brought to BE ?therefore no stack
Cheers Andy. You highlighted a lurvely bloop in the code - or at least led me to look for it.

Attempted fix in post 1.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
andydoc
Trader
Posts: 53
Joined: Sun Dec 11, 2011 8:26 am
Location: West Brom, UK

Re: Joe. Swing-trade your way to a baby equity millipede

Post by andydoc »

Hi Steve
Sorry I have no time to look for the bloop(s) myself as at work but happy to run the occasional test and see what is isn't happening.
Regards
Andy
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Joe. Swing-trade your way to a baby equity millipede

Post by SteveHopwood »

andydoc wrote:Hi Steve
Sorry I have no time to look for the bloop(s) myself as at work but happy to run the occasional test and see what is isn't happening.
Regards
Andy
A most helpful use of your time. Thanks.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
andydoc
Trader
Posts: 53
Joined: Sun Dec 11, 2011 8:26 am
Location: West Brom, UK

Re: Joe. Swing-trade your way to a baby equity millipede

Post by andydoc »

Lots of failure to place order errors in running backtest at present eg:

2011.12.11 21:27:08 2011.04.21 02:50 Joe GBPUSD,H4: GBPUSD Joe OP_SELL order send failed with error(130): invalid stops
andydoc
Trader
Posts: 53
Joined: Sun Dec 11, 2011 8:26 am
Location: West Brom, UK

Re: Joe. Swing-trade your way to a baby equity millipede

Post by andydoc »

ok, running on cable, H4, 21 March - 28 March 2011.
2 Fake FBs closed at original stop loss 22/3 00:00 and 04:00
1 failed entry closed at BE 2/3 16:00
1 reentry sl not modified again - error 130 so no stacking . odd entr price
Post Reply

Return to “Automated trading systems”