Bob and Shelley Again

Locked
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 and Shelley Again

Post by SteveHopwood »

SAD TO SAY BUT THIS EA WAS A FAILURE. THIS THREAD IS LOCKED. FEEL FREE TO READ IT TO LEARN WHAT YOU CAN FROM IT


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.
    • Market trend and retracement patterns.
    • Moving averages; RSI indi; Stochastic indi: Baluda's 10.4 TMA-RSI Slope indi; ATR indi.
I am trading this EA on my live account. Do so yourself only after some demo testing to make sure it suits you.



Shelley (fxozgirl) contacted me a couple of days ago with a mouth-watering proposal for an EA. Her full pm is in post 2; this includes a couple of pictures of trade setups. Here is a précis of the trading method:
  • Time frame: H4
  • Trend determination:
    • 60 period LWMA > 240 period LWMA: market is trending up and we are looking for buys when the market is above the 60.
    • 60 period LWMA < 240 period LWMA: market is trending down and we are looking for sells when the market is below the 60.
    • no trade when the market is in between the 240 and 60.
  • There are two entry methods:
    • Main entry based on a cross of the 60 from below in an uptrend and above in a downtrend, using RSI-TMA Slope (shown by the '10.4 4H RSI2' indi).
    • Re-entry, when the market is the correct side of the 60 for trading but there is no cross of the 60. The trigger is a combination the direction of the previous two candles and Stochastic.
Read full details in the attached BASA User Guide.pdf.


Shelley's pm arrived just at the right moment. I have been working with the 60 period Moving Average quite a lot of late, and have begun to recognise how powerful it is. Coincidentally, I had coded something similar to BASA, using the 240 and 20 MA's on the H4, trading the cross of the 20 when CSS agrees and setting up a grid of subsequent pending trades to scale into a larger position in a big move. This is holding its own on demo but is not ready for release yet.

I coded a semi-auto trader for a private recently week, based on trading long above the 60 and short below it. I turned this into an auto-trader and set it loose on demo on Friday. Too early to tell whether the EA will be a successful auto-trader, but it is fascinating to drag a 60 MA onto an H4 chart and see how rarely there is a cross of it and a change of trend direction.

So, I am a tad excited by Shelley's ideas. Let's see if we can make this one into a winner.

:D

Subsequent edit 12th Nov 2013
BASA has undergone been considerable development and continues to be successful. There can be a problem with the opening times of the H4 candle because different brokers have different opening times; this can have a dramatic effect on the success of trading.

Dedicated MTF version
SpiderX has made additions/edits to the code to create a version specifically designed to be used on the lower time frames. You can find this at http://www.stevehopwoodforex.com/phpBB3 ... 151#p83151.

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

Re: Bob and Shelley Again

Post by SteveHopwood »

Here is Shelley's full pm:
fxozgirl wrote:Hi Steve, hope you've been keeping well?

You know I like to keep my strategies really, REALLY simple...as a result, I've been playing around with Bob's Simple 10.4 and trying to customise it to suit my available screen time (I only have about an hour in the morning & a couple of hours at night to look for setups, monitor etc.) & in my part of the world.

So....

I was wondering if you could help me with some coding? Actually I have had a go myself using an EA building software (it's bare bones just to see if I could get something working), but it's very glitchy & doesn't always work as I intend (actually it's probably not glitchy at all, it's almost completely my lack of comprehension :lol: ). I've also tried to incorporate the 10.4 TMA RSI Slope indicator but I'm getting error messages saying the file can't be opened (I've attached the EA's for a laugh ;) ...that's right I've done 2 as I didn't know how to incorporate both types of trade entry into 1 EA :o ) With that being said the EA is taking trades, although not quite accurately & often takes 2 trades the same at the same time.

With Bob's Simple 10.4, he has discovered that using the 240 LWMA & the 60 LWMA on a 4H chart is an excellent indicator of trend direction (as an alternative to using CSS)...if the 60 LWMA is below the 240 LWMA, then the trend is down and if the 60 LWMA is above the 240 LWMA then the trend is up. Bob then goes to the 1H chart and places pendings using pivots or S/R levels...this is the point where I'm either missing setups or missing opportunities to close trades. For the time I have available, the 4H chart works best for me, it allows me to let my trades run (ala Gday) & it also means I don't have to check my trades as often.

It appears that once price crosses the 60 LWMA it generally continues in the direction of the identified trend (this is where we are looking to place our trades), when price crosses back between the 60 & 240 LWMA's it is in 'no man's land' and we shouldn't be trading.

So, I am using the LWMA's on the 4H chart to determine the trend, then using price crossing the 60 LWMA in conjunction with the TMA-RSI Slope indicator to enter trades. This is what I call a 'main' entry. I am then using the Sto 5 indicator after a pullback in price to re-enter back into the trend.

At this stage I am using MPTM to manage the trades, with BE +2 set at 30 pips, then a JS of 50. SL is set at 100.

Given, this is used on the 4H chart, it definitely won't be a trading beast, however I am looking for quality not quantity.

The rules are as follows:

LWMA CROSS with RSI_Main Entry

BUY RULES

Trade Set Up - Main Entry:

1. 4H Chart
2. LWMA 60 must be above LWMA 240 (indicating an uptrend)
3. RSI must be below 10

Main Entry:
Enter trade at start of new candle if
1. Candle (shift 2) must close below LWMA 60
2. Candle (shift 1) must close above LWMA 60
3. RSI must be below 10 (shift 3) - I have coded my EA to enter at shift 3, but ideally it would be fine to enter if TMA-RSI slope was below 10 anywhere in the previous 3 candles (I didn't know how to code this)
4. BE 30 +2, SL 100, JS 50

Re-entry:
1. Candle (shift 2) must have closed LOW
3. Candle (shift 1) must close HIGH
1. Sto 5 indicator must be below 20 (shift 2)
4. BE 30 +2, SL 100, JS 50


SELL RULES

Trade Set Up - Main Entry:

1. 4H Chart
2. LWMA 60 must be below LWMA 240 (indicating a downtrend)
3. RSI must be above 90

Main Entry:
Enter trade at start of new candle if
1. Candle (shift 2) must close above LWMA 60
2. Candle (shift 1) must close below LWMA 60
3. TMA-RSI slope must be above 90 (shift 3) - I have coded my EA to enter at shift 3, but ideally it would be fine to enter if TMA-RSI slope was above 90 anywhere in the previous 3 candles (I didn't know how to code this)
4. BE 30 +2, SL 100, JS 50

LWMA CROSS with Sto_Re-Entry

Re-entry:
1. Candle (shift 2) must have closed HIGH
3. Candle (shift 1) must close LOW
1. Sto 5 indicator must be above 80 (shift 2)
4. BE 30 +2, SL 100, JS 50

I have attached some charts with examples of the 4 types of trades, my template, indicators & EA's for your information.

Of course, I understand if you are too busy or not interested, just let me know...either way it's been a good opportunity for me to start some coding on my own!

Thanks for your time Steve :D

:D
Some sample trades:
Main Entry Buy.png
Re-entry Buy.png
Main entry Sell.png
Re-entry Sell.png
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
Jemook
Trader
Posts: 1085
Joined: Thu May 10, 2012 10:19 am
Location: Bondi, Sydney, Australia

Re: Bob and Shelley Again

Post by Jemook »

Here's trouble! Shelley is back!

J
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.

Catch me here: https://www.afterprime.com
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 and Shelley Again

Post by SteveHopwood »

Posters asking stupid questions that prove conclusively that they cannot be arsed to read post I properly will get banned.

I do not enjoy preparing post 1. I really hate spotting and correcting the bloops that creep in because preparing post 1 pisses me off so much.

This post is meaningless to most of you. It is aimed at a specific individual.

Having said that, it is well worthwhile bearing in mind the sentiments I express here.

: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.
trader689
Trader
Posts: 674
Joined: Thu Nov 17, 2011 12:53 am

Re: Bob and Shelley Again

Post by trader689 »

i keep getting an error message

"Cannot open file 'D:\Program Files\Global Prime Empty4 - 3\experts\indicators\10.4 4H RSI2 modified for automation.ex4' "

even though the indicator is in the folder and i have restarted the platform.

please advise, thanks
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 and Shelley Again

Post by SteveHopwood »

trader689 wrote:i keep getting an error message

"Cannot open file 'D:\Program Files\Global Prime Empty4 - 3\experts\indicators\10.4 4H RSI2 modified for automation.ex4' "

even though the indicator is in the folder and i have restarted the platform.

please advise, thanks
Sometimes on startup, Empty4 fails to compile the source code with the extension .ql4 into the executable file with the extension .ex4

Try right-clicking the indi in your Navigation window and select 'Modify' if this is available. If so, Empty4's CrapperEditor will open the file. Hit the F5 key to compile properly then close the editor.

If 'Modify' is not available, then your download failed, so re-download the indi from 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.
trader689
Trader
Posts: 674
Joined: Thu Nov 17, 2011 12:53 am

Re: Bob and Shelley Again

Post by trader689 »

i opened the indicator with metaeditor and did the f5 compile thing, no errors or warnings, restarte dthe platform, same error message. then removed both the mq4 and ex4 version of the indicator and redownloaded from post 1, started Empty4 again, same error

any suggestions? many thanks
SteveHopwood wrote:
trader689 wrote:i keep getting an error message

"Cannot open file 'D:\Program Files\Global Prime Empty4 - 3\experts\indicators\10.4 4H RSI2 modified for automation.ex4' "

even though the indicator is in the folder and i have restarted the platform.

please advise, thanks
Sometimes on startup, Empty4 fails to compile the source code with the extension .ql4 into the executable file with the extension .ex4

Try right-clicking the indi in your Navigation window and select 'Modify' if this is available. If so, Empty4's CrapperEditor will open the file. Hit the F5 key to compile properly then close the editor.

If 'Modify' is not available, then your download failed, so re-download the indi from post 1.

:D
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 and Shelley Again

Post by SteveHopwood »

trader689 wrote:i opened the indicator with metaeditor and did the f5 compile thing, no errors or warnings, restarte dthe platform, same error message. then removed both the mq4 and ex4 version of the indicator and redownloaded from post 1, started Empty4 again, same error

any suggestions? many thanks
Not from me sadly. The problem is at your end and there is nothing I can do about it. Please sort this out for yourself and do not clog up this thread with your technical issues.

: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
fxozgirl
Trader
Posts: 1176
Joined: Wed Nov 16, 2011 9:16 am
Location: Melbourne, Australia

Re: Bob and Shelley Again

Post by fxozgirl »

trader689 wrote:i opened the indicator with metaeditor and did the f5 compile thing, no errors or warnings, restarte dthe platform, same error message. then removed both the mq4 and ex4 version of the indicator and redownloaded from post 1, started Empty4 again, same error

any suggestions? many thanks
Just to confirm, I've just loaded my platform ready for trading without any problem, so unfortunately it does appear the problem may be at your end. Sorry :(
User avatar
fxozgirl
Trader
Posts: 1176
Joined: Wed Nov 16, 2011 9:16 am
Location: Melbourne, Australia

Re: Bob and Shelley Again

Post by fxozgirl »

And we're off...Perfect first trade:

Main entry audcad sell, let's see how it works out :D
audcad.gh4_firsttrade.png
You do not have the required permissions to view the files attached to this post.
Locked

Return to “Automated trading systems”