Hello I am rockzz who is engineering IT graduated but don't know how to code. So I tired Google Bard and ChatGPT for codings and I found a one-minute timeframe strategy which is profitable +10% or -10% every month without any manual trading.
See I have no super computer to do the backtest of the Automatic Trading Made Simple EA. I have Windows 7 laptop 32-bit and thus I can't able to do properly backtest this EA very well. I need your help guys regarding backtest report because it's too helpful for all of them.
All credit goes to PipEasy (Graeme) because I got this idea from his thread and I'm very thankful to them.
Ok..Here is the strategy behind this Expert Advisor.
The strategy behind this code is to buy when the price closes above the open price and the 200-period EMA is also above the price. This indicates that the market is in an uptrend and there is a good chance that the price will continue to rise. The sell trade conditions are met when the price closes below the open price and the 200-period EMA is also below the price. This indicates that the market is in a downtrend and there is a good chance that the price will continue to fall.
The take profit and stop loss levels are set at 100 and 500 pips, respectively. This means that the trade will be automatically closed if the price moves in the desired direction by 100 or 500 pips.
The code also checks to see if there are any open trades before placing a new trade. This is to prevent the user from placing multiple trades at the same time.
Here is a step-by-step breakdown of the strategy:
See I have no super computer to do the backtest of the Automatic Trading Made Simple EA. I have Windows 7 laptop 32-bit and thus I can't able to do properly backtest this EA very well. I need your help guys regarding backtest report because it's too helpful for all of them.
All credit goes to PipEasy (Graeme) because I got this idea from his thread and I'm very thankful to them.
Ok..Here is the strategy behind this Expert Advisor.
The strategy behind this code is to buy when the price closes above the open price and the 200-period EMA is also above the price. This indicates that the market is in an uptrend and there is a good chance that the price will continue to rise. The sell trade conditions are met when the price closes below the open price and the 200-period EMA is also below the price. This indicates that the market is in a downtrend and there is a good chance that the price will continue to fall.
The take profit and stop loss levels are set at 100 and 500 pips, respectively. This means that the trade will be automatically closed if the price moves in the desired direction by 100 or 500 pips.
The code also checks to see if there are any open trades before placing a new trade. This is to prevent the user from placing multiple trades at the same time.
Here is a step-by-step breakdown of the strategy:
- Check if there are any open trades.
- Calculate the 200-period EMA.
- If the price closes above the open price and the 200-period EMA is also above the price, place a buy order.
- If the price closes below the open price and the 200-period EMA is also below the price, place a sell order.
- Set the take profit and stop loss levels.
This is a simple strategy that can be used to trade the forex market. However, it is important to remember that no trading strategy is perfect and there is always a risk of losing money.
I prefer default settings because while I'm backtesting with the default settings which is good so far.
I will attach the mql4 and ex4 file here. Developers are welcome to modify this code for better results. Love your ForexFactory.com
Attached File(s)
Automatic Trading Made Simple EA.ex4
8 KB
|
412 downloads
Automatic Trading Made Simple EA.mq4
1 KB
|
550 downloads