| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Desky. TDesk's trading drone. https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5545 |
Page 8 of 50 |
| Author: | Barcode [ Tue Oct 30, 2018 10:48 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Steve, My account is in Aussie dollars but messages are showing it in pounds. It would be nice if it was true as it would be a nice increase |
|
| Author: | SteveHopwood [ Tue Oct 30, 2018 10:54 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
V 1t is in post one in response to this utterly brilliant pm from David (davista). All of David's suggestions are clearly correct so I adopted them without hesitation. Still not sure that anything posted here deals with the opening-closing trades thingy. Never mind. At least some of the body of the code has been corrected today. Thanks David. We all owe you. |
|
| Author: | SteveHopwood [ Tue Oct 30, 2018 11:05 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Here we are developing the most sophisticated trading software in the entire history of Forex trading software, and you I think about this? Wouldn't care to reevaluate your priorities would you fella? Or maybe you want me te reevaluate them for you? I remind you that cretins are not welcome at SHF. Ask yourself this: do you really want me to consider you to be a cretin? Note the lack of my usual sign-off, dimwit. |
|
| Author: | SteveHopwood [ Wed Oct 31, 2018 1:08 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
I have located the source of those rapidly opening and closing trades. It is the hedging code and nothing to do with the individual pair basket trading. For reasons that I cannot yet find, Desky is hedging an individual open trade even though it is in the direction of TDesk's signal. Then it is finding the hedge and closing it because it in the opposite direction to the hedge. |
|
| Author: | Bruster400 [ Wed Oct 31, 2018 1:48 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Having great fun testing out different strategies with this EA. |
|
| Author: | SteveHopwood [ Wed Oct 31, 2018 2:18 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Nice spot. Thanks. I will add the code to the update coming this afternoon. I found the cause of the trade open/close thingy, and it really should have been blindingly obvious, even to me. The culprit is HedgeOnFlatSignal and its partner CloseHedgeOnFlatSignal. Here is what was happening with these two inputs enabled:
Hey ho. |
|
| Author: | SteveHopwood [ Wed Oct 31, 2018 2:42 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
V 1u is in post 1, with the hedging thingy fixed and FLAT signal hedging removed. Thomas sent me this explanation of the PriceFractions TP and SL option. I have added it to the user guide: Thanks for that Thomas - most helpful. |
|
| Author: | SteveHopwood [ Thu Nov 01, 2018 5:35 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
I did a bit of code rearranging in 1u that stopped Desky trading altogether. Fixed in 1v in post 1. 1u DIYers, do a search for, "//Deal with pending orders when the margin level drops below our minimum." Insert this just above the subsequent code block: Code: Select all |
|
| Author: | SteveHopwood [ Thu Nov 01, 2018 5:51 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
I just made a teensy addition to 1v after I noticed it was not showing that I had grid trading enabled. Easy DIY. Do a search for, "SM("Recovery is enabled" + NL);" and insert this somewhere convenient: Code: Select all |
|
| Author: | SteveHopwood [ Thu Nov 01, 2018 6:06 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Another teensy change to 1v to make him display the correct number of market trades in the global basket bit of the chart display. DIY: do a search for, "//We are only concerned with market trades here". Look a few lines down and you will see this: GlobalTradesTotal+= 1; This needs moving inside the code block you just searched for, so the whole function looks like this: Code: Select all Code: Select all |
|
| All times are UTC | Page 8 of 50 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|