I am working on some EAs I coded myself, I would like some feedback on this result and possibly suggestions on how to improve it
Basic strategy
Look for the previous x bars and take the highest and lowest prices, trade is open when the current price breaks out the previous high (long) or previous low (short), SL is the other extreme so low when long, high when short, TP is twice the distance open price - SL, however there is a trailing stop.
Order is closed if SL is hit OR if the order is in profit and there is a candle that goes against the open position.
Other settings:
avoid trading irrelevant session, for instance EURUSD is not traded during the Asian session
filter with a moving average of the ATR to see when volatility increases
filter long/short depending on a MACD 5,34
Following the results of some testing
EURUSD January 2014 - May 2015
I know the modelling quality is low but I am still in the first stages
seems working well on EURUSD 1H
high DD is due to 5% max risk per trade, that is the parameter that gave best profit, lower risk equals lower DD
Any suggestion on how to
find another condition to close profitable trades, often trades are close when they could still surf the trend
You need to address modelling quality bro. And you’re opening trades in opposite directions. That eats away valuable pips.
Keep working cause you might be onto something
Thanks for the suggestions, I am trying to download historical data to improve the modelling quality, in regards to the opposite trades that’s easy, I will change to close open orders in the opposite when ordering
Considering I started studying Forex in January I am quite happy , I tried several strategies, time frames, I learnt how to program in MQL4, I know there is still a lot of work ahead but actually I like this stuff