Hey everybody,
as promised. Here is the EA i did on this
indicator 
.
But i said too, that i dont know if it is going to work. I tested it on EURUSD H4 and there was no profit to make with it on backtesting from 1/2009 - 3/2009.
I tried alot of things, and i'm at the end with my idears.
If somebody has another idea how to manage the trades, feel free to give me more idears.
Here ist the v0.5, so thats the 5th version. And 0, because it is not profitable at the moment.
I tried using 2 nonLagMA. One for open, and the other for closing positions. But still it was not good enough. The best i had with one version was through january 20% and than loosing though februar and march loosing again to a balance of 90%.
The best thing was to use 2 nonLagMA.
One with length = 20, to open orders and another with length=30 and Displace=5 to close orders. I removed this idea, because it was not working like i would. But i'll try to get back to this one again.
I was not able to try other timeframes, i didnt have time. Feel free to test it with diffrent settings on other timeframes.
Short 
explanation:
//---- input parameters
extern int Price = 0; //Apply to Price(0-Close;1-Open;2-High;3-Low;4-Median price;5-Typical price;6-Weighted Close)
extern int Length = 20; //Period of NonLagMA
extern int Displace = 0; //DispLace or Shift
extern double PctFilter = 0; //Dynamic filter in decimal
extern int Color = 1; //Switch of Color mode (1-color)
extern int ColorBarBack = 1; //Bar back for color mode
extern double Deviation = 0; //Up/down deviation
extern int AlertMode = 1; //Sound Alert switch (0-off,1-on)
extern int WarningMode = 0; //Sound Warning switch(0-off,1-on) The setting above are the same as the settings for the Indicator
itself. extern double lotsize = 0.05;//Lotsize to trade with
extern int sl
= 100; //Stoploss
extern int trendpips = 30; //Trendchange in Pips trendpips... if the trend
changes and the current bid ishiger than the previous high on a downtrend or lower as the previous low on a uptrend with xx pips, than take profit.
extern int tp
= 80; // Takeprofit on reversal sign by Priceaction tp... if trend
changes and the profit is bigger than xx Pips, than we take profit. if not, we dont. extern int pipdiffrence = 20; // Pipdiffrence to avoid trades near the MA
extern int wait = 60; //Wait xx - minutes for next trade in same direction!
extern int conformation = 5; // Amount of pips, waiting for conformation of the trend
extern double pplotsize = 0.03; //Lotsize for Partial Profit
extern int ppdiffrence = 5; //Diffrence between High/Low and the current Bid/Ask to take PP in Pips ppdiffrence... same as trendpips, just for the pp. To take profit faster extern int ppfrom = 75; //Considering taking profit on candle Signals from x Pips ppfrom... same as tp
, just for the Partialprofit
extern int pptake = 150; //Take Profit, imidiatly pptake ... If we reach xx pips, take the profit with Partial lotsize If you have any questions, feel free to ask. Maybe somebody has a better idea or another one. Try diffrent settings on diffrent timeframes. The above was tested on 4h chart EURUSD. Maybe other timeframes or other currencys are better. I dont know at the moment. EA: nonLagEAv0.5.mq4 Indicator: NonLagMA_forEA.mq4 DONT PUT THE NonLagMA_forEA.mq4 - Indicator
onto your chart. You will kill the signals itgives to the EA. Use the original NonLagMAv7.1 i posted, if you want the indicator
on your chart. Have some fun with the EA. Tell me if you have some other idears.