Secret Trendy Bob

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
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.

Secret Trendy Bob

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.
THIS EA IS EXPERIMENTAL AND IS NOT YET BEING USED ON OUR LIVE ACCOUNTS

Intro
Secret Trendy Bob is an attempted automation of the trend trading part of Bob's latest at http://www.stevehopwoodforex.com/phpBB3 ... =38&t=3871. Read his post 1 for the trading method. You need his indicator in your Indicators folder; up to you whether you have it on your charts.

I coded this whilst the markets were closed. It appears to be working in code testing in Crapergy Tester, but there could be a few bugs lurking in the undergrowth.

Required indi
You will need the attached 240 BUY.SELL.NOW.ALERT indi in your indicators folder for the EA to work.

Inputs
  • TradingTimeFrame: 0 defaults to the current chart. Set it to whatever is your preferred tf if you wish to view different tf's without disturbing STB. H4 = 240; D1 = 1440.
  • MaxTrades: STB takes a trade with each new signal, up to this maximum.
  • EveryTickMode: tells STB to take a trade as soon as the indi generates a signal. Set this to 'false' if you want to trade confirmed signals at the close of the previous candle.
  • UseHiLoForStop: tells STB to use the trigger candle hilo to calculate the stop loss.
  • HiLoBufferPips: added to the hilo of the trigger candle to calculate the stop loss. If this is too close to the market to allow the stop loss, STB calculates a stop based on the broker's minimum stop level plus the spread. StopLossPips is calculated from the stop loss for risk based trading.
  • 240 BUY.SELL.NOW.ALERT inputs: these equate to those in the indi. Leave them alone unless you know what you are doing.
The remaining inputs are the usual suspects. Newcomers, read the details in the attached user guide.

Other Bob stuff
It is all there along with the usual other stuff, so read the attached user guide for details. You can combine the above with Slope, Css, RSI2 etc. Take your pick. Use different time frames and play to your hearts content.

Chart screenshots
The EA can take a picture of your chart when it opens or closes a trade. Use this to post pictures here if you suspect that the EA has not behaved as expected. There is a section of inputs just underneath the minimum pips section, with inputs to turn this featureon/ off and to adjust the height and width of the snap. Files are saved with the name "ChartScreenShot" and the ticket number, when the EA opens or closes a trade. Navigate to the files via File/Open Data Folder/MQL4/Files. Remember to delete these files from time to time to avoid clogging up your disk drive.

Setting up your charts
Pay a quick visit to http://www.stevehopwoodforex.com/phpBB3 ... =48&t=3860 and download Art's 'Charts Into Alphabetical Order script'. This script will save you hours of faffing around; instructions for use in the post.

In conclusion
Let's take this puppy for a stroll and see how well it wags its tail.

:xm:



Matters of general interest
Go here to download and run the script that will fill your platform's missing chart history: http://www.stevehopwoodforex.com/phpBB3 ... f=15&t=254
Read this post:
http://www.stevehopwoodforex.com/phpBB3 ... p?f=6&t=78 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 http://www.stevehopwoodforex.com/phpBB3 ... ?f=15&t=79, at the bottom of the post.

Useful utilities/EA's/scripts
list][*]Multi purpose trade manager: http://www.stevehopwoodforex.com/phpBB3 ... ?f=21&t=64
[*]Account equity analyser: 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 ... ?f=15&t=79[/list][/list]

-
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
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Secret Trendy Bob

Post by SteveHopwood »

Temporarily locking this thread. My STB started taking trades as soon as it had calculated the average spread. Then closing them.

Hmmmm. I really should have learned not to post untested code. :oops:

Hey ho. I will sort this out and let you all know when the bot has taken some sanity pills.

:xm:
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.

Secret Trendy Bob

Post by SteveHopwood »

We are back in business guys and gals. I saw the mistake as soon as I looked at the code this evening. SecretValBuy and its partner need initialising to EMPTY_VALUE, not zero, otherwise STB finds that SecretValBuy is != EMPTY_VALUE and instantly sends a buy trade.

V 1a in post 1 appears to be working as intended now.

:xm:
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.

Secret Trendy Bob

Post by SteveHopwood »

Oops. Spoke too soon. You can still demo the bot but set MaxTrades to 1 because the multiple trading code isn't working properly.

:xm:
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
woodlands
Trader
Posts: 226
Joined: Sun Mar 23, 2014 6:16 pm

Secret Trendy Bob

Post by woodlands »

Thanks Steve, I put it on Demo H1 and it was 'very' busy so moved to H4 but there were still a lot of trades because of the change above, but.....STB was up 3.5% at one stage in the proceedings.
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.

Secret Trendy Bob

Post by SteveHopwood »

Looks as though the code that limits the bot to one trade per signal is working now. V 1b in post 1.

:xm:
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.

Secret Trendy Bob

Post by SteveHopwood »

Just a quick reminder folks, or warning for noobs, that this fucking platform will defeat you at every end and turn.

I just caught a message from STB that it could not send a GAud buy because of trade not being enabled in the properties thingy. It fucking well was the last time I bloody looked. 10 minutes ago.

So I checked the charts. Most of the ea's had been deleted.

Be warned. The shit is really playing up now.

Sorry about the language. Go to a different forum if it offends you.

:xm:
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.
excalibre30
Trader
Posts: 68
Joined: Sat Mar 08, 2014 7:45 am

Secret Trendy Bob

Post by excalibre30 »

Setup a new demo for this.

Image
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Secret Trendy Bob

Post by spotdespot »

SteveHopwood » Mon Oct 13, 2014 9:25 pm wrote:Just a quick reminder folks, or warning for noobs, that this fucking platform will defeat you at every end and turn.

I just caught a message from STB that it could not send a GAud buy because of trade not being enabled in the properties thingy. It fucking well was the last time I bloody looked. 10 minutes ago.

So I checked the charts. Most of the ea's had been deleted.

Be warned. The shit is really playing up now.

Sorry about the language. Go to a different forum if it offends you.

:xm:
I had to can my M15 Fractalated Bob demo as it will no longer do anything I tell it to. I read somewhere that the major issue with Build 711 is a memory leak and that leak has something to do with using libraries. I changed my M15 FBob demo to use CSS (which I guess uses Baluda's CSS Lib). All of a sudden I start having issues everywhere with all 711 platforms. So I checked my memory usage and my M15 FBob demo was using nearly 2GB of memory!!

So I thought - ok I will change it back so CSS isn't used until they fix the clusterf***. But I can't. It won't let me apply a template, let alone apply a template to all charts. Unbelieveable. So I guess that one's on hold for a while. :arrrg:
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Secret Trendy Bob

Post by Gertje »

I went back to #670 and no problem since.
Post Reply

Return to “Thingy Bob EA's”