it seems the strategy also can be used in other smaller TF such as M15 or M30.
From what i can see it can produces more pips and minimal losses.
The rules i hv changed regard to SL:
There should be NO STOPLOSS, because the System could CLOSE trade automatically when the opposite cross occurs.
I am trying to code something. I am not a coder so it will take a time.
Look at the image attached.
Of course all the periods of EMAs will be selectable. And this Delta (21 points) will be selectable as well.
what is the purpose for 55
what the purpose for 55 EMA and it's 21 points there. i dont really get what it means for. Can you explain.
Here is the fiboEMA EA first version of mine which developed by my buddy in this forum. Asking for backtest and forward test as well from all you guys.
Look in the beginning of this thread. I am trying to code exact the system I posted last year: when 8 EMA is crossing 55 EMA for buy - buy. Opposite for sell. Close if 8 EMA is crossing 21 EMA.
Why 8, 21 and 55?
because it is Fibinacci numbers.
That is why it is fibo ema (or ema fibo).
We may use 34 as well.
thanks ND.. got it.
i'll be waiting to see your version of fiboEMA.
System which i described in the beginning of this thread is famous system. There was article about it. But it was developed not for MetaTrader.
If I am successful with my EA so we will have two systems and two EAs.
Better than nothing.
I added EMA channel (21 points on the both side of 55 EMA) just to have some filter.
I am testing it my in visual mode of Metatrader to be sure that everything is working well. Will post it tomorrow.
Then we may backtest yours and mine EAs (with 90%) just to find the right settings.
visual mode test
i will post my result based on my EA tomorrow.
we'll how and what can be improved.
as i got in mind the other site which describe about this system can say as a successfully system in trading...
i cant remember the site address.
Well. I finished coding.
It is my version attached.
I checked everything in visual mode of Metatrader during the backtesting attaching indicators and compare the trading with indicators crossing with different settings.
It works well.
Explanation of the settings:
It is magic number. It should be different for different pairs
(each pair should have its own magic number (anyone but not the same with others)
If we want to trade fixed lot size (always by o.1 lot or always by 1 lot size without MM) so change MaximumRisk to zero (0).
StopLoss = 100;[/CODE]
if StopLossMode = False so EA will close the order on the 8 EMA/21 EMA crossing (by default setting). If StopLossMode = True so EA will close the orders according to stop loss AND 8 EMA/21 EMA crossing.
TakeProfit = 100;[/CODE]
if TakeProfitMode = False so EA will close the order on the 8 EMA/21 EMA crossing (by default setting). If TakeProfitMode = True so EA will close the orders according to take profit value AND 8 EMA/21 EMA crossing.
[CODE]TrailingStopMode = False;
if TrailingStopMode = False so EA will close the order on the 8 EMA/21 EMA crossing (by default setting). If TrailingStopMode = True so EA will close the orders according to trailing stop value AND 8 EMA/21 EMA crossing.
Please note that trailing stop is working even if stop loss/take profit options are "false". It means: if TrailingStopMode = True but TakeProfitMode = False and StopLossMode = False so EA will use trailing stop even in this case.
All those functions are working separatedly from each other (TrailingStopMode, TakeProfitMode, StopLossMode).
[CODE]PARAMETERS_MM = "MONEY MANAGEMENT";
if MaximumRisk=0 so EA will use fixed lot size (lot size will always be exact equal "Lots"). If you are using MM function so it is necessary to set MaximumRisk value according to your deposit size (for EA to start open the order in "right" lot size). Try to backtest with different MaximumRisk value just for 5 minutes and you will understand what i mean. It is MM which Igorad is using in his EAs (i just took this code from him).
[CODE]PARAMETERS_INDICATOR_ONE = "Moving Average signal";
Usually we ae looking for this EMA with this period for crossing with main EMA for buy or sell.
[CODE]PARAMETERS_INDICATOR_TWO = "Moving Average main";
MainEMA_Period = 55;
And it is main EMA.
If Delta is above zero so it means that 8 EMA should cross (55 EMA + Delta) for buy. and 8 EMA is crossing (55 EMA minus Delta for sell). Delta is acting as a filter. I still don't not whether we need it or not. It is very easy to understand when we attach indicators to the chart:
8 EMA closed price, 55 EMA closed price and with "Levels" = Delta and minus Delta (see my image from previous posts).
[CODE]PARAMETERS_INDICATOR_THREE = "Moving Average for close";
It is EMA to close all the orders. When signal EMA is crossing this close EMA so the order will be closed.
If somebody finds some bug so don't ask. Just please fix it and post improved versions.
Tomorrow I will try to backtest this EA and EA by anazri.
backtest - visual mode
this statement is based on my version. still need some improvement.
i know what is the problem.. i will post it soon and we'll see how to solve it.
Hi ND. I like the idea of the filter. Looking at a quick month's worth of visuals, it appears that if we could initiate trades once the moving averages have moved away from each other, or left the "DNA" spiraling behind there might be some pips to grab? I'm still hoping on a master EA that will tell if market is trending or trading to turn on/off our different flavored EAs.
Will do some testing on this on as i'm also intreguied by CG's XP_EAs that are similar in that they are simple MA crosses.
: ) Thom
37% of modeling quality. Not enough.