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

Slopey Peaky Bob
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5389
Page 25 of 84
Author:  SteveHopwood [ Tue Jun 26, 2018 7:48 am ]
Post subject:  Slopey Peaky Bob

MurphyMan » Tue Jun 26, 2018 1:05 am wrote:
How?

The reason I ask is this. If you have been keeping up with events here then you have seen how I have grown Gareth's account from its nadir of c. $226 to its current $666 plus a positive balance on its current basket. I never really expected the account to survive back then and was happy to refund it and start again. Margin levels under 300% were common. Doesn't matter when the account started with $226. Would have been a tad on the different side had the account started with $226,000.

Did you do something similar, or did you start with a better funded account?
I started with a $3,000 account and as of today I'm up $1,066. Looks like my first basket closed on April 30. The main settings that mostly contribute to the growth is using $1,250/dollop at .01 lots/dollop, $30 Basket TP/dollop. I think I started at $1,000/dollop for the first couple of weeks, then changed it just to be a little safer and not overextend quite as much. Also, FkMinimumMarginPercent=1250.

Maybe a few other minor changes to OOTB, like Friday closing hours, but that probably didn't have much effect. I also closed a few baskets manually, probably because I was watching it all too closely and started getting cold feet.


That last basket closed this morning at $123.82. It should have been a $90 TP, but it looks like the basket trailing stop paid off.

After 6 weeks or so, I saw that EURUSD was under-performing, so I pulled it from the pairs trading. Printing the latest Trade Report today, it also looks like EURGBP, NZDUSD, USDCAD are candidates for removal. Not sure how that would affect the basket though.



I wanted to get into the testing group, but due to personal goings on and a finicky computer it wasn't the right time, but maybe I could get something in this week. Also, I keep fiddling with the settings.
Great stuff Sam. :clap: :clap: :clap: :clap: :clap:

:xm: :rocket:
Author:  isabek [ Tue Jun 26, 2018 7:53 am ]
Post subject:  Slopey Peaky Bob

Hi trader.

Can't add picture to message, so I post here.

except "D1 SS 0.0 threshold Peaky H4 AtrGrid 1D 60 0.5 Individual 75 All 100", set has selected pairs.

also at some point because of new modifications of SPB, targets was set to 37.5 and 50 (my blame)
spb_test.png
Author:  isabek [ Tue Jun 26, 2018 7:57 am ]
Post subject:  Slopey Peaky Bob

Is there anyone who had tested targets like this - individual pair target is greater than global basket?

Maybe it would can help bot to recover from DD automatically?

BR,
Author:  DigitalCrypto [ Tue Jun 26, 2018 9:04 pm ]
Post subject:  Slopey Peaky Bob

I may have found a small bug. Not sure why it's happening. On my main Oanda account it uses a suffix of "-5" on the pair name. The regular accounts do not have a suffix.

SPB is enumerating the pairs correctly for the screen when it initializes but for some reason it's placing trades on pairs without the suffix.

Also if I click the pair name like USDJPY-5 on the screen it will open a pair name without the suffix.

I tried figuring it out on my own but I got lost at the pair split and addchar concatenation stuff around the Extract Pairs function. I figure it would be something simple like appending the addchar part of the string split somewhere else but I'm in way over my pay grade here.

- David
Author:  SteveHopwood [ Tue Jun 26, 2018 9:23 pm ]
Post subject:  Slopey Peaky Bob

DigitalCrypto » Tue Jun 26, 2018 9:04 pm wrote:I may have found a small bug. Not sure why it's happening. On my main Oanda account it uses a suffix of "-5" on the pair name. The regular accounts do not have a suffix.

SPB is enumerating the pairs correctly for the screen when it initializes but for some reason it's placing trades on pairs without the suffix.

Also if I click the pair name like USDJPY-5 on the screen it will open a pair name without the suffix.

I tried figuring it out on my own but I got lost at the pair split and addchar concatenation stuff. I figure it would be something simple like appending the addchar part of the string split somewhere else but I'm in way over my pay grade here.

- David
Sadly, there is a limit to what coders can do to combat the more lunatic excesses of the more criminal so-called "brokers". I see yours are still getting up to the nastier of their tricks.

Take this up with your criminal and receive an intelligent response that you can pass onto me, and I will try to help. I doubt this will hold in the longer term. You really think that OANDA are true "brokers"? I would take some convincing. My code already takes care of suffixes, so the bastards have found a way of breaking it. They didn't do this because they love you.

Find out what you need and I will add it. Bear in mind though that this is an arms race in between you poor buggers unable to trade through Global Prime and those of you forced to trade with the other fuckers. Much as I want to, there is only so much I can do to help you. The rest is down to you and your political influence in the US.

:xm: :rocket:
Author:  DigitalCrypto [ Tue Jun 26, 2018 9:41 pm ]
Post subject:  Slopey Peaky Bob

Thanks Steve. I'm guessing more of the same will be the standard direction that remains of our country. It's practically civil war 2.0 over here.

Much appreciate all you do.
Author:  Lifesys [ Wed Jun 27, 2018 7:52 am ]
Post subject:  Slopey Peaky Bob

Hi DigitalCrypto
For interest, besides GP, we trade with Axitrader who use suffixes '.pro' for live Pro forex accounts & '.fs' for Indexes, SPB opens charts & trades. Last 2 days SPB closed +9.5% on live account just with S&P.fs, NAS100.fs & FT100.fs, some trades open <5min.
Extreme caution advised but interesting nonetheless. Meanwhile GP account keeps kicking goals.
Can add suffix to each symbol in PairsToTrade list BUT I removed the 'AddChar' lines which assume forex 6char. symbols. If fails, PM me for a workaround - not relevant to most here.

Another general question for Steve & those using 'BasketTrailingStopCash'.

I have found trailstop triggers, but then trades close anyway.
Murphymans question may be valid re 'BasketTrailingStopCash' >0 and 'BasketTrailingStopStartValueCash' .
In routine -

Code: Select all

bool CanEntirePositionClose() 
line 5563 will be true when activated, to adjust TrailStop, but I see no exit before line 5700

Code: Select all

      if(BTSActivatedCash)
	  {
if BasketTrailingStopCash >0 then line 5700 section kicks in and deletes active trades anyway, which was observed in Terminal Journal.

Code: Select all

   //Cash target
   if (!CloseEnough(BasketTargetCash,0) )
      if (TotalCashUpl >= BasketTargetCash)
      {
         CloseAllTrades(AllSymbols, AllTrades);
	...
hence, as long as BasketTargetCash >0 and TotalCashUpl exceeds it, trades will close anyway?
If this is true we require exits after BTSActivatedCash & BTSActivatedPips (if they do not close trades) OR do we need '//Cash target' section from line 5699 at all? Have remarked this out & trades still close.
Paul
Author:  SteveHopwood [ Wed Jun 27, 2018 8:41 am ]
Post subject:  Slopey Peaky Bob

Lifesys » Wed Jun 27, 2018 7:52 am wrote:hence, as long as BasketTargetCash >0 and TotalCashUpl exceeds it, trades will close anyway?
If this is true we require exits after BTSActivatedCash & BTSActivatedPips (if they do not close trades) OR do we need '//Cash target' section from line 5699 at all? Have remarked this out & trades still close.
Paul
The point is to allow us to set a far, far distant TP and lock in profits en route.

:xm: :rocket:
Author:  SteveHopwood [ Wed Jun 27, 2018 11:20 am ]
Post subject:  Slopey Peaky Bob

This one has me puzzled. AUDNZD:
AUDNZDH1.png
SPB is running on VPS. The pic is taken from my desktop where I code and monitor my live trades. The Peak HiLo is correctly showing the trading direction as short. So is SPB.

Yet it sent the buy stop grid. Three of the stops have filled and are doing rather well.

I looked at Gareth's account and there were three unfilled buy stop orders. I deleted them and SPB did not replace them. I looked at PJ's account and SPB had not sent any buy stops.

I cannot see anything in void GetPeaky(string symbol, int PairIndex) that would cause SPB to misidentify the trading direction, or in void ReadIndicatorValues() that would cause it to misidentify a trade signal.

Any of you guys got any ideas?
Author:  Gertje [ Wed Jun 27, 2018 11:23 am ]
Post subject:  Slopey Peaky Bob

SteveHopwood » Wed Jun 27, 2018 11:20 am wrote:This one has me puzzled. AUDNZD:



SPB is running on VPS. The pic is taken from my desktop where I code and monitor my live trades. The Peak HiLo is correctly showing the trading direction as short. So is SPB.

Yet it sent the buy stop grid. Three of the stops have filled and are doing rather well.

I looked at Gareth's account and there were three unfilled buy stop orders. I deleted them and SPB did not replace them. I looked at PJ's account and SPB had not sent any buy stops.

I cannot see anything in void GetPeaky(string symbol, int PairIndex) that would cause SPB to misidentify the trading direction, or in void ReadIndicatorValues() that would cause it to misidentify a trade signal.

Any of you guys got any ideas?
From the look of your chart, I believe SPB is doing it correctly.

When placing the pendings, the market is still 20? or 30? pips away from the first pending, and probably was JUST in the lower half of the 6th when getting the D1 SS signal.
All times are UTC Page 25 of 84