| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Desky. TDesk's trading drone. https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5545 |
Page 15 of 50 |
| Author: | tomele [ Wed Dec 05, 2018 8:27 pm ] |
| Post subject: | Desky... has huge potential... :) |
I simply hope you won't load that up to the FXTestify database. Cheers |
|
| Author: | SteveHopwood [ Sat Dec 08, 2018 11:49 am ] |
| Post subject: | Desky. TDesk's trading drone. |
V 2j is in post 1. 2j includes the solution I just described to c1borg in the 'Confused' thread: http://www.stevehopwoodforex.com/phpBB3 ... 23#p165223 It includes some Buy/Sell grid modifying code suggested in a very helpful PM from Mauro this morning. He noticed that the first pending order was not being sent in accordance with ATR when this is being used to calculate DistanceBetweenTrades. He sent me the correction code, so I have used this. Thanks Mauro. Mauro also asked for an ATR divisor for folks using ATR in their breakeven calculations. The only reason I did not include this originally is that I forgot. I have made it a multiplier - AtrMultiplierBE. Use a decimal value if you want to use a fraction of ATR. For example, input 0.5 if you want to use 50%. 2j includes an idea I had last week. I have no idea whether it can be successful or not - and probably needs substantial tweaking. Play with it and see. From the updated UG:
|
|
| Author: | SteveHopwood [ Sat Dec 08, 2018 12:40 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
I just realised that the grid trading solution needs to go inside the pairs iteration loop. I have added result = true; just underneath the code that checks to see if EA trading is allowed. |
|
| Author: | SteveHopwood [ Sat Dec 08, 2018 2:17 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Just so you know folks, there is another update coming before the markets open tomorrow. Mauro realised the price calculation for the first pending order in the grid could be incorrect if we are not using ATR for the distance between trades. This is an easy DIY if you want to. Move the price calculation out of the if (UseAtrForGrid) conditional, so the code looks like this: Code: Select all |
|
| Author: | SteveHopwood [ Sun Dec 09, 2018 2:25 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
V 2k is in post 1. I have added the ability to trade multiple signals up to a choice of your maximum – see, “Multiple market trades” in the ,“Trading styles” inputs. That is where you set your maximum trades allowed and minimum pips distance in between them. I noticed an imbalance between hedged trade lot sizes and the total of principal trades. I am not sure what is causing this and so have added the conditional that no fresh trades can be taken when a position is hedged. This will show that there is a bug elsewhere in the code if this problem persists. 2k includes the fixes I added on Friday and Saturday. I have added the ability to hedge following a FLAT signal, after reading this post: http://www.stevehopwoodforex.com/phpBB3 ... 33#p165233 I have added XY42's incremental lot sizing for US citizens trading through OANDA. |
|
| Author: | c1borg [ Mon Dec 10, 2018 5:20 am ] |
| Post subject: | Desky. TDesk's trading drone. |
Some feedback on the latest version. Pending trades are now being placed I have a feature request if its not too difficult, can we have an option to a) do nothing or b) remove the pending trade(s) if the signal goes flat or reverses as an option. Many thanks for the great work |
|
| Author: | tgm0 [ Mon Dec 10, 2018 10:08 am ] |
| Post subject: | Desky. TDesk's trading drone. |
Hello c1borg. Can you confirm the trade were sent using the latest version 2k and not the older 2j? Your set file is from 2k and this is ok. The issue with 2 trades sent on the same price was introduced in 2j, but should have been smoothed out in 2k so I suspect your trades were sent on 2j before you upgraded to 2k... Regards, Mauro |
|
| Author: | c1borg [ Mon Dec 10, 2018 10:17 am ] |
| Post subject: | Desky. TDesk's trading drone. |
From 2k definitely as it has just placed 2 identical trades again, however the multiple trades of 3 to 5 have now gone. |
|
| Author: | SteveHopwood [ Mon Dec 10, 2018 2:22 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Here is 2l. Counter trend scalping as coded in 2k is a vast loser, so 2l tries a different approach. Taking an original buy trade as an example:
Play around with it and see what you think. |
|
| Author: | SteveHopwood [ Mon Dec 10, 2018 4:13 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Mauro just went me a PM with the cause of the doubled trades. I have added some more conditionals so see if this sorts out the problem. I have applied the changes to 2k in post 1 and 2l here. |
|
| All times are UTC | Page 15 of 50 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|