| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Desky. TDesk's trading drone. https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5545 |
Page 20 of 50 |
| Author: | cptcherry [ Tue Jan 29, 2019 8:33 am ] |
| Post subject: | Desky. TDesk's trading drone. |
Thanks for fixing the bug Steve, c1borgs addition, i thought was really helpful. amazing work on Desky!! Lots of pips since implementing. Just need to keep track of the profitability of each variation I am currently running. |
|
| Author: | SteveHopwood [ Tue Jan 29, 2019 4:30 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Folks, this is nothing to do with Desky. Have a read of Jem's latest post at http://www.stevehopwoodforex.com/phpBB3 ... 39#p165939 |
|
| Author: | c1borg [ Wed Jan 30, 2019 8:39 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Bit of feedback on ver q.... Working brilliantly so far but may have found a bug. I have this situation With this setting The 2 pending orders with FLAT signals dont seem to be deleted is this the correct behaviour? |
|
| Author: | SteveHopwood [ Wed Jan 30, 2019 9:32 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Probably. Don't really know. Not had the same position. |
|
| Author: | c1borg [ Thu Jan 31, 2019 5:03 am ] |
| Post subject: | Desky. TDesk's trading drone. |
Curious as it has now decided to delete some pending trades |
|
| Author: | SteveHopwood [ Wed Feb 06, 2019 6:01 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
V 2r is in post 1, in response to c1borg's post in the Confused thread: http://www.stevehopwoodforex.com/phpBB3 ... 32#p166032 The code that deletes pending orders on a FLAT signal was underneath the code that detects a NONE signal and stops Desky from doing anything at all. We do not want that, so I have moved the code higher. Easy DIY. Do a search for, "//Code to delete pending orders when the signal goes FLAT,". Delete the block of code. Then do a search for, " //Lot size based on account size" and insert the code block you just deleted, just above the lot calculation block. Your code will look like this: Code: Select all |
|
| Author: | c1borg [ Wed Feb 06, 2019 6:44 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Many thanks again |
|
| Author: | c1borg [ Wed Feb 06, 2019 7:15 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Ok just watching this trade live it placed a pending SELL trade bang on time as far as I could see, then went to a FLAT signal and it hasnt deleted as yet. Could it be my chart is set for 1H and it needs to wait for a new bar or should it delete immediately? Edit: Looks like the SELL trade was made at the start of the new H1 bar now FLAT 15m old and still there Edit: Next bar just begun still FLAT and pending trade refuses to budge |
|
| Author: | SteveHopwood [ Fri Feb 08, 2019 12:14 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
V 2s is in post 1. c1borg solved the conundrum of the non-deleted pending orders. He spotted that I had coded only the grid orders, not those generated when SendPendingTrades is enabled. Reading another programmers code is hard even when you are used to doing so. Managing it when you are a fledgling coder is just plain bloody marvelous, so well done and thanks, c1borg. I decided to separate the pending order deletion decisions, so watch your inputs if you download 2s:
Code: Select all Scroll back to the code you copied, delete it and insert, extern bool DeletePendingOrderWhenSignalChanges=false; Then find "void DoPendingOrdersDeletionAndReplacement(string symbol, int signal)", go to the end of the function and insert this: Code: Select all |
|
| Author: | wallywonka [ Mon Feb 11, 2019 3:55 am ] |
| Post subject: | Desky. TDesk's trading drone. |
Hi Steve, I'm using grid orders and it doesn't appear to be deleting pending orders on opposite or flat signals, both are enabled. |
|
| All times are UTC | Page 20 of 50 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|