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

TDesk User Indicators Playground
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5538
Page 34 of 34
Author:  wallywonka [ Fri Feb 03, 2023 12:28 am ]
Post subject:  TDesk User Indicators Playground

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?
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.
Author:  WorldsEnd [ Fri Feb 03, 2023 7:35 am ]
Post subject:  TDesk User Indicators Playground

wallywonka » 03 Feb 2023, 02:28 wrote:
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?
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.
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.
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.
Author:  tomele [ Thu Feb 16, 2023 4:25 pm ]
Post subject:  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
Author:  WorldsEnd [ Fri Feb 17, 2023 9:09 am ]
Post subject:  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.
Author:  tomele [ Fri Feb 17, 2023 11:44 am ]
Post subject:  Re: TDesk User Indicators Playground

You can do it this way:

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;
      
      ...
Cheers
Author:  tomele [ Fri Feb 17, 2023 2:51 pm ]
Post subject:  Re: TDesk User Indicators Playground

Okay, here is the UBD stuff.

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;
These lines are statements to ignore certain zone types.
If you comment out a line, the zones of this type will generate signals.

Cheers
Author:  wallywonka [ Mon May 01, 2023 6:41 am ]
Post subject:  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...
All times are UTC Page 34 of 34