Moving-Ichimoku-Trading
20 $
13 $
This Expert Advisor (EA) is a fully automated trading algorithm for MetaTrader 4 that uses a combination of the Ichimoku Kinko Hyo indicator and moving averages to analyze market conditions and make trading decisions. The EA opens buy or sell positions based on certain market conditions and manages those positions using dynamic risk management techniques such as stop-loss, take-profit, and trailing stops.
Moving Ichimoku Trading, Forex trading software
This Expert Advisor (EA) is a fully automated trading algorithm for MetaTrader 4, combining the Ichimoku Kinko Hyo indicator with Moving Averages to analyze market conditions and execute trades automatically. Below are the key features of the EA:
1. Trading Strategy
The EA uses a combination of the Ichimoku Kinko Hyo indicator and Moving Averages to detect market trends and execute trades:
- Buy Condition: The EA will open a buy trade when the market is in an uptrend, as indicated by the Tenkan-sen being above the Kijun-sen and other conditions such as price being above key moving averages and Ichimoku lines.
- Sell Condition: The EA will open a sell trade when the market is in a downtrend, indicated by the Tenkan-sen being below the Kijun-sen and price being below significant levels.
2. Risk Management
The EA includes several mechanisms for managing risk and ensuring trades are protected:
- Stop-Loss: Sets a price level at which the position will be closed if the market moves against the trade.
- Take-Profit: Sets a price level at which the position will be closed once a predefined profit is reached.
- Trailing Stop: Adjusts the stop-loss level as the trade moves in the trader’s favor, locking in profits while reducing risk.
3. Lot Size Calculation
The EA dynamically calculates the appropriate lot size based on the available account margin, ensuring that risk is controlled. This calculation adjusts the lot size according to the account's available margin and predefined percentages:
- Automatic Lot Size: When enabled, the EA calculates the lot size based on available margin and a percentage of the account’s free margin.
- Symbol-Specific Adjustments: For symbols like XAUUSD_o (Gold), the EA adjusts its behavior, including the trailing stop and lot size.
4. Trade Execution
The EA sends buy or sell orders based on market conditions:
- Market Order Execution: The EA sends market orders using the
OrderSend()
function once conditions are met for a trade. - Magic Number: A unique "Magic Number" is assigned to each trade to track and manage orders independently from manual or other automated trades.
- Account Margin Check: Before opening a position, the EA checks whether the account has enough free margin to execute the trade.
5. Trade Management
The EA includes functions to manage open trades:
- Closing Positions: Functions like
closeBuy()
andcloseSell()
are used to close open buy and sell positions when necessary based on market conditions. - Order Modification: The trailing stop mechanism ensures that the stop-loss level is dynamically adjusted as the price moves, protecting profits and reducing risk.
6. Symbol-Specific Adjustments
The EA includes the ability to adjust its parameters based on the symbol being traded. For example, for the XAUUSD_o (Gold) symbol:
- The EA increases the
TrailingStart
andTrailingStep
values to adapt to the volatility of gold. - It also adjusts the lot size to account for the unique characteristics of trading gold.
7. Efficiency
The EA checks market conditions only on new bars, optimizing performance and reducing unnecessary calculations. This ensures that the EA operates efficiently, without excessive CPU usage.
8. Customizable Parameters
- TakeProfit: Defines the target profit for each trade.
- StopLoss: Sets the maximum loss level for each trade.
- TrailingStart and TrailingStep: Define when and how the trailing stop will be applied.
- Lots: Specifies the initial lot size, but can be automatically calculated if SetAutoLot is enabled.
- SetAutoLot: When enabled, the EA calculates the optimal lot size based on available margin.
Backtesting Data | Include back test results |
---|---|
Customizable Parameters | Stop lots, take profit, Lots and ... |
Supported Pairs | EURUSD |
Money Management | Lot Size, Stop Loss, Take Profit |
Risk Management | Auto stop at high loss, Trailing Stop |
Strategy Type | Scalping,Trend Following, Grid |
Timeframes | M1 and M5 |
Custom Inputs | Lots, Trailing, Stop Loss, Take Profit, ECN |
Trading Hours | All Times |
Compatibility | MT4 |
Type | Expert |
Version | Lots, Trailing, Stop Loss, Take Profit, ECN |
Outputs | Automatic Buy/Sell |