dclayw » Fri Jul 30, 2021 7:08 am wrote:
@Steve I also found a slight glitch in the code. At line 4408 in SPB core library. We need to use pip factor, so changed to this:
I have uploaded the fix to post 1. It is a simple DIY. Line 4408 will be this:
IndividualBasketTargetPips = (int) (atrVal * (TpPercentOfAtrToUse / 100) );
Do a search for the code if your line is dififerent. Replace it with:
IndividualBasketTargetPips = (int) (atrVal * factor * (TpPercentOfAtrToUse / 100) );
After posting, I decidied to add an extra pair of brackets i.e.
IndividualBasketTargetPips = (int) ((atrVal * factor) * (TpPercentOfAtrToUse / 100) );
Remember to recompile Slopey Peaky Bob Latest Version not the .mqh file, or the list of errors will make you jump.
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.
@acostafulano you raise some interesting points there with your testing.
I did not look closely into your problem and I'm guessing you know better then me as you've been testing this for a long time, but I'd question the strategy of running baskets indefinitely no matter what. At some point you will get into very deep water and likely blow the account. That could either be due to adverse market conditions including black swan type events, or just something happening with the EA, or the broker, or the platform or whatever. Too much risk in having very deep draw down positions open forever with the hope that one day it will come back. While it will very likely come back at some point things can go horribly wrong while you're waiting for that TP, as you have already seen with your example.
You're also running an older version of the EA which is bound to have bugs in it, perhaps a bug that will contribute to blowing the account one day, who knows. I also learned a very long time ago never to fight the Super Slope indicator. If it changes to opposite colour then get out, but I do use settings so that it does not change very often. Anyway, my 2c.
When I said "indefinitely" I was referring more to EA logic, not to my actual trading strategy.
In practice, if things go sour (as it happened to me at one point in which I reached drawdowns as high as to take me to 600-700% available margin, I do start intervening, closing baskets manually, stop trading pairs, etc. This has happened only 2-3 times over a year because I have been able to control DD and margin at acceptable levels to me for the most part.
I just don't want the EA to make that call for me. (Which is why I'm asking for help to the forum).
I did not look closely into your problem and I'm guessing you know better then me as you've been testing this for a long time, but I'd question the strategy of running baskets indefinitely no matter what. At some point you will get into very deep water and likely blow the account. That could either be due to adverse market conditions including black swan type events, or just something happening with the EA, or the broker, or the platform or whatever. Too much risk in having very deep draw down positions open forever with the hope that one day it will come back. While it will very likely come back at some point things can go horribly wrong while you're waiting for that TP, as you have already seen with your example.
You're also running an older version of the EA which is bound to have bugs in it, perhaps a bug that will contribute to blowing the account one day, who knows. I also learned a very long time ago never to fight the Super Slope indicator. If it changes to opposite colour then get out, but I do use settings so that it does not change very often. Anyway, my 2c.
I had a second demo running; that also doubled in size, so I had two accounts doubling from $10,000 to 20,000 plus.
Both demos gradually accrued huge positions over the succeeding 12 months, positions that did nothing more than cost vast amounts of swap costs. I finally got fed up a few weeks ago and closed them both.
This still left an excellent profit with balances at $11,750 and $11,634 respectively. We would be hard put to make these returns leaving the money in a savings account.
On the other hand, the positions would have blown a $10,000 account had I started the demos on April 20th 2020.
Our conclusions are:
Timing is everything. Start taking trades at the right time and everything is fine and dandy. Hit a 'leaky toilet' market though, and SPB gets killed.
This is not a safe EA.
For those of you unfamiliar with the term, a 'leaky toilet' market is nanningbob's description of a market that moves slowly but inexorable against our trades, i.e. falls against buys. The retraces are brief and not large enough to allow orders to be closed without loss.
The two demos are still running and one has already closed a basket. I shall leave them running.
I had the same experience, ended up giving back $16.838 profit when cancelling all trades on the live account after the balance reached the break-even point.
Was able to walk away with $1.000 profit after 3 years 'hard work".
I pulled the money from the account, and will wait what the future will bring.
Strange days......