Hey mate, Had a bit of a look but I can't quite work it out. I notice the signals stick even once the price has moved out of a zone, not sure how to fix this maybe someone else can work it out.WorldsEnd » Thu Jan 12, 2023 7:58 pm wrote:Guys, I‘m using SS_SupportResistance_v07 which is working fine with TDesk. I‘m just wondering how often the signal/chart refreshes. Is there a line in the code where I should have a look?
TDesk User Indicators Playground
-
- Trader
- Posts: 176
- Joined: Thu May 12, 2016 7:46 am
TDesk User Indicators Playground
- WorldsEnd
- Trader
- Posts: 95
- Joined: Fri Aug 29, 2014 7:36 pm
TDesk User Indicators Playground
Hey buddy, that‘s exactly what I recognized. Furthermore one needs to open all charts which is ok but it would be way better if we could use UBD with this indi.wallywonka » 03 Feb 2023, 02:28 wrote:Hey mate, Had a bit of a look but I can't quite work it out. I notice the signals stick even once the price has moved out of a zone, not sure how to fix this maybe someone else can work it out.WorldsEnd » Thu Jan 12, 2023 7:58 pm wrote:Guys, I‘m using SS_SupportResistance_v07 which is working fine with TDesk. I‘m just wondering how often the signal/chart refreshes. Is there a line in the code where I should have a look?
Anyway, my „workaround“ for the mentioned problem, I am closing and opening all charts with the help of TDesk 3 to 4 times a day. Worth noting, I am trading on the 4h timeframe. I have not find a better solution thus far.
- tomele
- Administrator
- Posts: 1166
- Joined: Tue May 17, 2016 3:40 pm
- Location: Germany, Forest of Odes, Defending the Limes
Re: TDesk User Indicators Playground
Hi guys.
Try the attached one. Still needs to have umpteen charts open, UBD version will probably be addressed later.
Cheers
Try the attached one. Still needs to have umpteen charts open, UBD version will probably be addressed later.
Cheers
You do not have the required permissions to view the files attached to this post.
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
- WorldsEnd
- Trader
- Posts: 95
- Joined: Fri Aug 29, 2014 7:36 pm
Re: TDesk User Indicators Playground
Thanks a lot for the update Thomas. The new version is up and running. It's too early to tell if it's updating signals when price has left a zone but I'll report back as soon as conditions permit.
Do you see a possibility to select certain zones which send a signal to TDesk? Maybe by commenting out the appropriate code in the indicator? I'd like to see if I can find better trade entries by deselecting a turncoat or a weak zone, i.e.
Do you see a possibility to select certain zones which send a signal to TDesk? Maybe by commenting out the appropriate code in the indicator? I'd like to see if I can find better trade entries by deselecting a turncoat or a weak zone, i.e.
- tomele
- Administrator
- Posts: 1166
- Joined: Tue May 17, 2016 3:40 pm
- Location: Germany, Forest of Odes, Defending the Limes
Re: TDesk User Indicators Playground
You can do it this way:
Cheers
Code: Select all
bool CheckEntryAlerts()
{
// check for entries
for (int i=0; i<zone_count; i++)
{
// skip the irrelevant zones
if (zone_strength[i] == ZONE_TURNCOAT) continue;
if (zone_strength[i] == ZONE_POSSIBLE) continue;
if (zone_strength[i] == ZONE_UNTESTED) continue;
if (zone_strength[i] == ZONE_WEAK) continue;
...
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
- tomele
- Administrator
- Posts: 1166
- Joined: Tue May 17, 2016 3:40 pm
- Location: Germany, Forest of Odes, Defending the Limes
Re: TDesk User Indicators Playground
Okay, here is the UBD stuff.
You can control the unwanted zone types by (un)commenting around line 250:
These lines are statements to ignore certain zone types.
If you comment out a line, the zones of this type will generate signals.
Cheers
You can control the unwanted zone types by (un)commenting around line 250:
Code: Select all
// skip the irrelevant zones
if (zone_strength[i] == ZONE_TURNCOAT) continue;
if (zone_strength[i] == ZONE_POSSIBLE) continue;
if (zone_strength[i] == ZONE_UNTESTED) continue;
if (zone_strength[i] == ZONE_WEAK) continue;
If you comment out a line, the zones of this type will generate signals.
Cheers
You do not have the required permissions to view the files attached to this post.
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
-
- Trader
- Posts: 176
- Joined: Thu May 12, 2016 7:46 am
Re: TDesk User Indicators Playground
Hey Thomas, seems commenting out those lines that it still sends a signal regardless, not sure if you have anymore ideas...