| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Desky. TDesk's trading drone. https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5545 |
Page 22 of 50 |
| Author: | SteveHopwood [ Fri Feb 15, 2019 6:21 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Don't worry about this folks. Tutank contacted me about it so I looked at the code. It was bollocks - a Steve Classic. Blind chance allowed the routine to appear to work from time to time. I shall be releasing an update over the weekend. If you want a quick DIY, do a search for "//Stop/limit orders sent when SendPendingTrades is enabled" and copy this over the top of the code: Code: Select all |
|
| Author: | SteveHopwood [ Sat Feb 16, 2019 4:08 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
V 2u is in post 1. A number of bloops emerged last week so I have been gradually fixing them. The pending order removal thingy should be resolved now. I have added a new feature to grid trading. This is the option to use the order open price of the next trade in the grid as the take profit of the one being sent to the server. The input is UseNextLevelForTP. I have added this to SPB Latest as well. I am posting this today for the DIYers. Code phobics might want to wait until a bit later tomorrow, just in case I think of something else. DIYers, this will not be so simple this time. Probably the only way you can find the changes is by going to a site such as https://www.diffchecker.com/ and comparing the new file with the old. This could be a time to spare yourself some effort and just download 2u. |
|
| Author: | SteveHopwood [ Sun Feb 17, 2019 5:29 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
I have a present for Gertje. I have extended Peaky so that users can 'flip' the signal generated by the peak hilo. From the updated Peaky user guide:
|
|
| Author: | ppaulius1 [ Mon Feb 18, 2019 6:23 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Thank you very much for a new version, Steve. I tested it and seems mentioned bug has been solved. Cheers, Paulius |
|
| Author: | SteveHopwood [ Mon Feb 18, 2019 9:14 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Fabulous. Thanks for confirming this. |
|
| Author: | SteveHopwood [ Tue Feb 19, 2019 3:12 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
V 2v is in post 1. This one is for those of you hedging at > 100% and looking for a breakeven. From the updated UG: If you want to check my code, or DIY: Search for, "extern double PercentageToHedge" and add the inputs: Code: Select all Code: Select all Code: Select all Code: Select all Code: Select all |
|
| Author: | Gertje [ Tue Feb 19, 2019 3:20 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Thanks Steve, Now it is up to me to get it to work..... |
|
| Author: | SteveHopwood [ Tue Feb 19, 2019 8:22 pm ] |
| Post subject: | Bloop alert |
tutank just sent me another of my copy/paste/forgot-to-edit bloops. Fixed in post 1. Thanks tutank. Easy DIY. Do a search for, "targetNoOfPendingTrades = GridSize - MarketBuysCount;//Not sure if this will give the correct figure." This will take you straight to the line of code that needs editing: targetNoOfPendingTrades = GridSize - MarketBuysCount; should be: targetNoOfPendingTrades = GridSize - MarketSellsCount; |
|
| Author: | SteveHopwood [ Thu Feb 21, 2019 5:27 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
I have written a do it yourself for beginners guide. http://www.stevehopwoodforex.com/phpBB3 ... 92#p166292 |
|
| Author: | SteveHopwood [ Fri Feb 22, 2019 11:03 am ] |
| Post subject: | Desky. TDesk's trading drone. |
V 2w is in post 1. Here are the details For you DIYers. Remember to F7 at every step if you are new to this, to make sure you have not introduced a fault. Go to the top of the file and do a search for, "GridTypes". There is an option in the list that is nonsense - Market_Orders. Delete this so the code looks like this: Code: Select all Go to void SendBuyGrid(string symbol, int type, double price, double lot, int gridSize) I noticed that a previous fix has gone missing, so this is something for you to check. Scroll down to: Code: Select all take = price; It needs replacing with: take = NormalizeDouble(price + (DistanceBetweenTrades / factor), digits); I have added some more info to the order failure alert. Scroll down to the block of code starting with this comment: Code: Select all Code: Select all Again, if there is a "take = price" then it needs replacing with: take = NormalizeDouble(price - (DistanceBetweenTrades / factor), digits); Copy this over the top of the existing error reporting block: Code: Select all I was looking for other possible causes of the invalid stops thingy reported http://www.stevehopwoodforex.com/phpBB3 ... 95#p166295 and noticed that only stop order grids were replaced. Scroll down to this comment: Code: Select all Code: Select all Code: Select all |
|
| All times are UTC | Page 22 of 50 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|