Elite Trading Software
SimpleTrend
SimpleTrend
Couldn't load pickup availability
The SimpleTrend is an Expert Advisor (EA) for MetaTrader 4.
This EA is essentially a trend-following strategy that aims to capture potential trends based on the ADX indicator. It executes trades when the market is showing signs of a strengthening trend, as indicated by the ADX crossing a specified threshold.
Here's a breakdown of what this EA software does:
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
andtradingHourEnd
: Set the trading hours in 24-hour format. -
useRiskPercentage
: If true, the EA calculates lot size based on risk percentage; otherwise, it uses a fixed lot size. -
fixedLotSize
: Specifies the fixed lot size ifuse RiskPercentage
is false. Buy Condition:
- If previous ADX crosses below threshold.
- Calculates entry price, stop loss price, and take profit price.
- Determines the lot size based on risk percentage or fixed lot size.
- Checks if the calculated lot size is within the allowable range.
-
Places a buy order using
OrderSend
function and prints success or error messages.
Sell Condition:
- If previous ADX crosses above threshold.
- Similar to the buy condition, it calculates entry price, stop loss price, take profit price, lot size, and checks the allowable range.
-
Places a sell order using
OrderSend
function and prints success or error messages.
Order Execution and Error Handling:
The EA uses the OrderSend
function to execute buy or sell orders and checks for any errors during order placement.
This EA relies on the ADX indicator to make trading decisions based on overbought and oversold conditions. Users can customize input parameters according to their trading preferences. Additionally, risk management is incorporated by allowing users to choose between a fixed lot size or a dynamic lot size based on a specified risk percentage.
PLEASE NOTE THIS IS JUST AN AUTOMATED EA FOR USING ADX WITH TP AND SL AND TRAILING STOP LOSS, IT SHOULD BE USED AS PART OF YOUR OWN STRATEGY. WE DO NOT SUPPLY ANY SETTINGS OR BACK TEST. THIS IS REFLECTED IN THE CHEAP PRICE.
Share
![SimpleTrend](http://elitetradingsoftware.com/cdn/shop/files/photo_1_2024-01-07_18-46-38.jpg?v=1704653254&width=1445)