stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Slopey Peaky Bob
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5389
Page 9 of 84
Author:  Dragonian [ Wed May 09, 2018 2:49 pm ]
Post subject:  Slopey Peaky Bob

SteveHopwood » Wed May 09, 2018 2:43 pm wrote:
Dragonian » Wed May 09, 2018 1:17 pm wrote:Hello Steve,

I am not a coder so go easy on me :o

Should line 212 of V1g not read "extern double HtfSsLevelCrossValue = 2.0;" rather than " double HtfSsLevelCrossValue = 2.0;", as in previous versions? Or has that function been purposely edited out?
Yes, it has. We are not looking for a HTF cross, so the variable is not relevant.

:xm: :rocket:
Thanks for the explanation Steve.
Author:  BobbyT [ Fri May 11, 2018 2:27 pm ]
Post subject:  Slopey Peaky Bob

BobbyT » Sat Apr 14, 2018 6:26 pm wrote:
But imbibing and :party: .....all the damn way :yahoo:

I'll try and remind you on Monday if I don't see an update.

It really does seem everyone is basket trading SPB. Otherwise someone would have mentioned it by now. I'm testing it 'fully' OOTB just for fun. No SL, default TP, no baskets (pairs or global). The only things I have changed is useZeljko = T and converted your limey time settings to hippy settings (PST).

Just completed week three of testing :) Looking much better than the last test which was 100% fully OOTB and killed a 10k demo at GP in a matter of weeks :roll:
I have been poked to give an update about this so here it is.

The results look pretty good. Even more so when you find out the account has been offline for about two weeks now.
I managed to get myself locked out of the GP servers due to erratic EA activity. Don't fret, it wasn't SPB. But I finally really understand the importance of having a dedicated development terminal :/

I lost contact with the servers around two weeks ago and as a result, SPB has sat there strewing in its own juices. Unable to open, close or otherwise manage any positions. Despite this, the account has secured ~20% gain with another ~20% floating. The red line indicates where the server connection was lost.

EDIT: There may be a problem with order closure based on PHPL and/or CSS reversal. I will go over the account and code this weekend and provide feedback on this (hopefully with enough time for the man to fix it up for Monday open if need be).

EDIT2: Updated my version to make sure that was ok. I've attached the current state of the EURNZD trades for SPB. I may have misread the EA guide so I'm not claiming anything until I get a closer look at the code this afternoon/tomorrow but...you can see in the image that there has been a H1 peaky reversal and a D1 CSS reversal but the stack did not close out.
The CSS reversal occured while the account had no connection but the peaky reversal is in effect as I type this and there was another just before I got myself locked out of the servers. Again, I will check the documentation and code before I make any claims about errors. Just putting this out there in case someone more informed than me can either confirm or refute my understanding of how SBP order closures are meant to be operating.
Author:  SteveHopwood [ Sun May 13, 2018 3:22 pm ]
Post subject:  Slopey Peaky Bob

Some more live trading results.

My main trading account:
Main.png
This represents one basket closing at my $30 basket TP

The tiny account I split off from the main account:
Small.png
This was a manual closure. The profit kept reaching $20 then falling back, so I decided to bag the profit whilst it was going.

Nothing from Gareth's account.

:xm: :rocket:
Author:  pintubesar [ Mon May 14, 2018 1:05 am ]
Post subject:  Slopey Peaky Bob

Thanks for your great sharing steve :!!:
i will try on my demo account first
Author:  kwchau [ Wed May 16, 2018 8:43 am ]
Post subject:  Slopey Peaky Bob

Currently the EA will send a grid of stop orders when the trading conditions are right. Then if the first stop order is hit, the EA will set a TP at 150 pips (note: TakeProfitPips is set at 0). Same applies to subsequent orders.

I would like to change this 150 pips to some other value, eg. one-sixth of Peaky. I have searched the code and could not find the whereabout of this 150 pips. Please, could someone kind enough to point me to the right direction where this TP setting is ?

Thanks for all your help !

kwchau
Author:  SteveHopwood [ Wed May 16, 2018 9:12 am ]
Post subject:  Slopey Peaky Bob

kwchau » Wed May 16, 2018 8:43 am wrote:Currently the EA will send a grid of stop orders when the trading conditions are right. Then if the first stop order is hit, the EA will set a TP at 150 pips (note: TakeProfitPips is set at 0). Same applies to subsequent orders.
Not on my platforms it doesn't. Nor can it. The TP is calculated in the usual double CalculateTakeProfit(int type, double price), which returns 0 if TakeProfitPips = 0. You are doing something wrong but that is nothing to do with SPB.

:xm: :rocket:
Author:  tomele [ Wed May 16, 2018 9:49 am ]
Post subject:  Slopey Peaky Bob

kwchau » 16 May 2018, 09:43 wrote:Please, could someone kind enough to point me to the right direction where this TP setting is ?kwchau
In a trade manager that is running in the background?

Cheers
Author:  kwchau [ Wed May 16, 2018 10:27 am ]
Post subject:  Slopey Peaky Bob

tomele » Wed May 16, 2018 5:49 pm wrote:
In a trade manager that is running in the background?

Cheers

Thank you Tomele and Steve,

I've spent over 3 hours trying to find out the reason but to no avail. I'll dig deeper to see what I have done wrong.


kwchau
Author:  Gertje [ Wed May 16, 2018 11:09 am ]
Post subject:  Slopey Peaky Bob

kwchau » Wed May 16, 2018 10:27 am wrote:
Thank you Tomele and Steve,

I've spent over 3 hours trying to find out the reason but to no avail. I'll dig deeper to see what I have done wrong.

kwchau
What does the "expert-" or "journaltab" print when adjusting the TP is happening?
Author:  kwchau [ Wed May 16, 2018 11:39 am ]
Post subject:  Slopey Peaky Bob

Gertje » Wed May 16, 2018 7:09 pm wrote: What does the "expert-" or "journaltab" print when adjusting the TP is happening?

When TakeProfitPips is set to 45, it sets the TP at 45 accordingly. When TakeProfitPips is set to 0, it sets the TP at 150 pips. :roll: :roll: :roll: :roll:
All times are UTC Page 9 of 84