| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Slopey Peaky Bob https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5389 |
Page 66 of 84 |
| Author: | spymez [ Fri Jan 03, 2020 12:29 am ] |
| Post subject: | Slopey Peaky Bob |
Thanks for the update Steve. Wishing you and all SHF members a Happy and Profitable 2020. |
|
| Author: | SteveHopwood [ Fri Jan 03, 2020 9:38 am ] |
| Post subject: | Slopey Peaky Bob |
There is an update to the core library in post 1. Scaling back in needs code to prevent scale in trades bing sent with a stop loss. Search for: newPrice = NormalizeDouble(calculatedLevel + slLevel, digits); Add this block underneath@ Code: Select all |
|
| Author: | SteveHopwood [ Fri Jan 03, 2020 11:56 am ] |
| Post subject: | Slopey Peaky Bob |
There is a further update to the core library in post 1. I put the edit in the wrong place, meaning it would only work with sell stop scale in trades. Delete it from its current location then do a search for: double newPrice = 0; Insert this immediately below: Code: Select all |
|
| Author: | SteveHopwood [ Sun Jan 12, 2020 12:47 pm ] |
| Post subject: | Slopey Peaky Bob |
I have added a check that all the pairs in our PairsToTrade input are offered by the broker, to the core library file in post 1. Copy this over the top of the existing void extractPairs() function if you want to DIY. Code: Select all |
|
| Author: | SteveHopwood [ Mon Jan 13, 2020 9:48 pm ] |
| Post subject: | Slopey Peaky Bob |
There is another update to the SPB core library.mqh Include file in post 1. Scale-in stop orders are supposed to be deleted if the original trade hits its stop loss and closes, whether this is a 'hard' or a 'hidden' sl. This is not happening. I have been wracking my brains to see how to adapt the existing closure code and eventually hit upon a much simpler idea. DIYers, add this pending order deletion function where ever is convenient: Code: Select all Then do a search for this comment: //Scaling back in will leave stop orders behind if a trade hits SL, Copy this over the top of the existing code block: //Scaling back in will leave stop orders behind if a trade hits SL, //so they need deleting. if (UseScaleBackIn) { if (buyStopOpen) if (marketBuysCount == 0) deleteOrphanedStopOrders(symbol, OP_BUYSTOP, pairIndex); if (sellStopOpen) if (marketSellsCount == 0) deleteOrphanedStopOrders(symbol, OP_SELLSTOP, pairIndex); }//if (UseScaleBackIn) Recompile the relevant tribe member and see if it works properly now. |
|
| Author: | SteveHopwood [ Sat Jan 18, 2020 8:03 pm ] |
| Post subject: | Slopey Peaky Bob |
Lately, I have dealt with a moron unable to read Desky's user guide and another unable to read SPB's user guide. He was stupid enough to send me a pm about this. He is not going to enjoy my reply. They both made the same stupid mistake of being unable to work out the Friday global basket closure thingy. Only an idiot tries to use either of these EA's without fully understanding how they work. They are not toys for simpletons. I believe I might have mentioned this from time to time? In passing? Tangentially? Understanding the EA's involves reading the fucking user guides. PROPERLY. I wrote the bloody things so I would not have to answer moronic questions posted by lazy and stupid space-wasters. I put you on notice folks, that I will ban people whining that their Friday global basket take profit displays are wrong, and delete their registration here. Read the bloody manual and work this stuff out for yourselves. |
|
| Author: | raffus [ Thu Jan 30, 2020 8:15 pm ] |
| Post subject: | Slopey Peaky Bob |
hi to everybody i'm a newbie, fxtestify supporter. i opened a cent account with some money, can anybody help me in order to find the right value of "sizeofdollop" ? I'm not greedy, I would like to find the right compromise between gain and drawdown, I'd like to have a 2/3% monthly. thanks a lot to all people of this forum best regards |
|
| Author: | Gertje [ Fri Jan 31, 2020 11:04 am ] |
| Post subject: | Slopey Peaky Bob |
What value is Thomas using on his demo account which shows in FXTestify? I believe it is 0.01/$10.000 which delivers appr. 10% monthly. So start with 0.01/$30.000 and you'll be fine.... |
|
| Author: | SteveHopwood [ Sat Feb 01, 2020 7:57 pm ] |
| Post subject: | Slopey Peaky Bob |
The latest version of the core library is in post 1. This addressed the issue I posted about earlier in Desky's thread. Read about it at viewtopic.php?p=169475#p169475 The code is the same as Desky's but has to be placed in different locations here, along with adding a new function to the library. Find the new code by doing a search for this comment: "//Scale back in sltp correction" to take you to the code. " |
|
| Author: | SteveHopwood [ Mon Feb 03, 2020 5:17 pm ] |
| Post subject: | Bloop alert |
I have had to update the core library code. Read the explanation at viewtopic.php?p=169481#p169481 DIYers, do not follow the directions in Desky's post; they are slightly different here. Do a search for: GlobalVariableSet(gvFileName, hiddenTake); Here the two variables in the VlobalVariableSet() command need swapping around - it will be obvious that the first block is dealing with the stop loss and the second with the take profit. There is no need to repeat the search - the code is correct for the sell trade code. |
|
| All times are UTC | Page 66 of 84 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|