Desky. TDesk's trading drone.
- c1borg
- Trader
- Posts: 456
- Joined: Sun Aug 14, 2016 5:09 pm
Desky. TDesk's trading drone.
Same issue but I am on % target hope the feedback helps :hi:
You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
Just to let you know folks, that Brendon (oridsb) has found the problem with the basket closure stuff.
It is located where not many of us would have thought to look.
The morning spent rehearsing The Flatulent Beauty And Her Sodding Beast followed by a matinee then an evening performance leaves me with nothing left to give, so I will sort this out tomorrow.
Solution coming soon.

The morning spent rehearsing The Flatulent Beauty And Her Sodding Beast followed by a matinee then an evening performance leaves me with nothing left to give, so I will sort this out tomorrow.
Solution coming soon.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
pipcruiser
- Trader
- Posts: 134
- Joined: Wed Nov 16, 2011 8:24 am
Desky. TDesk's trading drone.
Hi there
I can confirm the same issues with USDJPY, XY42 trading, last night Desky opened/closed 28 USDJPY sell trades within 1-2 hrs. - see image. Default settings, GP account.
I disabled USDJPY for now.
Cheers
PC
I can confirm the same issues with USDJPY, XY42 trading, last night Desky opened/closed 28 USDJPY sell trades within 1-2 hrs. - see image. Default settings, GP account.
I disabled USDJPY for now.
Cheers
PC
Vokin » Wed Oct 24, 2018 2:18 pm wrote:Its cool thisMT4.
Now i dont see nothing here, but EA close and open repeatedly USD/JPY.
You do not have the required permissions to view the files attached to this post.
"Perfection is Achieved Not When There Is Nothing More to Add, But When There Is Nothing Left to Take Away"...
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
V 1n is in post 1, with a fix for the global baskets not closing. I realised after Brenden's PM that I was trying to make a single-pair function (CountOpenTrades() ) fulfil the global basket function and that they needed separating.
I know the code works now because Desky just closed the basket after hitting a trailing stop.
I had not intended the TS, so I will add more code to the display function to show the functions that we have enabled.
Re the trades opening and closing thingy, I remind everyone that Desky is TDesk's drone and makes no independent individual trade opening/closing decisions. He relies solely on TDesk's signals, so I am inclined to assume that you have TDesk set up incorrectly.
Having said that, we all know that I make mistakes so I have added some more variable re-sets just in case an un-reset one was causing the problem. If you folks want to take a look to see if you can spot any bloops, these are the variables that deal with opening and closing individual trades and single pair baskets:

I know the code works now because Desky just closed the basket after hitting a trailing stop.
I had not intended the TS, so I will add more code to the display function to show the functions that we have enabled.
Re the trades opening and closing thingy, I remind everyone that Desky is TDesk's drone and makes no independent individual trade opening/closing decisions. He relies solely on TDesk's signals, so I am inclined to assume that you have TDesk set up incorrectly.
Having said that, we all know that I make mistakes so I have added some more variable re-sets just in case an un-reset one was causing the problem. If you folks want to take a look to see if you can spot any bloops, these are the variables that deal with opening and closing individual trades and single pair baskets:
- Opening trades:
- BuySignal
- SellSignal
- Closing trades:
- BuyCloseSignal
- SellCloseSignal
- Dealing with failed trade closures:
- BuyClosureFailure
- SellClosureFailure
- ForceTradeClosure
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
- Vokin
- Trader
- Posts: 51
- Joined: Tue Dec 06, 2011 4:31 pm
Desky. TDesk's trading drone.
Steve,
thanks for your work and for the time of your life that you give us for free for all of us.
V.
thanks for your work and for the time of your life that you give us for free for all of us.
V.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
You are most welcome.Vokin » Thu Oct 25, 2018 2:02 pm wrote:Steve,
thanks for your work and for the time of your life that you give us for free for all of us.
V.
I forgot to explain that I have added a couple of inputs. From the updated UG:
HighestCashUpl and HighestPipsUpl: these are to help you work out your optimum basket TP. You will see them displayed on your chart when there are trades open. They allow you to reset these values after a platform or EA restart. Remember to reset them to zero after a basket closure.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
V 1o is in post 1.
Mauro pointed out to me that the code using ATR to calculate the distance between trades in a grid looked wrong. I had not coded what I intended to code, so this is corrected.
I have added more detail to the chart feedback, showing which functions we have enabled.
I have added shirt protection.

Mauro pointed out to me that the code using ATR to calculate the distance between trades in a grid looked wrong. I had not coded what I intended to code, so this is corrected.
I have added more detail to the chart feedback, showing which functions we have enabled.
I have added shirt protection.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
monty
- Trader
- Posts: 93
- Joined: Sun Nov 20, 2011 11:19 pm
Desky. TDesk's trading drone.
:hi:
Thank you.SteveHopwood » Sat Oct 27, 2018 2:01 pm wrote:V 1o is in post 1.
Mauro pointed out to me that the code using ATR to calculate the distance between trades in a grid looked wrong. I had not coded what I intended to code, so this is corrected.
I have added more detail to the chart feedback, showing which functions we have enabled.
I have added shirt protection.
![]()
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
ace811122
- Posts: 6
- Joined: Thu Jun 18, 2015 4:24 am
Desky. TDesk's trading drone.
Hi,
I have a problem with trade open and close immediately.
Thanks.
Terence
I have a problem with trade open and close immediately.
Thanks.
Terence
You do not have the required permissions to view the files attached to this post.