Hopelessly confused by TDesk or Desky? Ask here.

Post Reply
jonny007
Trader
Posts: 13
Joined: Thu Jun 06, 2013 2:20 pm
Location: UK

Hopelessly confused by TDesk or Desky? Ask here.

Post by jonny007 »

lbs48 » Thu Nov 22, 2018 3:55 pm wrote:
jonny007 » Thu Nov 22, 2018 4:43 pm wrote:I have had the same issue this afternoon with trades not being triggered on Signals when trades had been opened successfully earlier today.
Hi Jonny,
which indicators you use?
Can you share it?

Thanks in advance.
lbs

Hi lsb48,

The 2 indicators I am using are Custom ones I wrote based on RSI, that in turn each call on values from other Custom Indicators I wrote. I am only a day into testing them on Tdesk, but if they prove useful I will tidy up the code & share on here. At the moment they are a bit rough around the edges!
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Hopelessly confused by TDesk or Desky? Ask here.

Post by c1borg »

My question may be stupid as I have brain freeze atm :shock: I want to make Desky place pending orders 20 pips from the market in both buy and sell trades so the guide says....
Capture.PNG
So in the settings
Capture1.png
I have options :-
  • Buy Stop
    Buy Limit
    Buy Stop and Buy Limit
    Sell Stop
    Sell Limit
    Sell Stop and Sell Limit
wouldnt I need to set a pending order buy or sell 20 pips from the current price Buy Stop and Sell Stop?

Any help appreciated :smile:

Edit: I have tried and failed to get this to work with any pending order setting(s) Desky only places orders with immediate market order set to true? Is anyone using pending orders successfully?
You do not have the required permissions to view the files attached to this post.
Last edited by c1borg on Tue Nov 27, 2018 4:59 pm, edited 1 time in total.
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 » Tue Nov 27, 2018 3:19 pm wrote:My question may be stupid as I have brain freeze atm :shock: I want to make Desky place pending orders 20 pips from the market in both buy and sell trades so the guide says....



So in the settings


I have options :-
  • Buy Stop
    Buy Limit
    Buy Stop and Buy Limit
    Sell Stop
    Sell Limit
    Sell Stop and Sell Limit
wouldnt I need to set a pending order buy or sell 20 pips from the current price Buy Stop and Sell Stop?

Any help appreciated :smile:
Looks like I invented another new word - "imDeskysible". :lol:

Do you mean that you want, say, to send a buy stop and a sell stop on the same pair as near to simultaneously as possible? If so, this is not currently possible.

You can seen from the code that the enum in infinitely expandable e.g.

Code: Select all

{
   Buy_stop,
   Buy_limit,
   Buy_stop_and_buy_limit,
   Sell_Stop,
   Sell_limit,
   Sell_stop_and_sell_limit,
   Buy_stop_and_sell_stop
};
Then all that is needed is to add code to work with the extra choices.

Would you like 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

Hopelessly confused by TDesk or Desky? Ask here.

Post by c1borg »

SteveHopwood » Tue Nov 27, 2018 4:56 pm wrote: Looks like I invented another new word - "imDeskysible". :lol:

Do you mean that you want, say, to send a buy stop and a sell stop on the same pair as near to simultaneously as possible? If so, this is not currently possible.

You can seen from the code that the enum in infinitely expandable e.g.

Code: Select all

{
   Buy_stop,
   Buy_limit,
   Buy_stop_and_buy_limit,
   Sell_Stop,
   Sell_limit,
   Sell_stop_and_sell_limit,
   Buy_stop_and_sell_stop
};
Then all that is needed is to add code to work with the extra choices.

Would you like this?

:xm: :rocket:
I want to send one Pending Buy order when TDesk says to Buy or alternatively one Pending Sell order when TDesk says Sell, only once on a pair. I cannot get any pending orders to activate with any of the selectable settings? But if I turn immediate order to true the orders are placed correctly but obviously immediately.

Sorry for the confusion.
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 »

IMHO,

following options would make sense with respect to the signal (LONG or SHORT):

1) Stop_Orders_Only
2) Limit_Orders_Only
3) Stop_And_Limit_Orders

Assumed we have a LONG signal, this would result in

1) A grid above the market to catch moves
2) A grid below the market to catch retraces
3) Both 1) and 2)

Vice versa for SHORT signals.

Sell orders don't make too much sense for me in the presence of a LONG signal.

Just my 2 cents.
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
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 » Tue Nov 27, 2018 5:17 pm wrote:
I want to send one Pending Buy order when TDesk says to Buy or alternatively one Pending Sell order when TDesk says Sell, only once on a pair. I cannot get any pending orders to activate with any of the selectable settings? But if I turn immediate order to true the orders are placed correctly but obviously immediately.

Sorry for the confusion.
I get you. I will have a look at the code for anything obvious.

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

Hopelessly confused by TDesk or Desky? Ask here.

Post by SteveHopwood »

It turns out that I have not actually coded sending pending trades instead of immediate market trades.

I will fix this later.

: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

Hopelessly confused by TDesk or Desky? Ask here.

Post by c1borg »

tomele » Tue Nov 27, 2018 6:10 pm wrote:IMHO,

following options would make sense with respect to the signal (LONG or SHORT):

1) Stop_Orders_Only
2) Limit_Orders_Only
3) Stop_And_Limit_Orders

Assumed we have a LONG signal, this would result in

1) A grid above the market to catch moves
2) A grid below the market to catch retraces
3) Both 1) and 2)

Vice versa for SHORT signals.

Sell orders don't make too much sense for me in the presence of a LONG signal.

Just my 2 cents.
I am really confused now :( I have the latest Desky set to Buy_stop and this is the result
Capture.PNG
As you can see a Buy_stop has been placed correctly after the BUY signal on NZDJPY all good :good: There is also a SELL signal on EURNZD but nothing has happened.

So as I see it, if the setting is on Buy_stop, only a Buy_stop order will be placed, that is my understanding. So what setting do I use to have a Buy_stop placed on a BUY signal for the first currency pair NZDJPY and a Sell_stop placed on a SELL signal on a different currency pair EURNZD?
You do not have the required permissions to view the files attached to this post.
User avatar
Wavegarrick
Trader
Posts: 1172
Joined: Sun Dec 30, 2012 11:21 am
Location: South Africa

Hopelessly confused by TDesk or Desky? Ask here.

Post by Wavegarrick »

As you can see a Buy_stop has been placed correctly after the BUY signal on NZDJPY all good :good: There is also a SELL signal on EURNZD but nothing has happened.
Hi C1borg,

If you set send immediate market trade to false, because you only want pending orders.
Set pending trades to false.
Set grid inputs to true with the type of grid to stops or both if you want limit orders as well, and the distance to whatever you want and amount of buy/sell stops you want open.

This should do the trick.

Cheers
Leon
You do not have the required permissions to view the files attached to this post.
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Hopelessly confused by TDesk or Desky? Ask here.

Post by c1borg »

Wavegarrick » Wed Nov 28, 2018 1:47 pm wrote:
As you can see a Buy_stop has been placed correctly after the BUY signal on NZDJPY all good :good: There is also a SELL signal on EURNZD but nothing has happened.
Hi C1borg,

If you set send immediate market trade to false, because you only want pending orders.
Set pending trades to false.
Set grid inputs to true with the type of grid to stops or both if you want limit orders as well, and the distance to whatever you want and amount of buy/sell stops you want open.

This should do the trick.

Cheers
Leon
Ah ok never thought of the grid settings will give it a try many thanks :good:
Post Reply

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