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 71 of 71
Author:  lbs48 [ Thu Jun 12, 2025 8:02 am ]
Post subject:  Re: Hopelessly confused by TDesk or Desky? Ask here.

Hello,
now the Basket Target Cash values ​​on the display are stable.
But still there is a basket closing of trades for a reason that I have not been able to discover yet :arrrg: .
It is possible that all trades are closing immediately as a result of SuspendDeskyonWIde¨Spread or ONImpendingNews?

Many thanks in advance.
Author:  SteveHopwood [ Thu Jun 12, 2025 5:55 pm ]
Post subject:  Re: Hopelessly confused by TDesk or Desky? Ask here.

lbs48 wrote: Thu Jun 12, 2025 8:02 am Hello,
now the Basket Target Cash values ​​on the display are stable.
But still there is a basket closing of trades for a reason that I have not been able to discover yet :arrrg: .
It is possible that all trades are closing immediately as a result of SuspendDeskyonWIde¨Spread or ONImpendingNews?

Many thanks in advance.
No. Desky's activity is suspended so he cannot do anything.

:xm: :rocket:
Author:  lbs48 [ Fri Jul 25, 2025 10:50 am ]
Post subject:  Re: Hopelessly confused by TDesk or Desky? Ask here.

Hi to all,
I still unsuccessfully fighting with unwated trades closing.
Even though I have all the functions for closing by day and/or hours turned off, Desky from unknow reason closing open trades on Friday 1:00.
Have someone the same experience?
Does anyone know where I might be wrong?
Many thanks in advance.

NIce weekend.
Desky_250725.jpg
Author:  SteveHopwood [ Fri Jul 25, 2025 11:19 am ]
Post subject:  Re: Hopelessly confused by TDesk or Desky? Ask here.

lbs48 wrote: Fri Jul 25, 2025 10:50 am Hi to all,
I still unsuccessfully fighting with unwated trades closing.
Even though I have all the functions for closing by day and/or hours turned off, Desky from unknow reason closing open trades on Friday 1:00.
Have someone the same experience?
Does anyone know where I might be wrong?
Many thanks in advance.

NIce weekend.Desky_250725.jpg
I had a quick look at the code and there is this comment in the individual days inputs:
"//End of day closure/deletion of all trades.
//Ignore signals at and after this time.
//Local time input. >23 to disable."

Your inputs such as FridayCloseAllHour are all set to 0. Each new daily candle opens at 0.00 hours and so triggers any closure time with a zero input. Set them all to greater than 23 - 24, 45000 - anything will do.

:xm: :rocket:
Author:  lbs48 [ Fri Jul 25, 2025 11:32 am ]
Post subject:  Re: Hopelessly confused by TDesk or Desky? Ask here.

Thanks a lot Steve.
I must have misunderstood: "Blank input means 24 hour trading".
Desky_250725_1.jpg
Now it seems to work as I need it to.
Author:  lbs48 [ Fri Oct 31, 2025 9:50 am ]
Post subject:  Re: Hopelessly confused by TDesk or Desky? Ask here.

Nice Friday,
I have it set in the Desky fixed TP on 120 pips. But even though profit reached more than 126, Desky did not close position.
Have anybody some idea why?

Many thanks in advance.
L
Desky_311025.jpg
Author:  SteveHopwood [ Fri Oct 31, 2025 3:09 pm ]
Post subject:  Re: Hopelessly confused by TDesk or Desky? Ask here.

lbs48 wrote: Fri Oct 31, 2025 9:50 am Nice Friday,
I have it set in the Desky fixed TP on 120 pips. But even though profit reached more than 126, Desky did not close position.
Have anybody some idea why?

Many thanks in advance.
LDesky_311025.jpg
Anyone else had this problem?

I wondered if there is a fault in the hidden sltp code but it is simple and I cannot see anything wrong.

Fellow coders might like to take a look:
  • CountOpenTrades() examines the HideStopLossAndTakeProfit input at line 2316 then calls the bool lookForTradeClosure(int ticket) function if this is enabled.
  • bool lookForTradeClosure(int ticket) (line 2555) calculates the hidden sltp then examines the market and closes the trade if the market has passed the tp.
I cannot see a failure point in the code. Has anyone else had this problem?

:xm: :rocket:
Author:  jetsetwilly [ Sat Feb 21, 2026 11:33 am ]
Post subject:  Re: Hopelessly confused by TDesk or Desky? Ask here.

Hi, after opening a empty chart using TDesk, I am getting the following Alarm. But only on a few pairs:

"H4 Super-signals AUDJPY @ 1 hour channel"

Any ideas?
Author:  jetsetwilly [ Sat Feb 21, 2026 12:32 pm ]
Post subject:  Re: Hopelessly confused by TDesk or Desky? Ask here.

Fixed. The problem was: TDesk first applies default template before applying the one defined in TDesk settings. The Alarm came from indicator in default template.
All times are UTC Page 71 of 71