Desky. TDesk's trading drone.

User avatar
WorldsEnd
Trader
Posts: 97
Joined: Fri Aug 29, 2014 7:36 pm

Re: Desky. TDesk's trading drone.

Post by WorldsEnd »

Thx gents,
good to know. Even though it makes it a bit harder to troubleshoot this issue :? Does anybody have a good idea what could be the reason or how to handle it? I am kind of puzzled.
pree876
Trader
Posts: 20
Joined: Fri Oct 29, 2021 3:46 pm

Re: Desky. TDesk's trading drone.

Post by pree876 »

Changing the broker time and local time from army time to normal time in the TDesk Trading Partner EA.mq4

Find this

Code: Select all

screenMessage = "";
   //screenMessage = StringConcatenate(screenMessage,gap + NL);
   //SM(NL);
   
   SM(""+NL);
   SM("Broker time = "+TimeToStr(TimeCurrent(),TIME_DATE|TIME_SECONDS)+": Local time = "+TimeToStr(TimeLocal(),TIME_DATE|TIME_SECONDS)+NL);
   SM(version + NL);
   
   SM(NL);

Replace it with this

Code: Select all

screenMessage = "";
//screenMessage = StringConcatenate(screenMessage, gap + NL);
//SM(NL);

datetime currentTime = TimeCurrent();
datetime localTime = TimeLocal(); // Use TimeLocal directly

int brokerYear = TimeYear(currentTime);
int brokerMonth = TimeMonth(currentTime);
int brokerDay = TimeDay(currentTime);
int brokerHour = TimeHour(currentTime);
int brokerMinute = TimeMinute(currentTime);
int brokerSecond = TimeSeconds(currentTime);

int localYear = TimeYear(localTime);
int localMonth = TimeMonth(localTime);
int localDay = TimeDay(localTime);
int localHour = TimeHour(localTime);
int localMinute = TimeMinute(localTime);
int localSecond = TimeSeconds(localTime);

string brokerTime = StringFormat("Broker time = %04d-%02d-%02d %02d:%02d:%02d %s", brokerYear, brokerMonth, brokerDay, brokerHour % 12, brokerMinute, brokerSecond, brokerHour >= 12 ? "PM" : "AM");
string localTimeString = StringFormat("Local time = %04d-%02d-%02d %02d:%02d:%02d %s", localYear, localMonth, localDay, localHour % 12, localMinute, localSecond, localHour >= 12 ? "PM" : "AM");

SM(""+NL);
SM(brokerTime + ": " + localTimeString + NL);
SM(version + NL);

SM(NL);
CoRi
Trader
Posts: 12
Joined: Wed Nov 16, 2011 1:20 am
Location: San José, Costa Rica

Individual basket trading

Post by CoRi »

Hi everybody,
the 29th of June Wallywonka reported an issue regarding the single pair basket, which prevented orders to open.
Has there been any new development?
Saludos
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.

Re: Individual basket trading

Post by SteveHopwood »

CoRi wrote: Fri Jan 12, 2024 1:59 am Hi everybody,
the 29th of June Wallywonka reported an issue regarding the single pair basket, which prevented orders to open.
Has there been any new development?
Saludos
This prompted me to take another look. I still cannot see what is causing this. :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. 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.
Fabster76
Posts: 3
Joined: Tue Mar 10, 2020 7:04 pm

Re: Individual basket trading

Post by Fabster76 »

SteveHopwood wrote: Sun Jan 14, 2024 3:11 pm
CoRi wrote: Fri Jan 12, 2024 1:59 am Hi everybody,
the 29th of June Wallywonka reported an issue regarding the single pair basket, which prevented orders to open.
Has there been any new development?
Saludos
This prompted me to take another look. I still cannot see what is causing this. :arrrg:

:xm: :rocket:
hi Steve,

hope all is well!
apologies for being a pain. Would you have any updates on this please?
thanks a million
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.

Re: Individual basket trading

Post by SteveHopwood »

Fabster76 wrote: Fri Feb 23, 2024 2:59 pm
SteveHopwood wrote: Sun Jan 14, 2024 3:11 pm
CoRi wrote: Fri Jan 12, 2024 1:59 am Hi everybody,
the 29th of June Wallywonka reported an issue regarding the single pair basket, which prevented orders to open.
Has there been any new development?
Saludos
This prompted me to take another look. I still cannot see what is causing this. :arrrg:

:xm: :rocket:
hi Steve,

hope all is well!
apologies for being a pain. Would you have any updates on this please?
thanks a million
None at all. TreatIndividualPairsAsBasket is used 3 times:
  • In the chart feedback display.
    When calling the function that calculates the basket TP.
    When calling the function that examines the basket for possible closure.
The input is not referenced in any of the order sending decisions so I do not see how it can stop trading. The problem must have a different cause but I cannot find it.

: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
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Individual basket trading

Post by SteveHopwood »

SteveHopwood wrote: Sat Feb 24, 2024 3:15 pm
Fabster76 wrote: Fri Feb 23, 2024 2:59 pm
SteveHopwood wrote: Sun Jan 14, 2024 3:11 pm
CoRi wrote: Fri Jan 12, 2024 1:59 am Hi everybody,
the 29th of June Wallywonka reported an issue regarding the single pair basket, which prevented orders to open.
Has there been any new development?
Saludos
This prompted me to take another look. I still cannot see what is causing this. :arrrg:

:xm: :rocket:
hi Steve,

hope all is well!
apologies for being a pain. Would you have any updates on this please?
thanks a million
None at all. TreatIndividualPairsAsBasket is used 3 times:
  • In the chart feedback display.
  • When calling the function that calculates the basket TP.
  • When calling the function that examines the basket for possible closure.
The input is not referenced in any of the order sending decisions so I do not see how it can stop trading. The problem must have a different cause but I cannot find it.

: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
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Individual basket trading

Post by SteveHopwood »

SteveHopwood wrote: Sat Feb 24, 2024 3:19 pm
SteveHopwood wrote: Sat Feb 24, 2024 3:15 pm
Fabster76 wrote: Fri Feb 23, 2024 2:59 pm
SteveHopwood wrote: Sun Jan 14, 2024 3:11 pm
CoRi wrote: Fri Jan 12, 2024 1:59 am Hi everybody,
the 29th of June Wallywonka reported an issue regarding the single pair basket, which prevented orders to open.
Has there been any new development?
Saludos
This prompted me to take another look. I still cannot see what is causing this. :arrrg:

:xm: :rocket:
hi Steve,

hope all is well!
apologies for being a pain. Would you have any updates on this please?
thanks a million
None at all. TreatIndividualPairsAsBasket is used 3 times:
  • In the chart feedback display.
  • When calling the function that calculates the basket TP.
  • When calling the function that examines the basket for possible closure.
The input is not referenced in any of the order sending decisions so I do not see how it can stop trading. The problem must have a different cause but I cannot find it.

: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.
CoRi
Trader
Posts: 12
Joined: Wed Nov 16, 2011 1:20 am
Location: San José, Costa Rica

Individual basket trading

Post by CoRi »

Steve,
I saved some older versions of Desky and tried some for Individual Basket Trading. Version 1m is still working fine.
Version q and following are not working. The big difference between those 2 versions is that in-between of the 2 you started with "Richard Specials". Maybe this information helps.
Saludos
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.

Re: Individual basket trading

Post by SteveHopwood »

CoRi wrote: Fri Mar 01, 2024 8:00 pm Steve,
I saved some older versions of Desky and tried some for Individual Basket Trading. Version 1m is still working fine.
Version q and following are not working. The big difference between those 2 versions is that in-between of the 2 you started with "Richard Specials". Maybe this information helps.
Saludos
Thanks. It gives me something to look into.

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

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