Simple EA to open and close trades

Tarea técnica

ISSUE
We are on a Forex copy service on a brokerage platform. Observation is that it is possible to loose all funds in some subscription services. All account are copied in proportion to the traders account depending on the deposit value of the account. Another item of concern is that the draw down on some subscription services due to trading strategy is as much as 70% which is not comfortable for followers

NOTE
The Forex Copy Services is run by a trader on the brokerage service.  The draw down is culled from the statistics of the trader. There have been situations where trader looses his whole balance. This is a conservative approach.

OBJECTIVES 

We want to open counter trades that are in order (same in Value as trades open on subscription and also in the same ascending order) E. G when the trader is buying, we begin to sell when total draw down of trades on the subscription equals 20% of the balance. Counter trades are opened in the same sequence as subscription trades in multiples.
As long as trend is moving in direction opposite to the subscription trades, every time market moves 5-8 pips that position should be closed and a new position in multiples of the first should be opened.
Target=8pips
Loss management:  if counter trade opens and retraces 3pips below opened position, it should be closed.

Example

Account Balance= $1000

Already Opened Trades(Sizes)=
Buy 0.01
Buy 0.05
Buy 0.1
Buy 0.5
Buy 1.0
Buy 2.0 and so on
Profit/loss on positions opened= -$200 (20% of balance)

At this point, a counter trade(same in value as the first trade opened on the subscription)=Sell 0.01(in this case) should be opened.
if Market moves 8 pips in the direction of   the counter trade, ,this Sell 0.01 position should be closed and another trade Sell ( 0.05) should be opened.if Market moves 8 pips in the direction of the counter trade this Sell 0.05 position  and so on.
if counter trade opens and retraces 3pips below opened position, it should be closed..

Conclusion
The whole essence is to manage the drawing on the subscription service, hereby, reducing the draw down to a tolerable (40%). If after this mechanism on operation and draw down equals 40% or more, all trades should be closed.

Han respondido

1
Desarrollador 1
Evaluación
(414)
Proyectos
670
33%
Arbitraje
60
17% / 32%
Caducado
113
17%
Trabaja
2
Desarrollador 2
Evaluación
(637)
Proyectos
1009
47%
Arbitraje
33
36% / 36%
Caducado
99
10%
Trabaja
Ha publicado: 6 ejemplos
3
Desarrollador 3
Evaluación
(35)
Proyectos
73
51%
Arbitraje
12
33% / 33%
Caducado
14
19%
Libre
4
Desarrollador 4
Evaluación
(277)
Proyectos
334
55%
Arbitraje
14
36% / 29%
Caducado
1
0%
Libre
5
Desarrollador 5
Evaluación
(7)
Proyectos
9
0%
Arbitraje
4
0% / 100%
Caducado
0
Libre
Ha publicado: 1 ejemplo
6
Desarrollador 6
Evaluación
(258)
Proyectos
396
28%
Arbitraje
70
19% / 49%
Caducado
121
31%
Libre
Solicitudes similares
PROMPT: BUILD A FAST SCALPING TRADING ROBOT (MT5 EA) Develop a fully automated, fast scalping Expert Advisor (EA) for MetaTrader 5 (MT5). 1. Lot Size Management Use a fixed lot size of exactly 0.02 lots . Never increase the lot size. Do not use martingale. Do not use lot multipliers. Every new trade must use 0.02 lots. 2. Trading Strategy Designed exclusively for fast scalping. Look for frequent, high-probability
I am seeking an experienced quantitative trading developer to independently research, design, develop, test, validate, and deliver a professional standalone Python 3.12 detection engine for identifying early pump and dump movements in Bybit USDT perpetual futures markets
i need one that can build this : You are an elite quant trading AI with 15 years experience at Jane Street and Citadel. Build a complete, production-ready, non-repainting Python trading system targeting 90% win rate on 5m/15m charts for EURUSD, GBPUSD, NAS100 and BTCUSDT. CORE CONCEPTS: Combine CVD with real divergence detection, 3-candle FVG, liquidity sweeps/equal highs-lows, Order Blocks/Breaker Blocks (ICT/SMC)
روبوت تداول الذهب MT5 (EA) – عروض المطور مطلوبة أبحث عن شراء روبوت تداول محترف للذهب (XAUUSD) أو استكشاف حل مخصص للتداول الآلي. بيئة التداول منصة التداول: MetaTrader 5 (MT5) أداة التداول: ذهب (XAUUSD) وسيط: فانتاج أسلوب التداول: السكالبينغ أو استراتيجيات آلية مناسبة أخرى ما أبحث عنه أنا منفتح على استراتيجيات وأساليب تداول مختلفة، بما في ذلك السكالبينغ، وتتبع الاتجاهات، والتحليل الذكي للسوق، أو استراتيجيات آلية أخرى
--- I need an MT5 Expert Advisor (EA) for Forex trading. Strategy: - Trade when fast Moving Average (9) crosses above slow Moving Average (21) = BUY - Trade when fast Moving Average (9) crosses below slow Moving Average (21) = SELL - Only 1 trade at a time Settings I want to change: - Lot size - Stop Loss in pips - Take Profit in pips - Trailing Stop - Trading hours (Start and End time) Risk: - Close all trades at
ICC SMART STRUCTURE EA 50 - 100 USD
DEVELOPMENT REQUIREMENTS Project Title: ICC Smart Structure EA – MT5 Automated Trading System 1. Project Objective I want a fully automated Expert Advisor (EA) for MetaTrader 5 (MT5), based on my Indication–Correction–Continuation (ICC) trading strategy. The EA must identify market structure, Break of Structure (BOS), swing highs and lows, supply and demand zones, corrections and continuation entries across multiple
I want reading tradingviwer signal and want open mt5 account trades. Want reading stop loss size and take a profit size and when signalClosing ! This ea want cancel open trades
برمجة روبوت تداول MQL5 بهدف 50 نقطة مع إدارة مخاطر.مطلوب برمجة خبير تداول آلي يعمل على منصة MQL5، يركز على تحقيق هدف 50 نقطة مع إدارة صارمة للمخاطر وتحديد وقف الخسارة
Hello, I'm looking for a developer who can build an automated trading bot (Expert Advisor) for MetaTrader 5 (MT5). I want a smart trading robot that can scan the markets, identify high-probability trading opportunities, and automatically execute trades. Strategies and indicators I'd like included: RSI (75 overbought / 25 oversold). MACD crossover with strong momentum. 9/21 EMA crossover. 20/50 SMA crossover. Smart
Delete/Remove . Integrate Support & Resistance . Prop Firm Expert. (Expert is Active With a firm's account) . (Tick Volume) spikes specifically when price interacts with pre-defined Support and Resistance zones. [ required ]

Información sobre el proyecto

Presupuesto
30 - 50 USD