NO LINKS, SOURCE CODE REQUESTS OR MODIFICATION OF DECOMPILED INDICATORS. To avoid post deletion please follow the rules.


Re: Step Indicators for MT4

#412
mrtools wrote:
Mon Dec 21, 2020 5:09 am
This was a request to make a stepped version of the Trend direction and force index, it didn't change it much, tried the different versions of step ma that I know of.
hi mrtools
much and many thanks for your entire efforts
yes,you are right,at very higher values some 500 and above periods it make some difference,may be step degree/strength can possibly help improve it but you knows better
greetings

Re: Step Indicators for MT4

#413
Hi MrTools,

Happy Holidays!

I did some other testing over the holidays and created a MTF test case, please find attached. I'm simply drawing an arrow when step pdfma is going up or down. I found a few cases where the arrow is pointing the opposite direction of the indicator value, like so:
pdfma1.png
The code (full source attached) is just:

Code: Select all

      //10 buffer: 1 = up, -1 = down
      string stepperName = "step pdfma (mtf + alerts + arrows)"; 
      double stepperDirVal = iCustom(NULL,0,stepperName, PERIOD_H4, 10, i);
      
      if(stepperDirVal == 1) {
         drawArrow(drawPrefix , 1, 200, 233, clrBlue, "", i,3);
      } else if(stepperDirVal == -1) {
         drawArrow(drawPrefix, -1, 200, 234, clrRed, "", i,3);
      }
I'm testing during the H1 timeframe.

Here are a couple of more examples:
pdfma2.png
pdfma3.png
The vast majority of the time its working great but I'm coding an EA so this keeps coming up.

If I'm using the wrong buffer, my apologies, it looks to me like 10 is the Up/Down buffer...

Please let me know if I can do anything else!

Thanks!

Mark

mrtools wrote:
Tue Dec 15, 2020 6:51 am
mwaschkowski wrote:
Tue Dec 15, 2020 4:02 am
Hi MrTools,

Any luck on this? If you send me the source I can try and look into it if that would help...

Thanks,

Mark

Couldn't find any repainting.
TestPdf.mq4
(6.28 KiB) Downloaded 88 times

Re: Step Indicators for MT4

#414
mwaschkowski wrote:
Wed Dec 30, 2020 4:33 am
Hi MrTools,

Happy Holidays!

I did some other testing over the holidays and created a MTF test case, please find attached. I'm simply drawing an arrow when step pdfma is going up or down. I found a few cases where the arrow is pointing the opposite direction of the indicator value, like so:

pdfma1.png

The code (full source attached) is just:

Code: Select all

      //10 buffer: 1 = up, -1 = down
      string stepperName = "step pdfma (mtf + alerts + arrows)"; 
      double stepperDirVal = iCustom(NULL,0,stepperName, PERIOD_H4, 10, i);
      
      if(stepperDirVal == 1) {
         drawArrow(drawPrefix , 1, 200, 233, clrBlue, "", i,3);
      } else if(stepperDirVal == -1) {
         drawArrow(drawPrefix, -1, 200, 234, clrRed, "", i,3);
      }
I'm testing during the H1 timeframe.

Here are a couple of more examples:

pdfma2.png

pdfma3.png

The vast majority of the time its working great but I'm coding an EA so this keeps coming up.

If I'm using the wrong buffer, my apologies, it looks to me like 10 is the Up/Down buffer...

Please let me know if I can do anything else!

Thanks!

Mark

mrtools wrote:
Tue Dec 15, 2020 6:51 am


Couldn't find any repainting.
Yeah 10 is the trend buffer, only thing I can think of is if you are testing using a 4 hour step pdf on a 1 hour chart don't know for sure but don't think it's very accurate testing mtf on the strategy tester, that's just what I've heard never really tried it.

Re: Step Indicators for MT4

#415
OK, interesting. I switched to the 4 hour chart to test with to see if that made a difference, but it didn't, same (similar) results:
pdfma4.png
Thanks,

Mark

Edit: PS - please let me know if there are other scenarios I should test or anything else I can do!
mrtools wrote:
Wed Dec 30, 2020 5:27 am
mwaschkowski wrote:
Wed Dec 30, 2020 4:33 am
Hi MrTools,

Happy Holidays!

I did some other testing over the holidays and created a MTF test case, please find attached. I'm simply drawing an arrow when step pdfma is going up or down. I found a few cases where the arrow is pointing the opposite direction of the indicator value, like so:

pdfma1.png

The code (full source attached) is just:

Code: Select all

      //10 buffer: 1 = up, -1 = down
      string stepperName = "step pdfma (mtf + alerts + arrows)"; 
      double stepperDirVal = iCustom(NULL,0,stepperName, PERIOD_H4, 10, i);
      
      if(stepperDirVal == 1) {
         drawArrow(drawPrefix , 1, 200, 233, clrBlue, "", i,3);
      } else if(stepperDirVal == -1) {
         drawArrow(drawPrefix, -1, 200, 234, clrRed, "", i,3);
      }
I'm testing during the H1 timeframe.

Here are a couple of more examples:

pdfma2.png

pdfma3.png

The vast majority of the time its working great but I'm coding an EA so this keeps coming up.

If I'm using the wrong buffer, my apologies, it looks to me like 10 is the Up/Down buffer...

Please let me know if I can do anything else!

Thanks!

Mark


Yeah 10 is the trend buffer, only thing I can think of is if you are testing using a 4 hour step pdf on a 1 hour chart don't know for sure but don't think it's very accurate testing mtf on the strategy tester, that's just what I've heard never really tried it.


Re: Step Indicators for MT4

#416
As well, I just did another test with "step one more average 2.3 mtf" and it worked fine in both H4 and H1 timeframes, always matched.
stepOne.png

mrtools wrote:
Wed Dec 30, 2020 5:27 am
mwaschkowski wrote:
Wed Dec 30, 2020 4:33 am
Hi MrTools,

Happy Holidays!

I did some other testing over the holidays and created a MTF test case, please find attached. I'm simply drawing an arrow when step pdfma is going up or down. I found a few cases where the arrow is pointing the opposite direction of the indicator value, like so:

pdfma1.png

The code (full source attached) is just:

Code: Select all

      //10 buffer: 1 = up, -1 = down
      string stepperName = "step pdfma (mtf + alerts + arrows)"; 
      double stepperDirVal = iCustom(NULL,0,stepperName, PERIOD_H4, 10, i);
      
      if(stepperDirVal == 1) {
         drawArrow(drawPrefix , 1, 200, 233, clrBlue, "", i,3);
      } else if(stepperDirVal == -1) {
         drawArrow(drawPrefix, -1, 200, 234, clrRed, "", i,3);
      }
I'm testing during the H1 timeframe.

Here are a couple of more examples:

pdfma2.png

pdfma3.png

The vast majority of the time its working great but I'm coding an EA so this keeps coming up.

If I'm using the wrong buffer, my apologies, it looks to me like 10 is the Up/Down buffer...

Please let me know if I can do anything else!

Thanks!

Mark


Yeah 10 is the trend buffer, only thing I can think of is if you are testing using a 4 hour step pdf on a 1 hour chart don't know for sure but don't think it's very accurate testing mtf on the strategy tester, that's just what I've heard never really tried it.
TestStepper.mq4
(6.3 KiB) Downloaded 110 times
step one more average 2.3 mtf.mq4
(21.51 KiB) Downloaded 125 times

Re: Step Indicators for MT4

#417
mwaschkowski wrote:
Wed Dec 30, 2020 7:14 am
OK, interesting. I switched to the 4 hour chart to test with to see if that made a difference, but it didn't, same (similar) results:

pdfma4.png

Thanks,

Mark

Edit: PS - please let me know if there are other scenarios I should test or anything else I can do!
mrtools wrote:
Wed Dec 30, 2020 5:27 am


Yeah 10 is the trend buffer, only thing I can think of is if you are testing using a 4 hour step pdf on a 1 hour chart don't know for sure but don't think it's very accurate testing mtf on the strategy tester, that's just what I've heard never really tried it.
Ok will work on recoding it.

Re: Step Indicators for MT4

#418
mwaschkowski wrote:
Wed Dec 30, 2020 7:32 am
As well, I just did another test with "step one more average 2.3 mtf" and it worked fine in both H4 and H1 timeframes, always matched.

stepOne.png


mrtools wrote:
Wed Dec 30, 2020 5:27 am


Yeah 10 is the trend buffer, only thing I can think of is if you are testing using a 4 hour step pdf on a 1 hour chart don't know for sure but don't think it's very accurate testing mtf on the strategy tester, that's just what I've heard never really tried it.
When you get a chance could you check this one, the repainting issue should be solved, Thanks!
step - pdfma (mtf + alerts + arrows).ex4
(58.93 KiB) Downloaded 182 times
EURUSDM15.png

Re: Step Indicators for MT4

#419
Hi MrTools,

Happy Holidays.

I just tested your update its almost there. It fixed the two issues I noticed so I went and checked the last 6 months. I found two other issues, not sure if they were there previously or not.

Testing on the H1 TF with default parameters for the indicator except that I changed the TF to 4hr.

Nov 24, 2020
stepPdfTest2.png
Aug 7, 2020
stepPdfTest2.png
Please let me know if there is anything else I can do!

Thank you,

Mark
mrtools wrote:
Thu Dec 31, 2020 5:34 am
mwaschkowski wrote:
Wed Dec 30, 2020 7:32 am
As well, I just did another test with "step one more average 2.3 mtf" and it worked fine in both H4 and H1 timeframes, always matched.

stepOne.png



When you get a chance could you check this one, the repainting issue should be solved, Thanks!
stepPdfTest2b.png


  1. Similar Topics

    1. need help with Step MA V7

      0 Replies 2190 Views

      by ionone, Wed May 08, 2019 10:45 pm in MT5 Indicators

      0 Replies
      2190 Views
    2. MT5 Step indicator fix

      0 Replies 886 Views

      by KwTrader, Mon Jan 18, 2021 8:06 pm in MT5 Indicators

      0 Replies
      886 Views

Return to “MT4 Indicators”