Hi people, I have made a simple EA which i will be developing here on this thread. For now i have the basic logic with experimental inputs.
I am learning mql5 so this project will help me to improve my skill.
The logic:
I am learning mql5 so this project will help me to improve my skill.
The logic:
- BUY when the price is X pips above the MA
- Stops at MA
- Take Profits at 2*X pips
- This is doing in confidence that price respects a MA during a trend.
vice-versa for SELL
So I am trying to hit a 100% 1:2 on winning trades. (or 1:X RR ratio)
My win rates are very low because i haven't input a ranging market filter.
My goal is to create a logic with good edge in terms of RR and win rate.
Things to do:
- Add a filter for ranging markets
- Optimize for different input parameters (Different MA length, time frame, RR size etc..)
- Risk manager (lot size manager)
The code is attached below, feel free to play with it. Although it is not a full EA for live markets until the range filter is added.
I look forward to get some ideas and will be adding some more abilities to this EA.
=anjanbabu
Attached File(s)
RR_MovingAverage.mq5
3 KB
|
136 downloads
Always strip things to the basic form & then build a case upwards