![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi igorad,
thanks!
The indicator gives signals, that is o.k.!
My problem is, that the EA the indicator always again load and again deletes. Thereby can the EA no open order or close.
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: loaded successfully
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: loaded successfully
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: loaded successfully
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: removed
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: loaded successfully
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: removed
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: loaded successfully
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: removed
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: removed
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: removed
Do you have an idea, which I can make?
Still another question :
can make the following with the indicator
if (NonLagMA + (5*Point) < Ask) then...
Regards
derumuro
You should use something like this:
trend_NL = iCustom (symbol (),0,"NonLagMA_v7.1",Price,Length,Displace,PctFilter,Color,ColorBarBack,Deviation,0,0,3,1);
prevtrend_NL = iCustom (symbol (),0,"NonLagMA_v7.1",Price,Length,Displace,PctFilter,Color,ColorBarBack,Deviation,0,0,3,2);
if(trend_NL==1 && prevtrend_NL<0) return (long);
if(trend_NL==-1 && prevtrend_NL>0)return(short);
Also try to use some prints for trend_NL to debug.Hi GoingForward
Sorry, I can not help you. I am also not a coder.![](https://c.mql5.com/forextsd/smiles/cry_smile.png)
Regards
derumuro
Hi Derumuro.
I am also interested in an EA based on NonLagMa_v7.1 - So I hope that someone can help us put one together.
Meanwhile, I have added an email alert to the indicator for those who wish to use it with higher TFs. It is possible to forward the email to your cell phone and not be glued to the monitor.
Hope it is useful and I hope it meets Igorad's approval. After all, I am not a coder so pls don't ask me to add any more bells/whistles![](https://c.mql5.com/forextsd/smiles/regular_smile.png)
Cheers
++++++So your loading the EA AND the indicator, correct? And it's the indicator below that's getting removed, correct?
If that is the case, don't load indicator. Just load the EA.
Hi igorad,
thanks!
The indicator gives signals, that is o.k.!
My problem is, that the EA the indicator always again load and again deletes. Thereby can the EA no open order or close.
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: loaded successfully
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: loaded successfully
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: loaded successfully
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: removed
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: loaded successfully
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: removed
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: loaded successfully
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: removed
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: removed
19:13:31 2004.12.08 03:01 NonLagMA_v7.1 EURUSD,H1: removed
Do you have an idea, which I can make?
Still another question :
can make the following with the indicator
if (NonLagMA + (5*Point) < Ask) then...
Regards
derumuroSo your loading the EA AND the indicator, correct? And it's the indicator below that's getting removed, correct? If that is the case, don't load indicator. Just load the EA.
This is from the log file of the EA.
I have only loaded the EA (test with Strategietester: bouncingPipEA_mpowerv42.mq4 and an EA from "Expert Advisor Builder for meta Trader 4").
Revision to NonLagMA_v7.1
Hi
Sorry guys, I had a typo in the email alert I added. It has not been corrected.
Enjoy...
If only I could get my fingers to work
Ooops....Can you believe this? Another typo (above).
I meant to say that the error has NOW been corrected. Above version is fine.
Ooops....Can you believe this? Another typo (above).
I meant to say that the error has NOW been corrected. Above version is fine.Thank you GoingForward...![](https://c.mql5.com/forextsd/smiles/shades_smile.png)
Igorad, you are genius
I never was much interested in MAs because of the whipsaws they give in raging markets. But now I am playing with 4 of your nonlags putting one lot on each one and opening and closing according to color (except the shortest one which I close or open as soon as it gets above below the MA).
Man, you are a genius!
Is there anything simplier than that?
I attached the chart to enjoy...
Thanks so much for sharing your hard work (I believe you can easily make an EA of it...![](https://c.mql5.com/forextsd/smiles/smile.png)
Lietuve
I never was much interested in MAs because of the whipsaws they give in raging markets. But now I am playing with 4 of your nonlags putting one lot on each one and opening and closing according to color (except the shortest one which I close or open as soon as it gets above below the MA).
Man, you are a genius!
Is there anything simplier than that?
I attached the chart to enjoy...
Thanks so much for sharing your hard work (I believe you can easily make an EA of it...![](https://c.mql5.com/forextsd/smiles/smile.png)
LietuveLietuve.
I second your statement. Personally, I feel that with the right tools is can indeed be simple. Looks like you are using all NonLagMa with different lengths. In this chart I am using a NonLagMa (with just one color) and the other is a MegaTrend. Below is a NonLagMa histogram I created and that gives me the color changes. Whereas, in the chart I look for crossings which are confirmed by other indies as well. Works for me!
Good going...
(p.s. What lengths are you using in each MA on that particular chart?)
What lengths do you guys use? How do you deal with range using NonLagMa?