Moving Average Studies
Hey traders! Today, I want to dive into a fantastic EA designed specifically for exploring the ins and outs of trade and money management using a straightforward Moving Average system. This tool is perfect for those of you looking to automate your trading, as it switches between buying and selling based on MA signals.
With this EA, you can not only implement a Moving Average trading strategy but also play around with scaling in approaches. Whether you're keen on averaging up, averaging down, or doing a bit of both, this tool has got you covered. Plus, if you prefer to keep things simple, you can disable the automatic direction changes based on the Moving Average and stick to one directional bias for your trades.
There's plenty of flexibility when it comes to setting your stop loss and take profit levels, or you can opt to run without them altogether. The position size is dynamically adjusted as your account balance fluctuates, letting you decide how much of your balance to risk per trade. If your free equity dips below a certain percentage, the EA will pause new orders or can be set to close open positions. The versatility here means you can explore a variety of strategies within the same framework.
It’s important to note that this EA isn’t designed for hedging. If you find yourself trading against the bot’s positions, you might run into trouble. Manual adjustments during market swings or for portfolio exposure are very much part of the game. While this EA is built for rapid trade management testing and optimization, it’s also super handy to use with your own settings while trading.
As always, keep in mind that no profits are guaranteed with this program. It’s easy to set it up in a way that could lead to losses. Running it on a live account is a big decision, so I strongly recommend testing it out on a demo account first. If you come across any bugs, don’t hesitate to reach out—I’m here to help!
Settings

- Allowed Trade Direction: Choose whether the bot can buy, sell, or do both. It won’t make trades in both directions at once.
- Hedging Allowed: Enable this if you want to trade in both directions at the same time (make sure your broker supports it).
- Hidden TP/SL: Activate this to have the bot close trades when your take profit or stop loss is hit, without actually placing them. Use with caution on live accounts due to potential internet issues.
- Leverage Per Position: This determines how many micro lots (0.01 lot) to trade per 1000 units of your account balance. Keep in mind the value of 0.01 lot in your account's currency.
- Stop Loss Percent: You can disable this by setting it to zero. It manages the stop loss based on a percentage of your base currency.
- Trailing Stop Loss Percent: Optional setting to adjust your stop loss upwards to protect unrealized gains when averaging up is enabled.
- Take Profit Percent: Similar to the stop loss, but for setting a profit target. Disable by setting it to zero.
- Slippage: Sets the acceptable slippage for your orders.
- Minimum Free Equity Percent: Prevents new positions from opening if free equity would fall below this percentage.
- Close All At Minimum Free Equity Reached: Set to true if you want to close all positions when free equity hits the minimum you’ve defined.
- Average Up: Enable to add positions as the price moves in your favor.
- Average Down: Enable to add positions as the price moves against you.
- Averaging Step Size Percent: Controls the distance between positions when averaging. Set to a percentage, e.g., 3 to add a position when the price moves 3%.
- Averaging Down Step Multiplier: This multiplies the distance for averaging down, allowing for quicker net exposure growth when averaging up.
- Close All At MA Crossover: Set to true to close all positions when the Moving Average signal changes.
- MA Timeframe Previous: Choose the timeframe for the slow Moving Average.
- MA Timeframe Current: Choose the timeframe for the fast Moving Average.
- MA Period Previous Add: This adds to the period of the slow Moving Average.
- MA Period Current: The period of the fast Moving Average.
- MA Shift Previous: The shift for the slow Moving Average.
- MA Shift Current: The shift for the fast Moving Average.
- MA Method: Choose the calculation method for both MAs.
- MA Applied Price: The price applied for both MAs.
- Start Day: When you want to start trading during the week.
- End Day: When to stop trading for the week.
- Start Time: The time to kick off trading on your chosen start day.
- End Time: The time to wrap up trading on your chosen end day.
Testing and Optimization
When it comes to testing, this EA evaluates whether to take action at the start of a new bar. If you prefer frequent checks, use a 1-minute chart. For weekly checks, set it to a 1-week chart. Keep in mind that backtesting on 'every tick' isn’t effective since the EA only acts at the beginning of a bar. It’s best to stick with the open bars only option—it’ll speed things up significantly!
연관 포스트
- Maximize Your Trading Efficiency with AutoCloseOnProfitLoss EA for MetaTrader 5
- Unlock Your Trading Potential with the X Man EA for MetaTrader 4
- Mastering Auto TP and SL: Your Essential Trading Tools on MetaTrader 4
- Discover the No Nonsense Backtester: Your Ultimate Tool for MetaTrader 4
- Mastering Auto TP and SL: Boost Your Trading Strategy with MetaTrader 5