Hopelessly confused by TDesk or Desky? Ask here.

Post Reply
User avatar
SteveHopwood
Owner
Posts: 9810
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Hopelessly confused by TDesk or Desky? Ask here.

Post by SteveHopwood »

Thomas will deal with SuperSonic's query.

My post is about this bit of SS's post:
After loading up v8.12 however, I noticed another issue. When you click a "Details" link on the bottom row of any Trades (Pending/Open/Sum closed) columns when there are no actual trades showing in that column, I get this error in the Experts log:
TDesk XAUUSD,H1: zero divide in 'TDesk-Windows.mqh' (1278,44)

Subsequently, all clicks on any links seem broken and it takes a reload of the TDesk EA to get it to work again.
As a general point of information folks, a zero divide error stops an EA in its tracks but Empty4 does not notify the user about this.

Worse still, it leaves the EA smiley face in the top corner of the chart so it looks as though it is still working. Empty4 being helpful as usual. :arrrg: :arrrg: :arrrg:

Thomas' TDesk has a flashing message showing it is working. It has stopped working if the message stops flashing.

Welcome to the world that Thomas and I have inhabited for so many years. :arrrg:

: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. [email protected] 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.
SuperSonic
Posts: 8
Joined: Fri Mar 14, 2014 10:24 pm

Re: Hopelessly confused by TDesk or Desky? Ask here.

Post by SuperSonic »

That's a very useful bit of info Steve, thanks for explaining it so nicely! :good:
Empty4 never ceases to amaze even after all these years :arrrg:
User avatar
tomele
Administrator
Posts: 1203
Joined: Tue May 17, 2016 3:40 pm
Location: Germany, Forest of Odes, Defending the Limes

Re: Hopelessly confused by TDesk or Desky? Ask here.

Post by tomele »

Hi.

@Steve: Thank you, I couldn't have explained it better or shorter.
:good: :good: :good: :good: :good:

@SuperSonic: Thank you for the heads up, fixed version 8.13 is downloadable.
:clap: :clap: :clap: :clap: :clap:
Happy pippin, Thomas :-BD

It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so.
(Mark Twain)

Keep the coder going: Donate
SuperSonic
Posts: 8
Joined: Fri Mar 14, 2014 10:24 pm

Re: Hopelessly confused by TDesk or Desky? Ask here.

Post by SuperSonic »

Thanks Thomas, works like a charm :cheer: :cheer:
lbs48
Trader
Posts: 93
Joined: Thu May 22, 2014 8:02 am
Location: Prague, Czech Republic

Re: Hopelessly confused by TDesk or Desky? Ask here.

Post by lbs48 »

Hi to all,
Desky closes trades without reaching TP or SL or basket TP.
I think the problem could be that Desky shows: AL pair basket cash take profit = EUR 1.00".
But I don't have set up BasketTargetCash.
Can anymody help me please and tell what I'm doing wrong?

Many thanks in advance,
L
Desky_settings.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9810
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Hopelessly confused by TDesk or Desky? Ask here.

Post by SteveHopwood »

lbs48 wrote: Mon Feb 03, 2025 1:27 pm Hi to all,
Desky closes trades without reaching TP or SL or basket TP.
I think the problem could be that Desky shows: AL pair basket cash take profit = EUR 1.00".
But I don't have set up BasketTargetCash.
Can anybody help me please and tell what I'm doing wrong?

Many thanks in advance,
LDesky_settings.jpg
Strange one this. I have looked through the code in case there is a snippet that changes BasketTargetCash to 1 if it is set to zero in the inputs; I cannot find one.

Years ago we were told that changing inputs via F7 is not always reliable so try this:
  • Save your inputs as a setfile.
  • Remove Desky from the chart.
  • Add him back and load your setfile.
See if the rogue display of BasketTargetCash has disappeared.

If not, then the only solution I can see is to set BasketTargetCash to a value it can never reach - 10000000 perhaps?

Please let us know how you get on.

: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. [email protected] 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.
lbs48
Trader
Posts: 93
Joined: Thu May 22, 2014 8:02 am
Location: Prague, Czech Republic

Re: Hopelessly confused by TDesk or Desky? Ask here.

Post by lbs48 »

Hi and thenks for your erply Steve.
Yes, it's strange. First I tried setting BasketCash to a higher value than what BasketPips would achieve and it does what I need.
After reading your post I changed the value back to 0.00 and saved the stetfile. And suddenly the "problem" is gone and the BasketCash display disappears.
Nice day.
User avatar
SteveHopwood
Owner
Posts: 9810
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Hopelessly confused by TDesk or Desky? Ask here.

Post by SteveHopwood »

lbs48 wrote: Tue Feb 04, 2025 10:30 am Hi and thenks for your erply Steve.
Yes, it's strange. First I tried setting BasketCash to a higher value than what BasketPips would achieve and it does what I need.
After reading your post I changed the value back to 0.00 and saved the stetfile. And suddenly the "problem" is gone and the BasketCash display disappears.
Nice day.
Glad you got this sorted out. :clap: :clap: :clap:

: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. [email protected] 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.
Post Reply

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