Hopelessly confused by TDesk or Desky? Ask here.

Post Reply
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.

Hopelessly confused by TDesk or Desky? Ask here.

Post by SteveHopwood »

c1borg » Fri Mar 29, 2019 11:08 am wrote:I am confused or possibly Desky is not behaving as intended. As you know my systems rely on basket closures at preset target profits, I have made great progress with CTD but have an issue maybe Steve can hopefully look at.

The logic as I understand it, rightly or wrongly is...
  • 1. Basket total TotalCashUpl is calculated
    2. If TotalCashUpl is greater than basket set target BasketTargetCash, basket closes
    3. Everything is reset to 0 and we start again
If you look at the 2 screenshots below taken a short time apart, we can see the Highest HighestCashUpl total is varying without a new High total being reached, which isnt necessarily a problem with the function of the EA as its used for information only.

However a more serious issue I have found is the Current = which as I understand it reflects the TotalCashUpl also seems to not always agree with the actual Sum UPL, which means the basket does not close at the set target. I am assuming the values are not always being reset to 0 when a basket closure occurs but thats just my opinion and as a novice coder could be complete rubbish. I am using V3e.





Many thanks as usual for any help you can give :hi:
I am well versed in the chaotic nature of your contributions. CTD is a classic example. Assume it is something you are doing wrong. You will not enjoy my response to being sent to track down, "Desky is not behaving as intended" only to find it was something lunatic that you were doing wrong.

For, "Desky is not behaving as intended" translate, "A bug." I repeat. You will not enjoy my response to being sent to track down, "Desky is not behaving as intended" only to find it was something lunatic that you were doing wrong.

Then consider the utter chaos of your CTD thread - I have pointed this out. And you reckon that I have gotten something wrong?

You may consider reevaluating your approach to me.

Re this bit of your post, "and as a novice coder could be complete rubbish". That is what I think you are talking.

Just so you know, I have looked at the coding. It is bog-standard basic stuff. Assume you are doing something wrong.

: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.
Nikl
Posts: 2
Joined: Tue Mar 12, 2019 8:50 am

Hopelessly confused by TDesk or Desky? Ask here.

Post by Nikl »

Hi All
I'm after some help/guidance with the new version of desky. I've removed all previous versions of Tdesk, Desky and TDesksignals from my platform and downloaded/installed the new up to date versions.
Tdesk in the experts folder,Tdesksignals in the include folder. However when I try to compile TDesk trading partner EA I get the following error

" 'TDeskVersion' - undeclared identifier" line 713

line 713 - if(TDeskVersion<MinTDeskVersion)

No doubt its something I've done(or not done as the case my be) I'm still learning the intricacies of the Empty4 platform!
Thanks in advance
Nick
Nikl
Posts: 2
Joined: Tue Mar 12, 2019 8:50 am

Hopelessly confused by TDesk or Desky? Ask here.

Post by Nikl »

Ok problem solved. After much head scratching, deleting, re downloading etc I thought maybe its the Empty4 platform itself. So a quick unistall/reinstall and hey presto! Desky compiles now ! :yahoo:
I'm actually more happy with the fact that no one gave me a bollocking!
Cheers
Nick
User avatar
tomele
Administrator
Posts: 1208
Joined: Tue May 17, 2016 3:40 pm
Location: Germany, Forest of Odes, Defending the Limes

Hopelessly confused by TDesk or Desky? Ask here.

Post by tomele »

Nikl wrote:I'm actually more happy with the fact that no one gave me a bollocking!
You indeed had some luck.

Cheers
Thomas
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
Maximilian
Trader
Posts: 150
Joined: Sat Sep 06, 2014 2:43 pm

Hopelessly confused by TDesk or Desky? Ask here.

Post by Maximilian »

Can you see it? Can you smell it? There´s a lot of smoke in the air, coming from my overloaded brain. Anyhow, I will try to get my head around this swiss knife for trading.
Thanks Thomas,
Max
:hi:
muriukimk
Posts: 7
Joined: Sat Mar 28, 2015 5:36 am

Hopelessly confused by TDesk or Desky? Ask here.

Post by muriukimk »

Hi,

I have been a silent lurker in the forum and have been testing various EAs and TDesk is by far the best i have seen anywhere.

I am having a problem whereby the EA opens multiple market orders at the same price level untill i get the Trade Context is busy error after opening the maximun 8 orders Empty4 allows. I have set the MaxOpenTradesAllowed setting to 1 and also set EveryTickMode to False but no change in the problem.

I have also seen that when the multiple trades are sent TDesk prints multiple signals in the trading chart. Since i am using HGI to send the signals to Desky i have set ignoreopencandle to true but still no change.

NB: The screenshot was taken much later but the trades fired immediately there was a signal

I have read through the thread and do not see anyone with the same problem.

i will appreciate if anyone can point me to the right direction.
You do not have the required permissions to view the files attached to this post.
User avatar
tomele
Administrator
Posts: 1208
Joined: Tue May 17, 2016 3:40 pm
Location: Germany, Forest of Odes, Defending the Limes

Hopelessly confused by TDesk or Desky? Ask here.

Post by tomele »

Hello murxmax

Nobody will be able to help you having only that screenshot.

Please post complete experts log file, TDesk setfile, Desky setfile. And have a look into TDesks account window. What is the maximum of allowed trades shown there?

Cheers
Thomas
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
muriukimk
Posts: 7
Joined: Sat Mar 28, 2015 5:36 am

Hopelessly confused by TDesk or Desky? Ask here.

Post by muriukimk »

Hi,

Thanks for the response tomele, I have attached all the files as requested. The maximum amount of trades shown is 200.

The problem is that Desky is opening market orders at the same price point.

Regards
Muriukimk
You do not have the required permissions to view the files attached to this post.
User avatar
tomele
Administrator
Posts: 1208
Joined: Tue May 17, 2016 3:40 pm
Location: Germany, Forest of Odes, Defending the Limes

Hopelessly confused by TDesk or Desky? Ask here.

Post by tomele »

You are loading Desky on every trade chart. You have umpteen instances of Desky running then. Each instance sends the same trades. You are not supposed to do so.

RTFM

Thomas
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
muriukimk
Posts: 7
Joined: Sat Mar 28, 2015 5:36 am

Hopelessly confused by TDesk or Desky? Ask here.

Post by muriukimk »

:arrrg: :arrrg: :arrrg: :arrrg: Thanks for the feedback, It works fine now. :clap: :clap: :clap: :clap:

My apologies i will go through the manual Again.
Post Reply

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