Hopelessly confused by TDesk or Desky? Ask here.

Post Reply
mastercool
Trader
Posts: 20
Joined: Thu Jan 05, 2017 9:44 am

Problem with "close all open trades at this cash loss"

Post by mastercool »

Hello,
If any member can help me this set file of Desky which does not "close all open trades at this cash loss" = - 150 .
I have used it in 4 different fresh emtpy4 setups and tested this set file in the last 4 Desky versions but still it does not close all open trades.
The setup is pretty simple, it takes 15 pips as TP and closes all when loss is -150 .
What am i doing wrong? :arrrg:

Thank you!
You do not have the required permissions to view the files attached to this post.
lamdog330
Trader
Posts: 71
Joined: Wed Mar 22, 2017 7:33 am

Problem with "close all open trades at this cash loss"

Post by lamdog330 »

mastercool » Tue Sep 24, 2019 10:06 pm wrote:Hello,
If any member can help me this set file of Desky which does not "close all open trades at this cash loss" = - 150 .
I have used it in 4 different fresh emtpy4 setups and tested this set file in the last 4 Desky versions but still it does not close all open trades.
The setup is pretty simple, it takes 15 pips as TP and closes all when loss is -150 .
What am i doing wrong? :arrrg:

Thank you!
Sometimes it's not the set file. Try this.

1. Disable AutoTrading
2. Tools -> Global Variables -> delete everything
3. Close Empty4
4. Open and enable AutoTrading

If it still doesn't work
5. Do the above and setup the templates again
mastercool
Trader
Posts: 20
Joined: Thu Jan 05, 2017 9:44 am

Hopelessly confused by TDesk or Desky? Ask here.

Post by mastercool »

Have done those for the past days in each platform.
Other Desky setups with no TP are working ok with close - 150.
Only this particular one which has TP does not close the order thats why im stuck.
lamdog330
Trader
Posts: 71
Joined: Wed Mar 22, 2017 7:33 am

Hopelessly confused by TDesk or Desky? Ask here.

Post by lamdog330 »

I am not sure which field to use. Just an example below.

On a LONG trade and I want to exit with RSI +60 and on a SHORT trade andI want to exit with RSI -60. I am not using RSI for any entry.

Here's what I have so far:
ExcludeFromSoloSignals: RSI
ForceExitOnOppositeSignals or ForceExitonDisagreeSignals?: I am stuck on this. It's not really an opposite signal as I want it to reach RSI +60 to close a BUY trade. Maybe there's
similar to "ForceExitOnAgreeSignals"

Or just set Desky ForceCloseOnExitSignal to true?
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 »

Hi.

Given that:
- RSI generates a LONG signal above +60, a SHORT signal below -60, else a FLAT signal

To exit trades on a FLAT RSI signal (i.e. RSI below +60 for a LONG trade), add it to:
- VetoOnDisagreeSignals
- ForceExitOnDisagreeSignals

To exit on a directional signal (i.e RSI above +60 for a LONG trade), add it to:
- InvertIncomingSignals
- VetoOnOppositeSignals
- ForceExitOnOppositeSignals

BTW you could also use UBD to generate an inverted RSI signal.

Cheers
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
lamdog330
Trader
Posts: 71
Joined: Wed Mar 22, 2017 7:33 am

Hopelessly confused by TDesk or Desky? Ask here.

Post by lamdog330 »

tomele » Fri Sep 27, 2019 10:29 am wrote:Hi.

Given that:
- RSI generates a LONG signal above +60, a SHORT signal below -60, else a FLAT signal

To exit trades on a FLAT RSI signal (i.e. RSI below +60 for a LONG trade), add it to:
- VetoOnDisagreeSignals
- ForceExitOnDisagreeSignals

To exit on a directional signal (i.e RSI above +60 for a LONG trade), add it to:
- InvertIncomingSignals
- VetoOnOppositeSignals
- ForceExitOnOppositeSignals

BTW you could also use UBD to generate an inverted RSI signal.

Cheers
Thank you. I haven't used it yet but I am able to understand the logic a lot better.
This is amazing piece of Empty4 code. I've been testing and tweaking various entry strategies past week without knowing a line of programming.
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 »

I've been testing and tweaking various entry strategies past week without knowing a line of programming.
That was my goal when coding it.

Cheers
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
Cayrema
Posts: 5
Joined: Sat Apr 30, 2016 12:19 pm

Hopelessly confused by TDesk or Desky? Ask here.

Post by Cayrema »

Hello everyone,
Someone please explain to me how I can trail all grid trades from one pair with a fixed number of pips. Seems like the Trailing Stop function is not responding on my side, I have tried complex offsetting too and it's not closing all trades. The basket trailing stop available for a single pair is in cash and not pips. I have tried my best and only :arrrg: :arrrg: :arrrg:
I would also suggest an offsetting option maybe called Total Single Sided Offsetting whereby all the trades are closed when the market retraces to the second highest buy in case of buys or second lowest sell in case of sells. I think this would be a great way to deal with the market before it retraces and takes away much of what's already on the table.
Thanks in advance.
Regards
Cayrema
User avatar
RMSSC
Trader
Posts: 41
Joined: Wed Sep 25, 2019 7:09 pm

Hopelessly confused by TDesk or Desky? Ask here.

Post by RMSSC »

Good morning everyone,
I'm new here on the forum, but I've read and learned a lot (thanks Steve for the welcome notes).
I don't think this is confusing with TDesk, because I can understand more or less difficulty how it works and the applied strategy, a great tool and its mentors are to be congratulated, it takes people with great and altruistic skills to share :youknow: .
My programming skills in Empty4 are limited, I work well with the program as a user, I am more a person of numbers and a worship of statistics.
I am having a hard time and I don't think the only one is the same problem, TP works well for the values ​​I set, but SL doesn't react, I can't understand why, resulting in significant losses compared to profits.
I have already installed empty4 on several machines and the result is the same.
Sorry if something is missing from me (maybe a file?), But I need to be corrected if I'm doing some nonsense.
Attachment attached images.
Your help would be precious.
RMSSC
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 »

Hi RMSSC,

TDesk does not manage your trades for you. It merely sends signals to the desky drone "TDesk trading partner EA". So if you want to set a stop loss you must do so in the "Trading partner EA" under your "trade exit strategies" input field.

Hope it clarifies.

Cheers
Leon
Post Reply

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