Add Money Menagment strategy to my EA

Tâche terminée

Temps d'exécution 5 jours

Spécifications

Good Morning, i have my personal EA that when the indicator find a trend change, close all the operations on that pair and open new one with new trend direction.

i'd like to implement that every time there is a negative position opened, EA doesn't close that position but opens new one on the opposite direction with double lots and close both positions when the sum is 0.

in this moment EA works like this:

  • when indicator find a signal, EA opens 2 operations with same lots, the first one close at tp1, the second one at tp2.
  • If operations hit tp1 but not the tp2, a trailing SL close the second operations in profit.
  • If operations can't reach tp1, EA closes both only when indicator find a trend change (that's what i'd like to change).


EA has to work as it has done so far except for the third point i wrote. the only thing that has to be changed is that WHEN POSITIONS ARE NEGATIVE AND THEY DIDN'T REACH TP1, EA has to open the next operation with doubles lots and close both operations when the sum is 0. if also the second operation will go in negative and indicator find another trend change, EA has to open a third operations with doubles lots of the second one and close ALL three operations (that being two for each trend change, there are 6 operations in all) when the sum is 0.


Thank you all.

Répondu

1
Développeur 1
Évaluation
(390)
Projets
416
30%
Arbitrage
74
19% / 72%
En retard
52
13%
Travail
2
Développeur 2
Évaluation
(93)
Projets
133
35%
Arbitrage
13
38% / 31%
En retard
32
24%
Gratuit
3
Développeur 3
Évaluation
(217)
Projets
369
33%
Arbitrage
34
41% / 29%
En retard
108
29%
Gratuit
Publié : 1 code
4
Développeur 4
Évaluation
(115)
Projets
129
18%
Arbitrage
11
27% / 55%
En retard
4
3%
Gratuit
5
Développeur 5
Évaluation
(40)
Projets
58
22%
Arbitrage
10
10% / 70%
En retard
13
22%
Gratuit
Commandes similaires
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Subject: Custom MT5 Multi-Currency EA Request - Multi-Timeframe Strategy with Trailing Stop Hi, I am looking for a developer to create a custom Expert Advisor (EA) for MetaTrader 5 (MT5) . The EA must be optimized for multi-currency testing and trading , allowing me to run it across multiple currency pairs simultaneously. The trading logic should be based on a multi-timeframe approach using the following indicators
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I need to build one from scratch . Experience with Sierra Chart, ACSIL
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
Торговый робот XAUUSD AI/ML — MT5 + Python + MQL5 Ищу опытного разработчика с глубокими знаниями в следующих областях: MQL5 / MetaTrader 5 Python Машинное обучение / Искусственный интеллект Алгоритмическая торговля Проект Я хочу разработать торговую систему на основе ИИ/машинного обучения, предназначенную исключительно для XAUUSD (золото) . Архитектура: Данные рынка XAUUSD → Модель Python/ML → ПОКУПКА / ПРОДАЖА /
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs

Informations sur le projet

Budget
30+ USD
Délais
de 1 à 2 jour(s)