Desky. TDesk's trading drone.

Post Reply
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Desky. TDesk's trading drone.

Post by c1borg »

Hey Steve,

I cant find the function to add a missing SL TP in Desky any chance it can be added?
User avatar
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.

Post by SteveHopwood »

c1borg » Mon Nov 01, 2021 6:00 pm wrote:Hey Steve,

I cant find the function to add a missing SL TP in Desky any chance it can be added?
Will do. Use MPTM as a substitute until I do.

:xm: :rocket:
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.
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Desky. TDesk's trading drone.

Post by c1borg »

SteveHopwood » Mon Nov 01, 2021 8:38 pm wrote:
c1borg » Mon Nov 01, 2021 6:00 pm wrote:Hey Steve,

I cant find the function to add a missing SL TP in Desky any chance it can be added?
Will do. Use MPTM as a substitute until I do.

:xm: :rocket:
Thanks will do.
User avatar
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.

Post by SteveHopwood »

c1borg » Mon Nov 01, 2021 6:00 pm wrote:Hey Steve,

I cant find the function to add a missing SL TP in Desky any chance it can be added?
Done. Nev. V 1r in post 1.

The two inputs are underneath the 'Trade exit' inputs.

:xm: :rocket:
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.
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Desky. TDesk's trading drone.

Post by c1borg »

SteveHopwood » Tue Nov 02, 2021 5:02 pm wrote:
c1borg » Mon Nov 01, 2021 6:00 pm wrote:Hey Steve,

I cant find the function to add a missing SL TP in Desky any chance it can be added?
Done. Nev. V 1r in post 1.

The two inputs are underneath the 'Trade exit' inputs.



:xm: :rocket:
Awesome thanks Steve
User avatar
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.

Post by SteveHopwood »

c1borg » Tue Nov 02, 2021 7:27 pm wrote:
SteveHopwood » Tue Nov 02, 2021 5:02 pm wrote:
c1borg » Mon Nov 01, 2021 6:00 pm wrote:Hey Steve,

I cant find the function to add a missing SL TP in Desky any chance it can be added?
Done. Nev. V 1r in post 1.

The two inputs are underneath the 'Trade exit' inputs.



:xm: :rocket:
Awesome thanks Steve
You're welcome. I tested the code and it appears to be working correctly, but sing out if you spot anything wrong.

I forgot to write earlier that Desky will insert a missing tpsl according to the parameters you set in the 'Trade exits' section. I only tested the fixed pips option. Look at the code in the insertMissing.... functions and you will see that they calculate the values by calling the calculateTakeProfit( and calculateStopLoss( functions, so the results should be the same as had you set your tpsl through Desky taking a trade when responding to a TDesk signal.

:xm: :rocket:
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.
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Desky. TDesk's trading drone.

Post by c1borg »

SteveHopwood » Tue Nov 02, 2021 8:29 pm wrote: You're welcome. I tested the code and it appears to be working correctly, but sing out if you spot anything wrong.

I forgot to write earlier that Desky will insert a missing tpsl according to the parameters you set in the 'Trade exits' section. I only tested the fixed pips option. Look at the code in the insertMissing.... functions and you will see that they calculate the values by calling the calculateTakeProfit( and calculateStopLoss( functions, so the results should be the same as had you set your tpsl through Desky taking a trade when responding to a TDesk signal.

:xm: :rocket:
I am using the following settings for SLTP so didnt work, I did look at the code to try and add it myself but a bit beyond my basic coding skills.
TinyTake03-11-2021-02-46-53.png
Update: Seems to add the SLTP for the first missing trade then fails on the next, very odd, nothing in the experts or journal tabs to give any clues?
You do not have the required permissions to view the files attached to this post.
User avatar
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.

Post by SteveHopwood »

c1borg » Wed Nov 03, 2021 2:48 pm wrote:
SteveHopwood » Tue Nov 02, 2021 8:29 pm wrote: You're welcome. I tested the code and it appears to be working correctly, but sing out if you spot anything wrong.

I forgot to write earlier that Desky will insert a missing tpsl according to the parameters you set in the 'Trade exits' section. I only tested the fixed pips option. Look at the code in the insertMissing.... functions and you will see that they calculate the values by calling the calculateTakeProfit( and calculateStopLoss( functions, so the results should be the same as had you set your tpsl through Desky taking a trade when responding to a TDesk signal.

:xm: :rocket:
I am using the following settings for SLTP so didnt work, I did look at the code to try and add it myself but a bit beyond my basic coding skills.


Update: Seems to add the SLTP for the first missing trade then fails on the next, very odd, nothing in the experts or journal tabs to give any clues?
Basic bloop on my part. Do a search for:
//Missing tpsl

Delete the two blocks of code that follow with ctrl+x, then scroll up to:
}//ffor (cc = OrdersTotal() - 1; cc >= 0; cc--) where the loop around the open orders closes, then replace the code blocks above the closure of the loop, with ctrl+v.

I had put the code in the wrong place.

I will have posted the fixed version in post 1 by the time you read this.

:xm: :rocket:
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.
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Desky. TDesk's trading drone.

Post by c1borg »

Thanks will let you know if any problems :hi:
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Desky. TDesk's trading drone.

Post by c1borg »

FYI The code Steve has changed here viewtopic.php?f=5&t=6037&p=173688#p173688 I noticed is also contained in Desky V1r, I have corrected the code in my version.
Post Reply

Return to “TDesk: A Thomas Special. The greatest trading tool ever.”