Nonlagging Tools

Igor Durkin
8104
Igor Durkin  

Hi,

In this thread I wish to represent the new trading tools which based on NonLagging Moving Average( NonLagMA ).

Some theory:

Some time ago I found that coefficent in the formula of FATL and SATL (so named Digital Filters ) are described by the formula of a fading sinusoid.

Then I've developed formula for so named NonLagging Moving Average on the basis of Linear Weighted MA.

Now you can download 2 versions of this MA:

1st - simple NonLagMA (v3);

2st - advanced(v4) with filter(value in pips) and color mode.

Length=8 - correspond FATL

Length=34 - SATL

Also you can compare this MA with JMA and HMA.

I wait for your comments.

In the TrendLaboratory you can find these tool in EL code.

Regards,

Igor

Files:
Sergey Golubev
Moderator
121523
Sergey Golubev  

It's very nice tool. I am trying to use it with asctrend thread for m30 timeframe.

increase
1199
increase  

Is v4 supposed to change colour with the trend, I only get yellow?

alp
195
alp  

Hi Igor,

your MAs are in fact non lagging. However it won't make things better.

Like any self-adaptive Mas it redraws color and makes the previous signal void.

Put it on M1 chart and take a look.

History looks nice then

alp

PipTrip
192
PipTrip  

Interesting. When I use the v3 on a 30 M chart with a 50 value, it closely follows my 13 SMA already plotted on the chart. Any ideas?

Igor Durkin
8104
Igor Durkin  
Pip Trip:
Interesting. When I use the v3 on a 30 M chart with a 50 value, it closely follows my 13 SMA already plotted on the chart. Any ideas?

Please attach JMA on the same chart. It's closely too

Sergey Golubev
Moderator
121523
Sergey Golubev  
alp:
Hi Igor,

your MAs are in fact non lagging. However it won't make things better.

Like any self-adaptive Mas it redraws color and makes the previous signal void.

Put it on M1 chart and take a look.

History looks nice then

alp

No. I checked. It is not painting the past.

May be I did not have a case ...

But i attached this indicator to M1 and it is not painting.

For me so it is usefull.

And digital filters are very usefull (i know that you don't like them).

Files:
gbpchf_m1.gif  19 kb
PipTrip
192
PipTrip  
igorad:
Please attach JMA on the same chart. It's closely too

Oh. Now I know what's going on. I was thinking in terms of the standard MA's trying to match them with this new one for a better visual. Gotcha. Thanks!

Sergey Golubev
Moderator
121523
Sergey Golubev  

Igorad,

As I understand yellow color is for reversal. Right?

How to make this color not for one bar, for 3 or 5 for example.

Usually the price is not reversing for one bar. It may be 5 or even 10 bars. Look at the image.

Because it may be additional filter means 'not to trade during the price reversing'.

Files:
reversing.gif  27 kb
Sergey Golubev
Moderator
121523
Sergey Golubev  

Look at here https://www.mql5.com/en/forum/173249/page22

Color = 1;

ColorBarBack = 0.

Sergey Golubev
Moderator
121523
Sergey Golubev  

May be it was misunderstanding

but I wanted to say that this indicator is not painting the past and is not re-painting the color.

But it should be better to have yellow zone (to act as additional filter) instead of one bar yellow color.