Build an EA based on Parabolic SAR with loss hedging

MQL5 Indicadores Asesores Expertos

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Cliente
Helpful and hardworking. Highly recommend

Tarea técnica

Indicator: Parabolic SAR

Trade as per the signal, close at TP: Check the indicator one again and initiate a new trade as per signal, the EA would continuously trade

If the indicator signals a new direction and the initial trade is in PROFIT, close and initiate new trade in new direction as per the indicator

If the indicator signals a new direction and the initial trade is in LOSS, don’t close:

·       Initiate a new opposite trade in the new direction with a multiplier of the initial order (x2)(see example a)

·       Keep initiating new trades till the basket of orders reaches “Basket TP” or the max number of orders in the basket is reached

·       Before the max number of orders in the basket is reached

o   If a signal shows and some orders from the opposite direction to the signal are in profit close them independently

o    If it is only one, close it, before initiating the order as per the new signal

o   If there are several in profit from the opposite direction to the new signal, close the one with the highest profit independently to keep down the numbers of the open orders in the baskets – Only close one trade at a time

o   Do not close the initial trade till the basket reaches TP

o   Keep doing this till basket TP )

o   (see example b)

·       After the max number of orders in the basket is reached

o   If there are winning ones in the opposite direction to the new signal close the highest winning one before initiating a new trade

o   If there are no winning ones in the in the opposite direction to the new signal close the smallest losing one before initiating a new trade – Only close one trade at a time

o   Do not close the initial trade till the basket reaches TP

o   (see Example c)

a.       Example a:

o   If the losing initial trade is 0.1 all the other trades in the baskets would be 0.2

o   If the losing initial trade is 1 all the other trades in the baskets would be 2

b.       Example b:

If we have 3 orders in the baskets and a new signal shows

1.       0.1 Buy

2.       0.2 Sell

3.       0.2 Buy

4.       (If 4. Signal is sell) and 3 or 1 is in profit, close the opposite ones with the highest profit before initiating a sell trade, if it is only one of them that is in profit, close it, if there are 2 of them in profit, close the highest profit before initiating the opposite trade

c.       Example c:

If the max number of orders for the basket is 7 and we have 7 open orders and a new direction is shown

o   If the new direction is sell, close the buy with the highest profit if there are no opposing trade with profit, close the buy with the smallest loss before initiating a new trade

o   If the new direction is buy, close the sell with the highest profit if there are no opposing trade with profit, close the sell with the smallest loss before initiating a new trade

o   Keep doing till basket reaches TP

 

Input

Chart timeframe

Indicator Timeframe

Parabolic SAR Step

Parabolic SAR Max

Lot Size

Take Profit

Stop Loss

Basket Take Profit

Magic Number 

(Add breakeven and trailing stop to the input)


Han respondido

1
Desarrollador 1
Evaluación
(328)
Proyectos
513
19%
Arbitraje
35
43% / 31%
Caducado
34
7%
Trabajando
2
Desarrollador 2
Evaluación
(50)
Proyectos
64
20%
Arbitraje
11
27% / 55%
Caducado
5
8%
Libre
3
Desarrollador 3
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
4
Desarrollador 4
Evaluación
(4)
Proyectos
6
33%
Arbitraje
7
14% / 57%
Caducado
1
17%
Libre
5
Desarrollador 5
Evaluación
(47)
Proyectos
67
37%
Arbitraje
5
40% / 40%
Caducado
1
1%
Libre
6
Desarrollador 6
Evaluación
(7)
Proyectos
13
15%
Arbitraje
13
23% / 46%
Caducado
3
23%
Libre
Ha publicado: 35 artículos
7
Desarrollador 7
Evaluación
(274)
Proyectos
403
28%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
8
Desarrollador 8
Evaluación
(298)
Proyectos
478
40%
Arbitraje
105
40% / 24%
Caducado
82
17%
Trabajando
Ha publicado: 2 ejemplos
9
Desarrollador 9
Evaluación
(25)
Proyectos
32
19%
Arbitraje
5
40% / 40%
Caducado
4
13%
Libre
10
Desarrollador 10
Evaluación
(2335)
Proyectos
2938
63%
Arbitraje
124
44% / 26%
Caducado
429
15%
Trabaja
11
Desarrollador 11
Evaluación
(33)
Proyectos
35
20%
Arbitraje
5
40% / 40%
Caducado
0
Libre
Ha publicado: 1 ejemplo
12
Desarrollador 12
Evaluación
(2672)
Proyectos
3408
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
13
Desarrollador 13
Evaluación
(318)
Proyectos
323
71%
Arbitraje
2
100% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
14
Desarrollador 14
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
15
Desarrollador 15
Evaluación
(16)
Proyectos
20
0%
Arbitraje
10
0% / 80%
Caducado
6
30%
Libre
16
Desarrollador 16
Evaluación
(64)
Proyectos
144
46%
Arbitraje
20
40% / 20%
Caducado
32
22%
Libre
17
Desarrollador 17
Evaluación
(11)
Proyectos
18
28%
Arbitraje
4
50% / 50%
Caducado
1
6%
Libre
18
Desarrollador 18
Evaluación
(162)
Proyectos
289
35%
Arbitraje
18
22% / 61%
Caducado
43
15%
Libre
19
Desarrollador 19
Evaluación
(7)
Proyectos
6
0%
Arbitraje
4
25% / 75%
Caducado
2
33%
Libre
20
Desarrollador 20
Evaluación
(6)
Proyectos
4
0%
Arbitraje
5
0% / 100%
Caducado
0
Libre
21
Desarrollador 21
Evaluación
(12)
Proyectos
12
17%
Arbitraje
2
0% / 50%
Caducado
1
8%
Libre
22
Desarrollador 22
Evaluación
(3)
Proyectos
1
0%
Arbitraje
5
0% / 100%
Caducado
0
Libre
Solicitudes similares
I have a EA/indicator that I want built. I should say 1st off dont know how to code myself so I will be using AI to verify that the source code is complete and matches the documents spec or if better so if you can not truly do the job do not waste either of out time. This is a idea I came.up wit and used AI to produce a framework for it.... and of course AI isn't 100% accurate so I need a knowledgeable quantitative
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
I am looking for an experienced MQL4 developer to build a professional High-Frequency Trading (HFT) / Low-Latency Expert Advisor for MetaTrader 4 (MT4) . The EA will be deployed on an IC Markets Live account and should be optimized for the fastest possible execution using a low-latency VPS located in LD4 or NY4 . The primary instruments will be US30 and XAUUSD (Gold) . The goal is to create an EA capable of
A robot 50+ USD
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
I need a trading bot, please i need this project urgently and when messaing me kindly send me samples of past works and dont forget i need the project to be done as soon as possible
A lightweight MT5 chart overlay displaying total floating P&L, average entry price, combined lot size, and current symbol exposure as a percentage of account balance, all updating in real time with color-coded profit/loss indicators, delivered with clean object-oriented source code and no DLL dependencies
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance
Akram boushaba 30 - 500 USD
مرحبا كيف حالكم انا اكرم مهتم بالتداول احاول ان اصمم برنامج روبوت قادر على التداول من تلقاء نفسه من يمكنه ان يساعدني او يعلمني كيف استطيع فهل ذلك وسأكون ممتناً له وشكرا لكم

Información sobre el proyecto

Presupuesto
40 - 70 USD
Plazo límite de ejecución
de 2 a 3 día(s)