Modify an existing moving average crossover EA
We need two things to be done in our existing and
functioning EA for MetaTrader 4.
1. Adding a feature that offset losses
2. Adding brokers’ commissions cost to the EA
1. Offset losses
The existing EA, buys and sells as explain on the
document attached, called “moving average strategy”.
Our intention is to add a feature that is triggered
when a trade make a loss. The objective is to cope with the losses generating more trades, a kind of “Martingale strategy”.
Bullet points
· The strategy tries to offset the loss trades,
generating more trades.
· It can generate one or more trades to cope with the
losses of a trade.
· We may want to generate more than one trade to cope
with the losses of a trade.
· Those trades that are generated to offset loss
trades, can generate more trades. In classic martingale, your next trade will try to cope with your previous trade loss, here we will divide
in X trade to cope with the loss.
· Be able to choose how many trades are open every
time.
· On report, we will need to be able to see how many
trades still to be open. So, it needs to save information of pass trades and pending trades.
Parameters
Loss trade divided: 0 means the feature is off. 1 to XX, it will
divide the loss trade in XX future trades, if parameter is 5, it will generate 5 consecutive trade to cope with the loss.
Active trades: At some point we would like to choose how many
trades the EA opens. If 0, unlimited if above 0 whatever it says. With this parameter you limit the trades the EA generate every time, as market
conditions could make the EA to generate lots of trades in a matter of MA crosses.
On report
On report we need the following figures;
Number of trades still to go in case we limit the active trades.
Value of the trades to go.
Number of trades trading.
Value of the trades trading.
Sum of commissions.
A compressive case
See on photo attached, 3.png
First column, called CROSS, this is when a MA cross the EA generate an order.
Second column, called profit main trade, it is simple the main trade the EA does
when MA crosses, to make it easy I choose take profit on 4 pips $60 and 40 pips $600.
Third column, called loss trade trigger is a reference of each main trade that
goes to losses.
Then the one called profit and loss, is a simple sum of each trade.
And the last one equity, this is the net deposit.
Those this exemple we hae used this parameters
Loss trade divided by: 10
Active trades: 0
So, it will dived the losses by 10 and it will allow the EA open as much trades
as the MA and losses dictates.
1. Cross 1 goes wrong and loss money, $600. The EA will generate 10 trades for the
next Crosses to cope with loss of Cross 1, and the calculations for the next 10 trades goes as follows $600/10 + target profit / 10. This trades
is 1.1.
2. On Cross 2 the EA will generate two trades, the main one and a second one that
tries to cope with losses of trade on Cross 1, trade 1.1.
3. Cross 3 the EA will generate two trades, the main one and a second one that tries
to cope with losses of trade on Cross 1, trade 1.1.
4. Cross 4 the EA will generate two trades, the main one and a second one that tries
to cope with losses of trade on Cross 1, trade 1.1. As it goes wrong, the EA will generate trade 1.2 and 2.1, those two trades will try to cope with
losses of trade 1.1 and main trade of cross 4.
5. Cross 5 EA wil generate 4 trades Main trade plus 1.1, 2.1 and 1.2.
2. Adding brokers’ commissions cost to the EA
We need a parameter to be able to define commissions. 0 means no
commissions, and then euros per lot.
Similar orders
Custom MT5 EA for buy stop and sell stop breakout strategy.’ ‘Requirements, develop a custom Expert Advisor for MetaTrader 5 that places buy-stop and sell-stop pending orders based on defined breakout rules.’ ‘All important values adjustable via inputs.’ ‘Includes stop loss, take profit, trailing stop, and configurable risk management.’ ‘One trade at a time, works on demo before live.’ Provide source code and
السلام عليكم ورحمة الله وبركاته، أبحث عن مبرمج MQL5 خبير ومتمكن جداً لتطوير روبوت تداول (Expert Advisor) محترف لمنصة MetaTrader 5 يعمل باستراتيجية هيدج محددة بصفقة واحدة فقط في كل اتجاه (1 Buy & 1 Sell Max) مع إدارة مخاطر صارمة. المواصفات والاستراتيجية المطلوبة: 1. آلية الهيدج المحدود (Single Position Hedging Limit): الحد الأقصى للصفقات: يُسمح للروبوت بفتح صفقة شراء واحدة (1 Buy) وصفقة بيع واحدة (1 Sell) فقط كحد
A good trend predicting indicator is the one which can identify the trend change as soon as it happens on the chart. when a new candle is formed it should tell whether its going to go up or down. I have already seen a lot of repainting trend predictors so if your indicator is repainting then please don't bother contacting. I would like to see the demo version and then if satisfied , I would want the source code too
Looking for A verifiable, disciplined XAUUSD analyst with controlled drawdown, consistent stop-loss use, clear communication and the capacity to service a live community. To send daily London and New York signals exclusively in my channel on Telegram
Hey, I am looking for an experienced MQL5 developer to build a price-action EA for MT5 - XAUUSD and EURUSD on the 30M timeframe. Features required: Pattern recognition based on 3-candle structures and wick ratios. Proportional dynamic lot sizing based on account equity tiers. Time filters, Friday hard-close safeguard, and MT5 native calendar news filter (CPI/PPI lockout). FTMO risk controls (max spread, daily
Platform MetaTrader 5 (MT5) MQL5 Source Code Required Compatible with Exness MT5 both standard and cent accounts/ICMarket accounts Works on EUR/USD only (initial version) ⸻ Objective Develop a fully automated AI Expert Advisor based on ICT Smart Money Concepts (SMC). The EA must only execute high-probability trades that satisfy all required conditions before opening a position. The EA must avoid overtrading and
Bonjour, je recherche un développeur MQL5 expérimenté pour créer un Expert Advisor pour MetaTrader 5 basé sur une stratégie de trading intégrant des principes de gestion des risques rigoureux et d'intelligence financière. Le robot doit être capable de gérer plusieurs paires de devises et d'optimiser automatiquement les entrées et sorties en fonction de conditions de marché prédéfinies."
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
I'm looking for an experienced NinjaTrader 8 (C#) developer to build a fully automated futures trading strategy. Please apply only if you have proven experience developing and testing NinjaTrader strategies. Project Overview Develop a fully automated NinjaTrader 8 strategy. Designed for Apex funded and evaluation accounts. Primary instruments: NQ/MNQ Futures (with flexibility to support other futures later). Trading
Hello I need to purchase the source code of an already built profitable mt5 EA with proven track recordIf you have something similar and you are open to selling the source code please apply to this post Please note I am not looking for a dev to build the product from scratch , but need something that is already built and have at least one year worth of track record