Simple Cross
Simple Cross
The SimpleCross is an Expert Advisor (EA) for MetaTrader 4, built around a straightforward crossover strategy using two key indicators. This EA automates trading decisions based on crossovers between the Relative Strength Index (RSI) and fast/slow Exponential Moving Averages (EMA).
Key Features:
Input Parameters:
- stopLoss: Defines the stop loss level in pips.
- trailingStop: Sets the trailing stop level in pips.
- takeProfit: Specifies the take profit level in pips.
- riskPercentage: Determines the risk percentage per trade.
- tradingHourStart and tradingHourEnd: Define the trading hours in a 24-hour format.
- useRiskPercentage: If enabled, the EA calculates the lot size based on the risk percentage; otherwise, it uses a fixed lot size.
- fixedLotSize: Specifies the fixed lot size if useRiskPercentage is disabled.
Trading Conditions:
- Buy Condition: Executes a buy order when the RSI crosses below the oversold level or when the fast EMA crosses above the slow EMA. The EA calculates the entry price, stop loss, and take profit levels, determines the appropriate lot size, and ensures it is within the allowable range before placing the order.
- Sell Condition: Executes a sell order when the RSI crosses above the overbought level or when the fast EMA crosses below the slow EMA. The same calculation and validation process as the buy condition is applied.
Order Execution and Error Handling: The EA employs the OrderSend function to place trades, with built-in error handling to address any issues that may arise during order execution.
This EA relies on the RSI and EMA indicators to guide trading decisions, particularly in overbought and oversold market conditions. Users can customize various input parameters to fit their trading preferences. The risk management features allow for the selection of either a fixed or dynamic lot size based on the specified risk percentage.
Please Note: This is an automated EA designed for use with RSI and fast/slow EMA indicators, including take profit, stop loss, and trailing stop loss features. It should be integrated into a broader trading strategy. No settings or backtesting results are provided, which is reflected in the affordable pricing.
Share
Couldn't load pickup availability
