Slopey Peaky Flying Buddha Bob

Post Reply
User avatar
SteveHopwood
Owner
Posts: 9754
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

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:
MAKE SURE YOU READ THIS POST http://www.stevehopwoodforex.com/phpBB3 ... 41#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 viewtopic.php?p=159559#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: 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. [email protected] 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
pivotter
Trader
Posts: 38
Joined: Sun May 01, 2016 12:02 am
Location: The Hague, The Netherlands

Slopey Peaky Flying Buddha Bob

Post by pivotter »

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!=EMPTY_VALUE)
signalDN=High+offset;
if (signalUP!=EMPTY_VALUE)
signalUP=Low-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
SteveHopwood
Owner
Posts: 9754
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

Post by SteveHopwood »

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?

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. [email protected] 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: 9754
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

Post by SteveHopwood »

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?

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. [email protected] 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.
isabek
Trader
Posts: 41
Joined: Wed Jun 28, 2017 10:46 am

Slopey Peaky Flying Buddha Bob

Post by isabek »

Code: Select all

//-- short signal
      if (Draw_SellSignals && dLow>MathMax(EMAfast[i1],EMAslow[i1]))
         signalDN[i1]=High[[b][color=#800000]i1[/color][/b]]+offset;
         
      //-- long signal
      if (Draw_BuySignals && dHigh<MathMin(EMAfast[i1],EMAslow[i1]))
         signalUP[i1]=Low[[b][color=#800000]i[/color][/b]]-offset;
Please can you confirm that is right?
User avatar
SteveHopwood
Owner
Posts: 9754
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

Post by SteveHopwood »

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 viewtopic.php?p=159559#p159559


:xm: :rocket:
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. [email protected] 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.
Post Reply

Return to “Super Slope EA's”