Bob's Bot: 10.2A auto-trader.

Share your 10.x automated traders 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.

Bob's Bot: 10.2A auto-trader.

Post by SteveHopwood »

SERIOUS WARNING
  • Most Forex traders lose all their money.
    Using the robot posted here in trading Forex does not guarantee success.
    Trading this robot could lead to serious financial loss.
    Trading this robot without understanding its underlying trading strategies guarantees traders will lose their money.
    This is not a set-and-forget ea; there is no such thing and anyone who tries to claim there is, is either stupid or lying. This ea requires frequent manual intervention.
    At best, a trading robot is only 90% as good as the manual strategy it trades. At best. At worst, it can be much less effective. If the strategy is rubbish, so is the robot.
    To trade this robot, you have to understand:
    • - How to use EA's.
      - Pivots
I am not yet trading this EA on my live account

Introduction
As I understand it, the trading system is simplicity personified:
  • - if the weekly pivot (WP) > the monthly pivot (MP), we are looking to buy a cross of the daily pivot (DP) from below.
    - if WP < MP we are looking to sell a cross of the DP from above.
    - as an extra layer of security, EnforceTripleAlignment forces BB to wait until all three pivots line up, i.e.
    • - buy: DP > WP > MP
      - SELL: DP < WP < MP
That is what BB does. Members new to all this might also be interested in the basket trader for this system, to be found at http://www.stevehopwoodforex.com/phpBB3 ... f=44&t=658

PivotCrossTimeFrame defaults to the M15 and is the time frame you wish to trade when a new candle opens on the tradable side of DP and the previous candle opened on the wrong side.

EveryTickMode allows you to trade as soon as the market crosses the DP, rather than wait until the new candle forms.

None of the default settings are recommendations; something has to be the default value for an input.

Trade exit
  • - there are the standard stop loss and take profit inputs.
    - users can also choose one of the pivots as a stop. PivotCrossPips is a buffer. The stop loss is set this far away from the relevant pivot, to avoid the scenario where the market briefly touches or only just crosses the pivot, then moves back in the direction of the trend.
    - users can opt for Fractals to set their sl and tp. FractalsTimeFrame controls the time frame used to calculate the fractal. Be aware that the default of zero turns fractals off, rather than meaning the normal 'current time frame'.
Bugs
I normaly use Crapergy Tester to iron out the elementary bloops. This is impossible here because CT does not have weekly and monthly data. So, there could well be bugs.

Conclusion
Have fun. The basket trading version has done well. We all know Bob is a genius. BB has a good chance of being profitable. We shall see.

:D

Matters of general interest

Read this post:
http://www.forexfactory.com/showthread. ... ost4923611 Newbie traders, read this for inspiration and warning. Those of you who have suffered losses, read it for inspiration. There is a thread devoted to Sam's trading method at http://www.forexfactory.com/showthre...25#post5118825

Masterly summary of hedging: http://www.forexfactory.com/showthread. ... ost4977179

EA coding
I receive may requests to code EA's. Traders, if I code your EA for free, then I will share it here. If you want me to code your EA without sharing, then my fee is $100 payable into my paypal account. I explain why at http://www.forexfactory.com/showthread. ... ost4431794, at the bottom of the post.

Useful utilities/EA's/scripts
MaryJane has posted a fabulous utility to allow us to resize EA input windows: http://www.forexfactory.com/showthread.php?t=299017
Multi purpose trade manager: http://www.forexfactory.com/showthread.php?t=89371
Account equity analyser: http://www.forexfactory.com/showthre...16#post4693716 Also at http://www.forexfactory.com/showthread. ... ost4709098, which includes a template for both USD and the Euro.
Past-trades display indi by squalou; shows a graphical display of the success/failure of trades in your History tab. Breathtaking piece of work. http://www.forexfactory.com/showthread. ... ost3830610
My shell EA – the code I use to produce EA's so quickly. http://www.stevehopwoodforex.com/phpBB3 ... p?f=5&t=15
You do not have the required permissions to view the files attached to this post.
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
nanningbob
Trader
Posts: 4564
Joined: Sun Dec 04, 2011 1:23 pm

Re: Bob's Bot: 10.2A auto-trader.

Post by nanningbob »

Thanks Steve, gotta try this one out.
I trade http://www.stevehopwoodforex.com/phpBB3 ... =38&t=3964,
I talk about my philosophy of trading here.
http://www.stevehopwoodforex.com/phpBB3 ... =38&t=3627
"The key to converting something useful to others is simplicity. Complexity is the enemy to execution." Tony Robbins
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: Bob's Bot: 10.2A auto-trader.

Post by SteveHopwood »

Bob, I just had an idea.

With EnforceTripleAlignment enabled, BB will not trade if the DP is inside the WP and MP. It could be that there has been a decent retrace and that a fresh cross of the DP signals a big move as the trend resumes.

The code for Slope is all within BB - just commented out. The thought I had was this: what if we reinstate Slope and use it to guide the trading possibility when the three pivots do not line up? For example, our bias for this week is long, buy DP < WP, so buy a cross of DP only if Slope indicates a long trend.

Have you given this some thought yourself?

: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
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: Bob's Bot: 10.2A auto-trader.

Post by cuzgeorge »

Great Bob, Steve, thank you for this EA.
on board, exactly with OOTB settings, only changed lot size to 0.1 and magic and 'false' for saturday candles.
going to use morqb and chicago pairs (about 10 plus gold and silver). Will post myfxpage book thingy when set up.
cuzgeorge
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: Bob's Bot: 10.2A auto-trader.

Post by cuzgeorge »

Hi again,
here's the pic with my first trade already on gbpusd, it quickly went into profit and now at about $4 down. patience is key.

here's the link for the future progress, wishing you well on this to all and thanks TIB and TIS for another beauty. :D 8-) :D

i'm using my own template as i'm used to it now and understand the readings.
let me know if you'd prefer to see these pics in TIB's templates though. Its not a mission to set up another chart.
cuzgeorge


Image
You do not have the required permissions to view the files attached to this post.
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: Bob's Bot: 10.2A auto-trader.

Post by cuzgeorge »

Thanks Michael for the PM,
here are the pairs i am referring to as chicago pairs added with morgb's pairs;

EURUSD,
USDJPY
GBPUSD
AUDUSD
EURJPY
USDCAD
NZDUSD
AUDJPY,
USDCHF -- EDIT

morgb adds the following;

EURGBP
GBPCHF
GBPJPY;

and i like to add gold and silver occasionally.

see pic in earlier post for charts set up.

an update on Bob's Bot v1, $26.20 up on GBPUSD, the only open trade from yesterday. None closed so far.
Happy to see no errors. All going very smooth. :)
regards
cuzgeorge
Last edited by cuzgeorge on Tue Sep 11, 2012 9:25 pm, edited 1 time in total.
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
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: Bob's Bot: 10.2A auto-trader.

Post by SteveHopwood »

cuzgeorge wrote: ........................ no errors. All going very smooth. :)
That is a first. :lol: :lol:
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
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: Bob's Bot: 10.2A auto-trader.

Post by cuzgeorge »

:D :D you know you're good, :D :D
thanks again NB and Steve,
cuzgeorge
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
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: Bob's Bot: 10.2A auto-trader.

Post by SteveHopwood »

Spoke too soon. :lol:

V 1a is in post 1.

I just checked the demo to see that there have been no trades today, and there should have been at least one, if not more.

The error is in the code that forces a wait until a new candle starts. Coders/code editors, go to the end of start() (the final function in the file) and find the two instances of

iTime(NULL, 0, 0)

and replace them with

iTime(NULL, PivotCrossTimeFrame, 0)

: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.
fxarun
Trader
Posts: 41
Joined: Tue Feb 07, 2012 10:21 am
Location: Chennai India

Re: Bob's Bot: 10.2A auto-trader.

Post by fxarun »

Thank you so much for this great and much simplified system Bob.
Appreciate your hard work Steve.Thanks a lot guys.
While Testing this EA found couple of issues steve.
First ,

Code: Select all

extern int      PivotCrossPips;//The no of pips the other side of the chosen sl pivot
I think it should be initialized with some user defined pip value i guess.
may be it could be

Code: Select all

extern int      PivotCrossPips=5;//The no of pips the other side of the chosen sl pivot
Next
Once the open order is closed for a profit or loss,
bool TooClose() function always returns true.
So no trading until we change the magic number after the first trade.
So please look into the code as i am just a copy paste and edit programmer.

By the way its really a promising Ea as it already started grabbing pips.

Thanks

Arun
"It's not the strongest species that survive, nor the most intelligent, but the one most responsive to change"
-- Darwin.
Post Reply

Return to “10.x EA forum”