Nonlagging Tools - page 45

 

Non-lag ma envelopes updated for new metatrader 4 : nonlag_envelope_nmc.mq4

Originally it was posted here : https://www.mql5.com/en/forum/general

 

Somebody asked me if there is a simple nonlag ma. Here it is : one buffer used, one single line of code in a loop. Can not be simpler than this : _nonlag_ma.mq4

Files:
nlma.gif  62 kb
 

Dear Mladen!

Why Nonlag MA simple behaves? (Depending on the parameter "Nlm period" - such "failures lines" appear sooner or later on the history)

Is that possible to fix?

Files:
nonlag_wtf.png  41 kb
 
Igorrisimo:
Dear Mladen!

Why Nonlag MA simple behaves? (Depending on the parameter "Nlm period" - such "failures lines" appear sooner or later on the history)

Is that possible to fix?

Use the one from here : https://www.mql5.com/en/forum/184052

Original non lag ma does what you have on chart till it gets enough bars (it is to EMA type averages in that case - and you zoomed out the data and made the non lag ma period very long in your example so on the oldest bars it does so). The one from the code snippets does not do that - that is a different one - here is an example of a nlma period 250 using the example from the code snippets showing oldest data

Files:
nlma_250.gif  77 kb
 

Non lag ma with color changes on slope change, percent filter and multi time frame using the new way of calculating nlma : nonlag_ma_nrp_3_amp_mtf_nmc.mq4

 

NonLag ma bull bear (multi time frame with arrows and alerts) : nonlag_bull_bear_mtfalertsamparrows_nmc.mq4

Originally it was posted here : https://www.mql5.com/en/forum/general

PS: already a new way of NonLag ma calculation used in this one too

 
engula:
hi mrtools, thanks for this indi. could you pls add an arrow in the same subwindow when the 2 lines cross and the bar is closed (up for bull and down for bear)? many thanks in advance.

Hi Engula,

Since the crosses are always up made both arrows pointing up just bullish or bearish colors.

Updated version posted here : https://www.mql5.com/en/forum/general

 

NonLag ma with percent filter and shift using the new way of calculation : nonlag_ma_nrp_2_nmc.mq4

Files:
 

NonLagMA bars using new way of non lag ma calculation : nonlag_ma_bars_2.mq4

Files:
 

Hi Mladen,

As usual thanks for all you do for the community

I try to understand how the nonlagma is created to code it on Prorealtime for my other community

The code you post is perhaps the simpliest but it's still complicated for me. Do you have the same in Easy language who is sometimes more "easy" to understand, or the source of the nonlagma to understand how it was created

Thanks for your help in coding, and have a nice night

Zilliq

mladen:
Somebody asked me if there is a simple nonlag ma. Here it is : one buffer used, one single line of code in a loop. Can not be simpler than this : _nonlag_ma.mq4