I have an EA that opens trades when certain conditions are met in a
M5 chart. I would like to include a trend filter in the EA, so it will only
place trades in the direction of the trend selected.
The filter should be called Trend Locking. It has to calculate the
trend direction in all Timeframes M1, M5, M15, M30, 1H, 4H, D1, W1 and MN. You have
to be able to select the Timeframes you want to use as a filter (can be no one
or multiple) in the options of the EA. The EA can then only place trades in the
same direction as the trend of the Time frames selected. Examples:
M1 trend: Stationary
M5 trend: Falling
M15 trend: Rising
M30 trend: Falling
1H trend: Rising
4H trend: Rising
D1 trend: Rising
W1 trend: Rising
MN trend: Falling
Trend Locking selected 4H and D1. EA must place only LONG trades.
Trend Locking selected M30 and M5. EA must place only SHORT trades.
Trend Locking selected M15 and M30. EA CANNOT place ANY trade
as trend in M15 and M30 are different.
Trend Locking selected M1. EA CANNOT
place ANY trade as trend in M1 is
neither Falling or Rising.
Trend Locking selected M1 and M5. EA CANNOT place ANY trade
as trend in M1 and M5 are different.
Trend Locking selected 1H, 4H and D1. EA must place only LONG trades.
To calculate the trend direction, we will use a Simple Moving
Average of the price of the asset and the Average Directional Movement Index (ADX).
There must be the option to select the period of the SMA as well as the one for
the ADX in the EA options.
The Trend will be Falling
if the SMA ROC (Rate Of Change) is <0.00 and the ADX ROC is >0.00 (ADX
positive slope)
The Trend will be Rising
if the SMA ROC is >0.00 and the ADX ROC is >0.00 (ADX
positive slope)
All the rest of combinations of SMA ROC and ADX ROC will be
considered as Stationary.
ROC Formula: (Most recent closing price - Closing price 1 period ago) / Closing
price 1 period ago
There must be the option to deactivate the ADX filter and calculate
the trend direction only with the SMA conditions, regardless of the ADX ROC
value.
Похожие заказы
: Hello, I am looking for an experienced MQL4 developer to create a custom Binary Options Trading Bot for MetaTrader 4 (MT4). The bot needs to automate trades based on clear conditions and must have a reliable integration feature. I would like the bot to work smoothly with Telegram so that it can either receive signals from a channel/group or send instant trade notifications directly to my Telegram. The code should
I am looking for an experienced MQL4 developer to create an Expert Advisor (EA) based on signals from a custom indicator. Requirements: 1. The EA must use a single custom indicator that draws buy and sell arrows directly on the chart. 2. When a buy arrow appears, the EA should wait until the current candle closes. If the arrow is still present after the candle closes, it should open a BUY trade. 3
//+------------------------------------------------------------------+ //| ThreeBullEMA10EA | //| Strategy: 3 Bullish + EMA10 Break | //+------------------------------------------------------------------+ #property strict extern double LotSize = 0.01; extern int Slippage = 3; extern int MagicNumber = 12345; extern int EMA_Period = 10;
I have an expert advisor's investor login. I want you to study it and make me the exact same EA. There should be absolutely no differences or mistakes. You should have great observation skills for this aswell
I am looking for a developer to create an Expert Advisor (EA) for MetaTrader 5. Requirements: Trade XAUUSD (Gold) Automatically open and close trades Include Stop Loss and Take Profit settings Adjustable lot size and risk percentage Work on MT5 Allow me to change settings from the EA inputs Include backtesting support Source code preferred
> izz: #property strict input double LotSize = 0.01; input int BuyStopDistancePips = 50; input int SellStopDistancePips = 50; input int TrailingStartPips = 30; input int TrailingDistancePips = 30; input int MaxPositions = 3; input double StopLossPips = 0; input int MaxSpreadPoints = 300; input ulong MagicNumber = 20260702; input double DailyLossLimitUSD = 50; double PipValue; int digits; int OnInit() { digits =
Technical Description of the EA The Ghost Sovereign engine is a trend-following breakout system optimized for XAUUSD (Gold) . Its logic operates through several distinct layers: Trend Filtering: It utilizes a 144-period Exponential Moving Average (EMA) to establish the primary institutional trend direction . Momentum Entry: The EA executes trades when the closing price of the previous bar confirms a trend breakout
I have build a trading view indicator which monitors trades. The strategy is based on OB, it buys and sells bullish and bearish OB. Also valid re enters on the retest of orderblocks only if TP is hit the first time. I’m looking for someone to develop me a EA which works on the same logic and buys and sells of the same logic as my Indicator. I currently have my indicator firing signals into a telegram channel so I
Order Block Forms / Price Touches │ ▼ Break Touch Candle High/Low │ ▼ Strength Alignment or BR Valid │ ▼ No Opposing OB within X Pips │ ▼ HL/LH Fractal OR Two-Candle Break │ ▼ ENTRY │ ▼ ──────── Trade Management ──────── │ ├─ Opposing OB Breached │ AND │ Opposite Strength Alignment or BR │ └──► Loss Exit │ ├─ Opposing OB Reached │
I am looking for an experienced MQL5 developer to code a simple grid trading strategy into an Expert Advisor. The strategy logic is already defined, and I am looking for someone with strong MQL5 development experience to implement it accurately and efficiently. If you are interested and have relevant experience, please get in touch so we can discuss the project details