Re: WPR Indicators for MT4

211
moey_dw wrote: Mon Apr 28, 2025 8:11 pm Very striking indicator mrtoolz.......... i love it because the wpr out side levels will expand and contract on the volatility!!! Is this because of ATR calculations?? We dont get this on static level WPR so this is like a dynamic levels now!!!
The outside levels expand and contract using a kind of adaptable higher timeframe range calculation combined with the overbought/oversold levels along with the ma calculation (in this case the double Jurik filter). As usual Mladen made the original OnChart Wpr, I added the Jurik smoothing and not sure who added the extra the inner bands but think it was an interesting touch to it.
These users thanked the author mrtools for the post:
moey_dw


Re: WPR Indicators for MT4

212
mrtools wrote: Tue Apr 29, 2025 8:09 pm The outside levels expand and contract using a kind of adaptable higher timeframe range calculation combined with the overbought/oversold levels along with the ma calculation (in this case the double Jurik filter).
Its a special way you done it catched my eye immediately and works extremely well for the viewer............ adaptable higher timeframe calculation is this the first ever indicator you did this type of calculation for this levels?!
These users thanked the author moey_dw for the post:
mrtools
Official Forex-station GIF animator at your service 👨‍⚖️
See a GIF with Forex-station.com on it? I probably made it
The best divergence indicator in the world.
Real news exists: Infowars.com 👈

Re: WPR Indicators for MT4

213
moey_dw wrote: Wed Apr 30, 2025 8:01 pm Its a special way you done it catched my eye immediately and works extremely well for the viewer............ adaptable higher timeframe calculation is this the first ever indicator you did this type of calculation for this levels?!
The first version by Mladen had this:

Code: Select all

atrTimeFrame=PERIOD_D1;
   if (TimeFrame >= atrTimeFrame)
      switch (TimeFrame)
         {
            case PERIOD_D1: atrTimeFrame = PERIOD_W1; break;
            default:        atrTimeFrame = PERIOD_MN1;
         }
Then people were requesting it for lower timeframes adapting so this was added:

Code: Select all

atrTimeFrame = PERIOD_H4;
              switch (timeFrame)
               {
                 case PERIOD_M1:  atrTimeFrame = PERIOD_H1;  break;
                 case PERIOD_M5:  atrTimeFrame = PERIOD_H4;  break;
                 case PERIOD_M15: atrTimeFrame = PERIOD_H4;  break;
                 case PERIOD_M30: atrTimeFrame = PERIOD_D1;  break;
                 case PERIOD_H1:  atrTimeFrame = PERIOD_D1;  break;
                 case PERIOD_H4:  atrTimeFrame = PERIOD_D1;  break;
                 case PERIOD_D1:  atrTimeFrame = PERIOD_W1;  break;
                 case PERIOD_W1:  atrTimeFrame = PERIOD_MN1; break;
                 default:         atrTimeFrame = PERIOD_H4;
               }
These users thanked the author mrtools for the post (total 2):
Jimmy, moey_dw

Re: WPR Indicators for MT4

214
Working on streamlining the code for the on chart wpr smoothed, like to do that to try and make it easier to convert it to mt5, couldn't figure out a way to do the atr bands which uses a different mtf than the wpr itself. Finally remembered Mladen's atr probability bands and used that code, seems to be working pretty good on the mt4 version but not so good on the mt5 version, still needs work to figure out a way to do it. Also, would like to make the arrows this time using buffers think that will lessen the computer load, but if you all like this mt4 version will extend it further with the arrows and alerts, but needs testing.
These users thanked the author mrtools for the post (total 5):
Jimmy, FredericoA, moey_dw, Akela, RodrigoRT7

Re: WPR Indicators for MT4

215
mrtools wrote: Thu May 01, 2025 2:55 pm Working on streamlining the code for the on chart wpr smoothed, like to do that to try and make it easier to convert it to mt5, couldn't figure out a way to do the atr bands which uses a different mtf than the wpr itself. Finally remembered Mladen's atr probability bands and used that code, seems to be working pretty good on the mt4 version but not so good on the mt5 version, still needs work to figure out a way to do it. Also, would like to make the arrows this time using buffers think that will lessen the computer load, but if you all like this mt4 version will extend it further with the arrows and alerts, but needs testing.
You are changing the game dear........... just when I thought there was nothing else to be maxxed out I really would love to keep contact and hear your latest findings and thank you for post the code example because even though it looks just like codes its opening my understanding of how this outside levels are working!!! And the more infos and good size post you write the more I pay attention!!! 🙇‍♂️🙇‍♂️🙇‍♂️
Official Forex-station GIF animator at your service 👨‍⚖️
See a GIF with Forex-station.com on it? I probably made it
The best divergence indicator in the world.
Real news exists: Infowars.com 👈