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.

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

Post by SteveHopwood »

fxarun wrote: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
Thanks Arun. I am always forgetting to initialise variables properly.

The code in bool TooClose() is faulty - I have forgotten to code a check that the trade being examined is actually the latest in the History. Even when I correct this, I am not sure it will be correct.

Pop

return(true);

at the start of bool TooClose() to turn it off for now and I will try to sort it out tomorrow.

For the non-coders, V1b is in post 1 and has the fix. I see nobody has downloaded 1a yet, so forget about 1a.

: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 »

One more Code error steve

Code: Select all

 if (EnforceTripleAlignment)
   {
         if (TradeDirection  == buy && DailyPivot < WeeklyPivot)  TradeDirection = directionmixed;
         if (TradeDirection  == sell && DailyPivot > WeeklyPivot)  TradeDirection = directionmixed;			
    }//if (EnforceTripleAlignment)
should be

Code: Select all

 if (EnforceTripleAlignment)
   {
         if (TradeDirection  == directionlong && DailyPivot < WeeklyPivot)  TradeDirection = directionmixed;
         if (TradeDirection  == directionshort && DailyPivot > WeeklyPivot)  TradeDirection = directionmixed;			
    }//if (EnforceTripleAlignment)

Thanks
Arun
"It's not the strongest species that survive, nor the most intelligent, but the one most responsive to change"
-- Darwin.
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 »

Nice one again, Arun. Thanks.

The effect of this bloop is to disable EnforceTripleAlignment. V 1c in post 1 fixes this. Coders merely need to make the change in void GetTradeDirection()

: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.
al3xx
Trader
Posts: 59
Joined: Tue Jun 19, 2012 9:33 pm

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

Post by al3xx »

Hi Steve,

Looks like version 1c won't trade.

Code: Select all

bool TooClose()
{
   //Returns false if the previously closed trade and the proposed new trade are sufficiently far apart, else return true. Called from IsTradeAllowed().
   
   return(true);
   
   SafetyViolation = false;//For chart feedback
         
   if (OrdersHistoryTotal() == 0) return(false);
TooClose returns with true immediately on entry.

Kind Regards,

Alex
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 »

al3xx wrote:Hi Steve,

Looks like version 1c won't trade.

Code: Select all

bool TooClose()
{
   //Returns false if the previously closed trade and the proposed new trade are sufficiently far apart, else return true. Called from IsTradeAllowed().
   
   return(true);
   
   SafetyViolation = false;//For chart feedback
         
   if (OrdersHistoryTotal() == 0) return(false);
TooClose returns with true immediately on entry.

Kind Regards,

Alex
Oops. That is a cracker, even by my execrable standards.

V 1d is in post 1 with a fix that allows the bot to trade. Coders, turn the first line of code to return(false);

Thanks Alex

: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
droland
Trader
Posts: 52
Joined: Tue Nov 15, 2011 9:40 pm
Location: Vancouver, BC, Canada

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

Post by droland »

SteveHopwood wrote:
al3xx wrote:Hi Steve,

Looks like version 1c won't trade.

Code: Select all

bool TooClose()
{
   //Returns false if the previously closed trade and the proposed new trade are sufficiently far apart, else return true. Called from IsTradeAllowed().
   
   return(true);
   
   SafetyViolation = false;//For chart feedback
         
   if (OrdersHistoryTotal() == 0) return(false);
TooClose returns with true immediately on entry.

Kind Regards,

Alex
Oops. That is a cracker, even by my execrable standards.

V 1d is in post 1 with a fix that allows the bot to trade. Coders, turn the first line of code to return(false);

Thanks Alex

:D
Wow! I am a voracious reader and also not young and I have never read or heard "execrable" before. Looked it up. Perfectly used in your response. Now added to my Lexicon.

Thanks Steve.
censura
Trader
Posts: 32
Joined: Wed Jun 06, 2012 12:52 pm

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

Post by censura »

Steve, hope you are well, I have followed you for sometime and you have helped me with my own simple attemts as designing my own ea's. Anyway i tried to release the slope settings as part of your bobs bot ea. Seemed easy enough yet when i complied it i got a load of errors about variable not being set. Tried to add them to the global variables but that didnt help also (it eliminated some) but got other errors. Can you post a version with this as working.

Sorry my efforts did not work. As always i admire your persuit of NB systems (the only systems i have had consitant results from) and your other ea's cant say enough really

Keep fighting
Censura
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 Steve, Bob,
i doing well with this EA. 13 positions so far , 12 winners and 1 loss.

Bad news is my 4 open positions are now going through more DD than my closed winners.
Good news is we all had a crap week and i think Bobs's Bot has been resilient and carefull enough with the positions taken to survive.
Happy to sit with these settings for a while longer.
regards and good luck.
cuzgeorge

Image

EDIT-- 2nd demo added for tinkering to allow first demo to run OOTB for as long as needed.

Image
Last edited by cuzgeorge on Sun Sep 23, 2012 5:10 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
alex_forex
Trader
Posts: 438
Joined: Tue Nov 15, 2011 5:46 pm
Location: F R A N C E

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

Post by alex_forex »

Several great inputs my friend George !
Thanks a lot for those many demos and settings and feedback :D

Regards
Alex
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 »

Hello again,
i have been asked for a set file for Bob's bot.
i am including 2 pics, one with the open positions causing the DD at the moment and one pic with the closed winners so far.

The set file included is for gbpusd, as this one closed two positions at TP. This is my adaptation of what i want to TEST for gbpusd. Mostly OOTB, but play around with the settings as you feel it best in relation to a chosen pairs volaitility and the criminals spread.

have fun and hope you get lotsa pips for the week.
cuzgeorge
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
Post Reply

Return to “10.x EA forum”