Dear traders:
I found this EA written on the early days of August by a fellow trader on another site. However, the creator never responded back to any answers made by other people and first shared it with the intent to make it profitable.
ALL CREDIT GOES TO FXNGOLD
This is the original post. I have found some bugs though that maybe someone can come up with the answer to:
1.- The code says something about a "Signal Close Order" but apparently it isn't working. Sometimes trades opened can last many hours without hitting TP/SL and misses on other trading opportunities.
a) It would be awesome that if the EA detects a change in signal, it closes current open order and opens a new order in direction of the new signal.
2.- The trailing stop does not seem to be working.
3.- It has a function called "Each tick mode"; I ran the EA with both this option set to true or false and the results were the same, so not sure what this function allows.
I am testing it in EU, GU, UC, & UJ with original settings (TP 5 pips, SL 50 pips, TS 3 pips) and it seems to do a great job. It has almost 90% winners, however due to the high SL, it takes 10 wins to overcome a loss which could be greater reduced "IF" the EA closed and changed a trade as soon as an opposite signal is shown.
Don't forget to use Magic Number (1 for each currency) while testing.
Hope we can all come to a solution for this EA which seems to have potential.
Enjoy!
I found this EA written on the early days of August by a fellow trader on another site. However, the creator never responded back to any answers made by other people and first shared it with the intent to make it profitable.
ALL CREDIT GOES TO FXNGOLD
QuoteDislikedDear all traders and programers,
I've writen a simple EA based on price action only, with rules:
Buy:
- Current candle closes higher than highs of 2 candles before (candle high shift 1 and candle high shift 2)
- Candle close shift 1 <= Candle high shift 2
Sell:
- Current candle closes lower than lows of 2 candles before (candle low shift 1 and candle low shift 2)
- Candle close shift 1 .>= Candle low shift 2
I din't use any indicator, you see and the ea is so simple;
Please review the EA and help me.
Thank you so much!
This is the original post. I have found some bugs though that maybe someone can come up with the answer to:
1.- The code says something about a "Signal Close Order" but apparently it isn't working. Sometimes trades opened can last many hours without hitting TP/SL and misses on other trading opportunities.
a) It would be awesome that if the EA detects a change in signal, it closes current open order and opens a new order in direction of the new signal.
2.- The trailing stop does not seem to be working.
3.- It has a function called "Each tick mode"; I ran the EA with both this option set to true or false and the results were the same, so not sure what this function allows.
I am testing it in EU, GU, UC, & UJ with original settings (TP 5 pips, SL 50 pips, TS 3 pips) and it seems to do a great job. It has almost 90% winners, however due to the high SL, it takes 10 wins to overcome a loss which could be greater reduced "IF" the EA closed and changed a trade as soon as an opposite signal is shown.
Don't forget to use Magic Number (1 for each currency) while testing.
Hope we can all come to a solution for this EA which seems to have potential.
Enjoy!
Attached File(s)
PriceactionEA.mq4
10 KB
|
4,466 downloads