You folks really should try coding your own stuff to implement TDesk's signals. It is a joy to do.
Desky. TDesk's trading drone.
- 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 1i is in post 1, with hedging implemented. Details in the UG.
You folks really should try coding your own stuff to implement TDesk's signals. It is a joy to do.

You folks really should try coding your own stuff to implement TDesk's signals. It is a joy to do.
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.
I forgot to add the Tests Database code to OnInit(), so this needs to go at the top of the function:
Here is one for you codeslingers. Yesterday and today I awoke to Desky proclaiming that it was rollover time and enjoying a pleasant nap.
It is the same damn code that has worked flawlessly ever since Thomas wrote it. Can any of you guys see where the problem lies - because I sure cannot.

Code: Select all
if(WriteFileForTestDatabase)
ChartSaveTemplate(0,StringFormat("ZZT2MTPL-%s-%s-%s-%d-%d-%d-%d","SHF","Desky","MULSYM",Period(),AccountNumber(),TimeCurrent(),MagicNumber));
Here is one for you codeslingers. Yesterday and today I awoke to Desky proclaiming that it was rollover time and enjoying a pleasant nap.
It is the same damn code that has worked flawlessly ever since Thomas wrote it. Can any of you guys see where the problem lies - because I sure cannot.
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.
Forget what I wrote earlier about the Tests Database. The code is already there, just in OnTimer() - that is where Thomas told me to put it and I had forgotten.
The Rollover in progress thingy turns out to be a simple display thingy.
V 1j is in post 1 with the "Done for the week" stuff and John's decreasing Friday basket TP code - details in the UG if you are unfamiliar with it.

The Rollover in progress thingy turns out to be a simple display thingy.
V 1j is in post 1 with the "Done for the week" stuff and John's decreasing Friday basket TP code - details in the UG if you are unfamiliar with it.
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.
I forgot to say that I have added this as well.c1borg » Tue Oct 16, 2018 8:32 pm wrote:no urgency but can I add a request for % profit per day basket profit closure as used in AwesomeSS :youknow:
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.
- c1borg
- Trader
- Posts: 456
- Joined: Sun Aug 14, 2016 5:09 pm
Desky. TDesk's trading drone.
Many thanks
-
wallywonka
- Trader
- Posts: 188
- Joined: Thu May 12, 2016 7:46 am
Desky. TDesk's trading drone.
Anyone else having the issue where it's only opening the one hedge trade and not any subsequent trades?
Have looked through code, can't see why it only hedges one pair.
Have looked through code, can't see why it only hedges one pair.
Last edited by wallywonka on Fri Oct 19, 2018 6:37 am, edited 1 time in total.
-
ishak123
- Trader
- Posts: 21
- Joined: Wed Mar 14, 2012 9:15 pm
Desky. TDesk's trading drone.
Hi
on my terminal it close trade as soon as it open, No clue what is wrong.
on my terminal it close trade as soon as it open, No clue what is wrong.
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.
V 1k is in post 1, with the usual post trade attempt sleep period applied to the individual pairs.
I have added the code that stops Desky trying to send trades when either of the closure scripts in post 1 or MPTM are closing trades.

I have added the code that stops Desky trying to send trades when either of the closure scripts in post 1 or MPTM are closing trades.
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.
Sorry. I missed this on Thursday. Blame The Flatulent Beauty etc.wallywonka » Thu Oct 18, 2018 12:31 pm wrote:Anyone else having the issue where it's only opening the one hedge trade and not any subsequent trades?
Looking at the code and nothing to do with what we are discussing here, highlights a bloop. Line 3830 in V 1k is this: pairIndex++;
This should clearly be:
pairIndex--;
Desky is programmed to send one initial market trade only. He then sends no further market trades. Instead he can be told to send a grid of stop and limit orders.
He is programmed to send one hedge trade only. Maybe he should also send a hedge grid if UseGridTrading is enabled. That could get messy.
Maybe we need a SendAGridWithHedge input? Should not be too hard to implement.
Desky will hedge anything that needs hedging. You really need more than one pair hedging? Your trading system is bonkers. Don't expect Desky to protect you from your own insanity.Have looked through code, can't see why it only hedges one pair.
Mind, that reminds me to add shirt protection to him.
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.
Hi,
i have this problem:
Setting
-- All trades belong to a single basket --
TreatAllPairsAsBasket = true
BasketTargetCash = 50
Now the cash is higher than the set, but the basket is not closed.
Problem as always with my old eyes?
Thanks for answer.
i have this problem:
Setting
-- All trades belong to a single basket --
TreatAllPairsAsBasket = true
BasketTargetCash = 50
Now the cash is higher than the set, but the basket is not closed.
Problem as always with my old eyes?
Thanks for answer.
You do not have the required permissions to view the files attached to this post.