stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Hopelessly confused by TDesk or Desky? Ask here.
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5546
Page 9 of 71
Author:  jonny007 [ Thu Nov 22, 2018 4:11 pm ]
Post subject:  Hopelessly confused by TDesk or Desky? Ask here.

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!
Author:  c1borg [ Tue Nov 27, 2018 3:19 pm ]
Post subject:  Hopelessly confused by TDesk or Desky? Ask here.

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?
Author:  SteveHopwood [ Tue Nov 27, 2018 4:56 pm ]
Post subject:  Hopelessly confused by TDesk or Desky? Ask here.

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:
Author:  c1borg [ Tue Nov 27, 2018 5:17 pm ]
Post subject:  Hopelessly confused by TDesk or Desky? Ask here.

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.
Author:  tomele [ Tue Nov 27, 2018 6:10 pm ]
Post subject:  Hopelessly confused by TDesk or Desky? Ask here.

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.
Author:  SteveHopwood [ Tue Nov 27, 2018 6:35 pm ]
Post subject:  Hopelessly confused by TDesk or Desky? Ask here.

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:
Author:  SteveHopwood [ Tue Nov 27, 2018 7:04 pm ]
Post subject:  Hopelessly confused by TDesk or Desky? Ask here.

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

I will fix this later.

:xm: :rocket:
Author:  c1borg [ Wed Nov 28, 2018 11:55 am ]
Post subject:  Hopelessly confused by TDesk or Desky? Ask here.

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?
Author:  Wavegarrick [ Wed Nov 28, 2018 1:47 pm ]
Post subject:  Hopelessly confused by TDesk or Desky? Ask here.

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
Author:  c1borg [ Wed Nov 28, 2018 1:56 pm ]
Post subject:  Hopelessly confused by TDesk or Desky? Ask here.

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:
All times are UTC Page 9 of 71