Expert Advisor needed for MetaTrader4
System essentially looks for a large price movement,
followed by a retracement to an EMA(x) line where a Limit Order has now been placed.
The order direction – long or short – follows the direction of the original large
movement.
Following use of the EA for backtesting, it will be
necessary to finalize the EA to work on a real account, placing all of the
necessary checks, standard handling of simple errors (requotes, invalid stops,
etc).
EMA(x) and EMA(y) shown on 1hr
candlestick chart.
Rules of trade entry:
1.
When price diverges from EMA(x) by +
or – PIPS(xx)
on a 1hr chart, judged at the opening of the following 1hr bar (in order to
prevent EMA(x)
movement in real-time).
AND
When on the following 1hr candle there is at least PIPS(yy) gap between EMA(x) and the
Low (for going Long) or the High (for going Short) of the new candle…
Then place a Limit Order on EMA(x) in same direction as original PIPS(xx) + or
– movement. This Limit Order position will need to move as the EMA(x) is
re-drawn (re-accessed perhaps every 15 mins).
2.
Once that Limit Order trade is enacted by the price
touching EMA(x),
immediately place a StopLoss at PIPS(sl) and TakeProfit at PIPS(tp).
3.
Cancelling Limit Order: If the price/EMA(x) touch
has not occurred within further HOURS(z) candles then cancel Limit Order without placing
the trade.
4.
Possible further order after initial EMA(x)
trade. Ordinarily only one trade placed at a time. However, a second trade may
be entered if the first trade is live AND price touches EMA(y). The
same rules as above apply and this trade can only happen if there is a live
EMA(x)
initiated order in place
Rules of trade exit:
1.
StopLoss hit.
2.
TakeProfit hit.
3.
Time/date (if end of trading period if
specified) is reached.
Interface for
backtest
When you run the Expert Advisor,
it should attach the used indicators with the specified parameters. So for example, in order to assess the EA
performance, indicators like arrows should appear on the chart showing where
the PIPS(yy)
decision was made, where the Limit Order is placed and where the StopLoss &
TakeProfit are located.
The information on the
opening/closing of positions and of modifications of the SL should be stored in
the Journal;
If there are any errors, it must
print a message describing the error.
IMPORTANT NOTE: I want to use this algorithm
both to backtest and trade and so the backtest must work as accurately to
trading reality as possible. In particular judgements over the gap between the
EMA(x)
and price are to be made looking at the 1hr chart. However, the actual
execution including StopLoss and TakeProfit
must be judged in real-time (1 minute is probably ok) in order to match
reality.
For testing Lot Size will be 1, but the EA should contain
logic to increase Lot Size depending on retained profit from the strategy for
use when actually trading.
For reference the system will run with an IG Index Spread MT4
account.
I hope to work with you for a long time, but either way I will
want the source code and will own the rights.
Adjustable Testing Parameters:
1hr chart could be another time frame, but calculations must
always be real-time tick by tick.
EMA(x) and EMA(y)
PIPS(xx)
HOURS(z)
PIPS(sl)
PIPS(tp)
Market open times (open & close time/date)
Market indicator being tested obviously
Похожие заказы
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
My MQL5 Expert Advisor wins most trades with small profits, then suddenly takes one large loss that wipes out weeks of gains. This is the "picking up pennies in front of a steamroller" pattern. Required fix: Find the exact cause of the large losses in the code. Cap the loss on every trade with a fixed stop loss (no martingale or averaging down). Stop trading in dangerous conditions (high volatility, strong trends
//+------------------------------------------------------------------+ //| Durban Gold Hunter.mq5 (v3.00) | //| Multi-pair EA for MetaTrader 5 (Razor Markets, XM). | //| Strategy modules (each can be switched on/off): | //| 1. EMA crossover | //| 2. 714 method (EMA 7 + RSI 14) | //| 3. CRT (Candle Range Theory: range sweep and close back inside)| //| 4. Trend line breakout (auto-drawn from swing highs/lows) | //| 5
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
Hello, I already have an MT5 Expert Advisor for XAUUSD based on Fibonacci, market structure, BOS/CHoCH and swing trading. I need an experienced MQL5 developer to modify my existing EA, not develop a completely new one. Required modifications: Partial take-profit system with multiple TP levels. Keep profit targets conservative, using Fibonacci extension levels. Stop-loss placement beyond liquidity areas, not exactly
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
The objective is to develop a custom technical indicator for MetaTrader 5 (MQL5) that replicates the exact visual structure, inputs, and features of the "AYN-Indicator by Snurk" as shown in the provided screenshot. The indicator must analyze price actions based on a flexible lookback period, plot dynamic trend filters, and render precise Buy/Sell breakout labels without any lagging or repainting
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements