Slopey Peaky Flying Buddha Bob

Slopey Peaky Flying Buddha Bob

Postby SteveHopwood » Thu Sep 05, 2019 8:10 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:

MAKE SURE YOU READ THIS POST http://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=111241#p111241 There was a Forex bloodbath on Jan 15th 2015 that you need to know about.

You need the "SPB core library.mqh" file in your platform's Include folder. Download it from https://www.stevehopwoodforex.com/phpBB ... 59#p159559


A Flying Buddha is a signal that the market could be set to resume the overall trend after a retrace. It has three elements:
  • A 5 period moving average.
  • A 10 period moving average.
  • The previous candle.

There is a FB when:
  • Buy signal:
    • 5 MA is below the 10 MA.
    • The previous candle traded entirely below the 5 MA.
  • Sell signal:
    • 5 MA is above the 10 MA.
    • The previous candle traded entirely above the 5 MA.

The attached indicator by Swing Man draws the moving averages and FB signals for you. SPFBB does not need it as I have included the FB-detection code within the bot.

By default, SPFBB trades thus:
  • Buy:
    • D1 and H4 SS must both be > 2.
    • H4 Peaky must be long.
    • The previous candle must have generated a FB signal, indicating a substantial retrace against SS and Peaky.
  • Sell:
    • D1 and H4 SS must both be < -2.
    • H4 Peaky must be short.
    • The previous candle must have generated a FB signal, indicating a substantial retrace against SS and Peaky.

I have released the bot with my testing set hard-coded. The basket closure target is pure guesswork - I have no idea what this should be.

I have been running SPFBB for two weeks at the time of writing this. He lost a little last week, then clawed this back on Tuesday when he closed a Recovery pair. The open position is currently +681 pips.

Early days, but I regard this as a promising bot because it obeys the principle of trading after a strong retrace in the 'wrong' direction. We shall see.

You can find all the usual inputs etc described in the Slopey Peaky Bob user guide. The Flying Buddha inputs correspond to those of Swing Man's inputs apart from FbCloseOnOppositeFB.

Give it a go and see what happens.

:xm: :rocket:

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 600+ Steve Hopwood members who 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: 8968
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Slopey Peaky Flying Buddha Bob

Postby pivotter » Sat Sep 07, 2019 7:19 am

Found this on the internet so we can see what the indicator is doing.
Version .2 is attached with a fixed MA drawing

========================================================
extern double factorWindow=0.03;

windHeight = WindowPriceMax() - WindowPriceMin();
offset = windHeight*factorWindow;

//-- adjust offsets
if (offset!=oldOffset)
{
oldOffset=offset;
for (i=MaxBars; i>=0; i--)
{
if (signalDN[i]!=EMPTY_VALUE)
signalDN[i]=High[i]+offset;
if (signalUP[i]!=EMPTY_VALUE)
signalUP[i]=Low[i]-offset;
}
}


Ben
You do not have the required permissions to view the files attached to this post.
You think the rumbling comes from our "magic" black-box ?
User avatar
pivotter
 
Posts: 19
Joined: Sun May 01, 2016 12:02 am
Location: The Hague, The Netherlands

Slopey Peaky Flying Buddha Bob

Postby SteveHopwood » Sat Sep 07, 2019 7:43 pm

Fantastic Ben. Thanks very much. :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:

I have replaced the original .ex4 file in pst 1 with the updated .mq4 source file that Ben found for us.

The source code shows that the indi's MaxBars input controls how far back in time to start showing the FB signals. Try zooming right out and then limiting this input to 1000 to see it in operation. It also shows that factorWindow is a neat trick to fix the positions of the arrows re the candle's hilo.

This is stuff the EA does not need and means that I can bring the FB-spotting code into SPFBB resulting in a huge saving on cpu resources. Some time soon.

:xm: :rocket:
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 600+ Steve Hopwood members who 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: 8968
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Slopey Peaky Flying Buddha Bob

Postby SteveHopwood » Sun Sep 08, 2019 10:24 am

Thanks to Ben, the updated version in post 1 has the FB-detection code within SPFBB. :clap: :clap: :clap:

I have updated the indi as well, so that the mode and price inputs are enumerations. An enumeration is a construct that only contains allowable inputs, so that users cannot enter inputs that cannot be used. SPFBB does not need the indi at all; I have included it merely for individual chart display purposes.

:xm: :rocket:
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 600+ Steve Hopwood members who 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: 8968
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Slopey Peaky Flying Buddha Bob

Postby isabek » Fri Sep 20, 2019 11:35 am

Code: [Select all]
 Please Login or Register to see this content
<

Please can you confirm that is right?
isabek
 
Posts: 37
Joined: Wed Jun 28, 2017 10:46 am

Slopey Peaky Flying Buddha Bob

Postby SteveHopwood » Thu Jan 02, 2020 5:17 pm

V 1a is in post 1, with the hidden stop loss and scaling back in code added.

You need the "SPB core library.mqh" file in your platform's Include folder. Download it from https://www.stevehopwoodforex.com/phpBB ... 59#p159559


:xm: :rocket:
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 600+ Steve Hopwood members who 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: 8968
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.


Return to Super Slope EA's

Who is online

Users browsing this forum: No registered users and 1 guest