Bold Bob

Bold Bob

Postby SteveHopwood » Sat Mar 08, 2014 5:15 pm

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. Remember to set IsGlobalPrimeOrECNCriminal to 'true' if your crim insists on two-stage order sending.
    • Moving averages as in Bob's Dummy Lights.
    • How to calculate your broker's GMT offset. Good luck with that one.

THIS IS AN EXPERIMENTAL EA NOT YET BEING USED ON OUR LIVE ACCOUNTS

Introduction
Big Bob trades a combination of the information provided to as by boldtrader at http://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=87339#p87339 and the two moving averages that Bob uses as trend-direction determinants in his 10.6 EDSEL system:
  • Bob and 10.6 use the H4 60 and 240 lwma applied to the close:
    • the market is trending up when it is above both MA's.
    • the market is trending down when it is below both MA's.
    • the market is ranging when it is between both MA's.
    • the relationship of the MA's to one another is irrelevant.
  • The whole of boldtrader's post is well worthwhile reading a couple of times - there is much invaluable information there that accords with that provided by CJ in his thread. The bit of bt's post that Bold Bob uses is:
    • London opens at 08.00 GMT. At 08.15 GMT, draw horizontal lines at the high and low of the previous M15 candle. Whatever your trading system, only go long when the market is above the high, and short when below the low as represented by the lines you have drawn.
  • Repeat this process when New York opens at 13.00 GMT, so draw the hilo of the 13.00 GMT candle when the new one opens at 13.15.

BB's trading method
Big Bob is a box breakout trader. At the start of the session, the market will be within the box. BB will trade in the direction of the trend as indicated by 10.6 when it breaks out of the box in the direction of the trend. We have the choice to trade immediately the price exits the box (EveryTickMode = true) or wait for the market to close outside the box (EveryTickMode = false).

Take profit and stop loss can be set by the usual inputs, or dynamically using the size of the box. Details below.

GMT offset
There is a variable, GmtOffset. Brokers have different D1 candle start times, so BB needs to know the difference between that and GMT. For example, Global Prime is GM2 + 2, so my local (GMT) time might be 9.00, but GP's is 11.00. So:
  • Leave the DrawLondonHour and DrawNewYorkHour at their defaults of 8 and 13 respectively (they are visible to you only so that inveterate tinkerers can do their thing).
  • Calculate/find out the difference between you broker's time and GMT (good luck with that one).. Enter this into GmtOffset.

Longer-standing members of our forum are aware that I do not usually allow discussions about how to tell the time in my threads. I am making an exception here, so ask away if you get stuck. Post two here will hold any additional information that members post about this.

I shall also add a list of brokers and their GMT offsets as members provide them. Once you have calculated yours, please post it. I, or Tommaso, or anyone else with the authority to do so will add it to the list in post two, then delete your post to remove clutter.

Subsequent edit:
Radar has posted an indi that will help with all this. Read his post at http://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=87529#p87529

Backtesting
Those of you who do not know me well, take this next bit seriously. Backtesting in CrapergyTester is a waste of time for anything other than checking code. You are not allowed to pollute this thread with discussion about it. I will delete any post that does attempt to discuss it. Continue to try to repost and I will remove your ability to post at all.

The usual stuff
All the usual stuff is included, so study the attached Shell User Guide for any inputs that you do not understand and which I have not described in the next section.

Inputs
  • TradingTimeFrame and EveryTickMode are linked. You will need a recognised chart time frame (15, 30, 60, 240, 1440 etc) in TradingTimeFrame if EveryTickMode is false because this forces BB to wait until a candle closes outside the hilo box before looking for a trade. If EveryTickMode is 'true' then TradingTimeFrame is irrelevant.
  • StopLossPips is a fixed stop loss. If this is zero:
    • the height of the hilo box is multiplied by the RangeStopLossMultiplier input to create a dynamic SL.
    • MinStopLossPips; BB turns the box to its 'used' colour immediately if the box height is less than this number of pips. This is to prevent trades being sent with a stop loss that is too close to the open price for the broker to allow.
  • TakeProfitPips is a fixed take profit. If this is zero:
    • the height of the hilo box is multiplied by the RangeTakeProfitMultiplier input to create a dynamic TP.
  • GmtOffset: described above.
  • DrawLondonHour: this is 8.00 GMT, so leave it alone unless you want to play around.
  • LondonSessionLengthHours: the length of time you want the hilo box to remain on your screen. By default, the London open hilo will be deleted at 12.00 GMT.
  • Then there is your choice of line colour for the box, and the list of inputs is repeated for the NY session. There are inputs that let you set the colour of the box lines once a trade has been taken, or we have moved outside our trading period (LondonFinishedLineColour and NewYorkFinishedLineColour). BB regards the box as no longer tradable once it changes colour. It does not remove the lines; this allows us to study what would have happened during the rest of the session when a trade has closed - BB is a once-a-session only trader. Note: the lines are trend lines and BB has code that locates the most recent ones, so do not draw your own trendlines - you will bugger up BB's working.
  • UseMovingAverageFilter (Moving averages inputs section further down): allows you to disable the moving averages filter and just trade the breakout of the box.

The high of the box is solid and the low dashed, so we know which one we are looking at if the market moves the other off our screens.

Coders
Post 3 has a description of how to add your own fav indicators to the source so you can play around.

Conclusion
Play around, mess with the inputs, try enabling libcss etc. See if you can find a group of settings that work for you.

No doubt additions to the methodology will arise; we shall see what they bring.

:xm:

Matters of general interest
Go here to download and run the script that will fill your platform's missing chart history: Script to (ATTEMPT) Force Download of historical data
Read this post:
The Old Beast, How MurphyMan made this a successful trading Newbie traders, read this for inspiration and warning. Those of you who have suffered losses, read it for inspiration.

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 My shell EA code, at the bottom of the post.

Useful utilities/EA's/scripts
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the several thousand SHF members who wisely choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

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

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

Bold Bob

Postby SteveHopwood » Sat Mar 08, 2014 5:15 pm

Radar has posted an indi that will help with all this. Read his post at http://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=87529#p87529

Known GMT offsets:

Global Prime +3
Cowboy IBFX Aussie +0
GoMarkets +3
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the several thousand SHF members who wisely choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

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

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

Bold Bob

Postby SteveHopwood » Sat Mar 08, 2014 5:15 pm

Coders, here is how to add your fav indi's to BB:
  • add the inputs to the inputs list.
  • add the calling function somewhere in the indi module.
  • add a call to the ReadIndicatorValue() function.
  • go to LookForTradingOpportunities(). If the initial test has signaled a trade then use the values stored in your indi variables to cancel the trade within the if (SendLong) or if (SendShort) constructs.
  • add code to LookForTradeClosure(int ticket) if your indi is also part of your trade closure decision.

:xm:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the several thousand SHF members who wisely choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

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

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

Bold Bob

Postby milanese » Sat Mar 08, 2014 6:33 pm

Looking great :good: Thanks Steve!!! :cheer: :cheer:

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
milanese
 
Posts: 3390
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Bold Bob

Postby SteveHopwood » Sun Mar 09, 2014 9:48 am

V 1b is in post 1. I awoke this morning to the realisation that the code to disable the moving average filter was faulty.

:xm:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the several thousand SHF members who wisely choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

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

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

Bold Bob

Postby SpiderX » Sun Mar 09, 2014 3:15 pm

SteveHopwood » Sun Mar 09, 2014 1:15 am wrote:Known GMT offsets:

Global Prime +2
Cowboy Cowboy IBFX Aussie +0


GP is now GMT +3 with DST.

Cheers
"Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It does not dishonor others, it is not self-seeking, it is not easily angered, it keeps no record of wrongs.Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres."
-Corinthians 13:4-8
User avatar
SpiderX
 
Posts: 576
Joined: Thu Aug 22, 2013 4:50 pm

Bold Bob

Postby SteveHopwood » Sun Mar 09, 2014 7:32 pm

SpiderX » Sun Mar 09, 2014 3:15 pm wrote:
SteveHopwood » Sun Mar 09, 2014 1:15 am wrote:Known GMT offsets:

Global Prime +2
Cowboy Cowboy Cowboy IBFX Aussie +0


GP is now GMT +3 with DST.

Cheers

Thanks. I received the GP email but forgot.

:xm:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the several thousand SHF members who wisely choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

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

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

Bold Bob

Postby nonlinear » Mon Mar 10, 2014 2:22 am

Citi now GMT-4 (adjusted from GMT-5)
ATC GMT+3
nonlinear
 
Posts: 160
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

Get your broker's GMT Offset here

Postby Radar » Mon Mar 10, 2014 2:49 am

Hey Gang,

I posted an indicator a while back that shows...

Local Time
Remaining Bar Time
Current Bid, + Symbol
Broker Time
GMT

... You can use it to calculate your broker's GMT Offset by simply subtracting the GMT time from the Broker Time.

Find the indicator here... Local, Candle, and Broker Time indicator

Have fun!

Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
Radar
 
Posts: 445
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Get your broker's GMT Offset here

Postby milanese » Mon Mar 10, 2014 2:57 am

Radar » Mon Mar 10, 2014 2:49 am wrote:Hey Gang,

I posted an indicator a while back that shows...

Local Time
Remaining Bar Time
Current Bid, + Symbol
Broker Time
GMT

... You can use it to calculate your broker's GMT Offset by simply subtracting the GMT time from the Broker Time.

Find the indicator here... Local, Candle, and Broker Time indicator

Have fun!

Radar =8^)

Thanks mate!
very utile :good:

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
milanese
 
Posts: 3390
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Next

Return to Automated trading systems

Who is online

Users browsing this forum: No registered users and 1 guest

cron