V 3i is in post 1. This is no big deal unless you are using lot sizing by dollops of cash; you can wait for the next update if not. . DC posted about a bloop in the code that was resulting in incorrect lot sizing under certain circumstances. This is fixed in 3i. It is also fixed in SPB 2j, which I shall post when I have finished writing this.
The DIY fix in both is easy. Do a search for: Lot = NormalizeDouble(NoOfDollops * LotsPerDollopOfCash, decimal);
//This equation provided by DygitalCrypto. Thanks David.
Lot = NormalizeDouble((MathFloor(((DoshDollop / SizeOfDollop) * LotsPerDollopOfCash) * 100) / 100), decimal);
The second is for Desky only. It is a check that the position is in a cash profit before closure is allowed. I am not sure this is necessary but does no harm. Insert this somewhere at the top of void CanWeCloseTheRollingGrid(string symbol, int pairIndex, int type):
Is anyone else having issues with some trades not opening on a super signal? I've noticed it on a few instances, not sure what's going on but rolling back to version 3c and trades open up just fine...
wallywonka wrote:Is anyone else having issues with some trades not opening on a super signal? I've noticed it on a few instances, not sure what's going on but rolling back to version 3c and trades open up just fine...
MaxPairsAllowedToTrade=8?
Happy pippin, Thomas
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so. (Mark Twain)
wallywonka wrote:Is anyone else having issues with some trades not opening on a super signal? I've noticed it on a few instances, not sure what's going on but rolling back to version 3c and trades open up just fine...
MaxPairsAllowedToTrade=8?
Hi Thomas,
I'll have maybe 3 trades open and 5/6 Super signals and the others just won't open.. They are within the timeframe allowed for the signals etc and I have tried to remove the EA and attach it again but they simply don't open, reverting back to older versions and the other trades open instantly so not sure what's changed in the more recent versions.... It's a strange one, if I work it out I'll let you know but can't see anything in the options that may be preventing it.
I'll have maybe 3 trades open and 5/6 Super signals and the others just won't open.. They are within the timeframe allowed for the signals etc and I have tried to remove the EA and attach it again but they simply don't open, reverting back to older versions and the other trades open instantly so not sure what's changed in the more recent versions.... It's a strange one, if I work it out I'll let you know but can't see anything in the options that may be preventing it.
I have faced same problem several times with different versions of Desky. When Desky loads, it opens trades on existing super signals, then stops reacting to new ones. If I reload it, it again acts once and then stops.
Last time switching “EveryTickMode” ON solved the problem.
This behaviour has to do with the fact that Steve has turned on various overtrading filters as default in version 3g. Turn off what you don't need. Attached is an example set file.
Cheers
Thomas
.
You do not have the required permissions to view the files attached to this post.
Happy pippin, Thomas
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so. (Mark Twain)
This behaviour has to do with the fact that Steve has turned on various overtrading filters as default in version 3g. Turn off what you don't need. Attached is an example set file.
Cheers
Thomas
.
Cheers Thomas, I'll throw that set file on it and see how it goes :hi:
This behaviour has to do with the fact that Steve has turned on various overtrading filters as default in version 3g.
Cheers
Thomas
.
The reason Thomas knows this is that he read the post when I informed you folks that these filters would be turned on by default.
I know there are those amongst you who resolutely refuse to read anything I write whatever the circumstances. That is why I do not bother to SCREAM IMPORTANT POINTS IN HUGE PRINT. I would be wasting my energy.
Fact is folks, you can expect thingies to go wrong if you take no notice of the poor sap actually writing this EA. Stop being so bloody stupid.
On a slightly more positive note, I have added a note about this to the relevant sections of the user guide.
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. pianodoodler@hotmail.com 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.
Here is something I want to add to Desky and SPB - equalising the value of pip movements across all the currencies. I want to add code to calculate a differential lot size so that, say, a 10 pip movement creates the same profit along all pairs.
I am utterly useless at the mathematical stuff. I have googled this, started to read it and it is not long before my eyes glaze over and I lose the will to live.
Can someone here either: explain how it is done in big print, single-syllable words in short sentences
or, even better:
provide the formula.
If someone can provide the steps, I can write the code.
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. pianodoodler@hotmail.com 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.