Hi,
I have a problem with the common TDesk and TdeskPatnerEA settings.
In my strategy, I would like to close positions only with the Tdesk option named "ForceExitOnDisagreeSignals" or "ForceExitOppositeSignals".
For this to work in TDeskPartner EA, an option called "closeOpenOnEXITSignal" must be enabled.
With such settings, the position is closed in parallel by the "SuperSignalsExitOperator" option in SuperSignals section in TDesk.
I use only 4 indicators that open the position when all four have the same direction as the value of "100". It is enough for only the two to change direction and the SuperSignals value is already "0"
Then the position closes as well after SuperSignals Exit. This is too early for my strategy.
Is it possible to disable closing positions by options "EXIT" in SuperSignal or does it require Tdesk modification?
Best Regards
Wojtek
TDesk Discussion
- tomele
- Administrator
- Posts: 1208
- Joined: Tue May 17, 2016 3:40 pm
- Location: Germany, Forest of Odes, Defending the Limes
TDesk Discussion
Set the ExitThresholds in TDesk to -100 and/or closeTradesOnFlatSignal in Desky to false.
Happy pippin, Thomas 
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
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
-
wojtek_amm
- Trader
- Posts: 23
- Joined: Fri Jan 13, 2012 9:52 am
- Location: Poland
TDesk Discussion
Hi,tomele » Thu May 16, 2019 1:21 pm wrote:Set the ExitThresholds in TDesk to -100 and/or closeTradesOnFlatSignal in Desky to false.
Thank you very much.
I have a second question.
In my real strategy there is an additional dedicated fifth indicator, which only serves to close the position.
If I add its name in Tdesk in the "ExludeFromSoloSignals" option and add the same name in "ForceExitOnOppositeSignals" (same name xxx/M5) then the Exclude ... option works fine but does not work in the ForceClose option ....
Is this correct and purposeful, or is it a logical error or is there something wrong with me?
Best Regards
Wojtek
- tomele
- Administrator
- Posts: 1208
- Joined: Tue May 17, 2016 3:40 pm
- Location: Germany, Forest of Odes, Defending the Limes
TDesk Discussion
Hi again, Wojtek.
The Exclude... List means that the signals are not respected in the Solo or Multi Signals calculation. That is totally independent from the Veto... and ForceExit... lists.
But ForceExit... can become valid only if the Super Signal is FLAT, so you normally have to put the ForceExit... signals on the respective Veto... list also. You must first veto the Super Signal to be FLAT, then you can force it to be EXIT.
If this doesn't help, please post your TDesk and trading chart templates and I'll have a look.
Cheers
Thomas
The Exclude... List means that the signals are not respected in the Solo or Multi Signals calculation. That is totally independent from the Veto... and ForceExit... lists.
But ForceExit... can become valid only if the Super Signal is FLAT, so you normally have to put the ForceExit... signals on the respective Veto... list also. You must first veto the Super Signal to be FLAT, then you can force it to be EXIT.
If this doesn't help, please post your TDesk and trading chart templates and I'll have a look.
Cheers
Thomas
Happy pippin, Thomas 
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
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
-
wojtek_amm
- Trader
- Posts: 23
- Joined: Fri Jan 13, 2012 9:52 am
- Location: Poland
TDesk Discussion
Ok - everything is clear - it works exactly as you wrote.tomele » Thu May 16, 2019 9:55 pm wrote:Hi again, Wojtek.
The Exclude... List means that the signals are not respected in the Solo or Multi Signals calculation. That is totally independent from the Veto... and ForceExit... lists.
But ForceExit... can become valid only if the Super Signal is FLAT, so you normally have to put the ForceExit... signals on the respective Veto... list also. You must first veto the Super Signal to be FLAT, then you can force it to be EXIT.
If this doesn't help, please post your TDesk and trading chart templates and I'll have a look.
Cheers
Thomas
I thought the ForceExit ... option would work regardless of the SuperSignal state.
I need to think....
Regards
Wojtek
- tomele
- Administrator
- Posts: 1208
- Joined: Tue May 17, 2016 3:40 pm
- Location: Germany, Forest of Odes, Defending the Limes
TDesk Discussion
If ForceExit... would be valid even if the Super Signal is directional, we would create an entry-exit flip-flop between both.
However, I am glad you asked. At least you are bold enough to seriously work with TDesk and it's options. I will be happy to help you.
Cheers
Thomas
However, I am glad you asked. At least you are bold enough to seriously work with TDesk and it's options. I will be happy to help you.
Cheers
Thomas
Happy pippin, Thomas 
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
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
-
wojtek_amm
- Trader
- Posts: 23
- Joined: Fri Jan 13, 2012 9:52 am
- Location: Poland
TDesk Discussion
Hi Thomas,tomele » Thu May 16, 2019 10:17 pm wrote:If ForceExit... would be valid even if the Super Signal is directional, we would create an entry-exit flip-flop between both.
However, I am glad you asked. At least you are bold enough to seriously work with TDesk and it's options. I will be happy to help you.
Cheers
Thomas
I thought and I did not find a satisfactory solution to my problem.
Fortunately, I can do a bit in mql, so I put the code of my closing indicator as an option in TdeskTradingPartner EA, which solved my problem with closing the position regardless of the SuperSignal status.
However, I decided to describe it in more detail, as I see it.
I will use the best simple example. It's about a system that follows the trend.
In the simplest solution, these are two EMAs and the point of their intersection as the beginning of the signal and the re-intersection as the end of the signal.
They will keep the positive state of SuperSignal until one of the EMAs turns back and crosses the other.
However, it is much lower, as the highest achieved price.
The price does not turn back at random places. Sometimes it is possible to set a price shock point with a high probability of up to 100%.
For example, there may be a Fibo level or a grouping of Fibo levels. Another example is the Harmonic formation combined with the Fibo level or the level of the average daily or weekly range of price movements and many others.
Then in my opinion, it pays to end the trend signal at the potentially highest point and wait for the new one.
That's why I was expecting the Force ... option to close the position regardless of the SuperSignal status.
If I set the SuperSignal's or Solo short validity time, then I avoid re-entering the same signal.
Regards
Wojtek
- tomele
- Administrator
- Posts: 1208
- Joined: Tue May 17, 2016 3:40 pm
- Location: Germany, Forest of Odes, Defending the Limes
TDesk Discussion
That is exactly what the ForceExit... signals do, if you also add those signals to the corresponding Veto... list.wojtek_amm wrote:That's why I was expecting the Force ... option to close the position regardless of the SuperSignal status.
No. Those values in TDesk are only for display purposes. You have to use MaxSignalAgeMinutes in Desky for that. Set it to one minute or so, then the same signal should not be re-entered.wojtek_amm wrote:If I set the SuperSignal's or Solo short validity time, then I avoid re-entering the same signal.
Cheers
Thomas
Happy pippin, Thomas 
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
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
-
wojtek_amm
- Trader
- Posts: 23
- Joined: Fri Jan 13, 2012 9:52 am
- Location: Poland
TDesk Discussion
Hi Thomastomele » Fri May 17, 2019 1:11 pm wrote:That is exactly what the ForceExit... signals do, if you also add those signals to the corresponding Veto... list.wojtek_amm wrote:That's why I was expecting the Force ... option to close the position regardless of the SuperSignal status.
No. Those values in TDesk are only for display purposes. You have to use MaxSignalAgeMinutes in Desky for that. Set it to one minute or so, then the same signal should not be re-entered.wojtek_amm wrote:If I set the SuperSignal's or Solo short validity time, then I avoid re-entering the same signal.
Cheers
Thomas
Thank you for your help
Too many logic levels and my brain has been overloaded.
I have removed the FLAT option from my closing indicators and added a time limit to show the direction option (long or short)
I added to Veto .... and ForceExit ..... and it works almost as I expected.
!!! However, the problem of renewing the transaction remains, because the disappearance of Veto is treated like a new signal by SuperSignal.
In this situation, I believe that the best solution for more advanced strategies is to use Tdesk to open the position and modified PartnerEA to close the position.
Thank you again for your time and help.
Regards
Wojtek
-
michymx
- Posts: 2
- Joined: Sun Dec 04, 2016 2:05 pm
Hgi signal every arrow
Hi there!
My first post at SHF after a couple of years studying it.
Unbelievable level of knowledge here!
I'm in TDesk/Desky only since two weeks, exploring the power of this tool.
I'm an HGI fan, and I was wondering if with Tdesk's logic is there a way to tell Desky to open a new trade every big Trend Arrow, even if the supersignal is already true. Maybe I should "flatize" Hgi's Trend Arrow signal after it's given ? Is that possible? Or there is another logic way to do this?
My setup is very simple, STO7/D1, SS/W1/D1, and I would like to add a trade every new big trend arrow of HGI/H4 but my brain fused trying to figure out how can i tell Desky to do this.
I've tryed to allow multiple market trades for every new fresh signal but this doesn't fit me because we don't know if the next new fresh signal will be provided by the HGI/H4 or i.e. by SS/D1
(the Super Signal goes flat from long, because SSD1 crossed and then crossed again giving another Super Signal, but I would like let Desky to add a new trade to an existing one only if a new big Trend Arrow of HGI/4 is shown).
I hope that it's not a so stupid question.
Waiting Steve's blast in 3..2..1..
My first post at SHF after a couple of years studying it.
Unbelievable level of knowledge here!
I'm in TDesk/Desky only since two weeks, exploring the power of this tool.
I'm an HGI fan, and I was wondering if with Tdesk's logic is there a way to tell Desky to open a new trade every big Trend Arrow, even if the supersignal is already true. Maybe I should "flatize" Hgi's Trend Arrow signal after it's given ? Is that possible? Or there is another logic way to do this?
My setup is very simple, STO7/D1, SS/W1/D1, and I would like to add a trade every new big trend arrow of HGI/H4 but my brain fused trying to figure out how can i tell Desky to do this.
I've tryed to allow multiple market trades for every new fresh signal but this doesn't fit me because we don't know if the next new fresh signal will be provided by the HGI/H4 or i.e. by SS/D1
(the Super Signal goes flat from long, because SSD1 crossed and then crossed again giving another Super Signal, but I would like let Desky to add a new trade to an existing one only if a new big Trend Arrow of HGI/4 is shown).
I hope that it's not a so stupid question.
Waiting Steve's blast in 3..2..1..