Enhancements to an existing EA for managing pending orders (source code available)

MQL4 Experts

Trabalho concluído

Tempo de execução 9 dias
Comentário do cliente
good developer
Comentário do desenvolvedor
Very Professional and Kind Manner, I recommend him to all honest developers.

Termos de Referência

I already have an EA, namend here EA1, included source code, the behaviour is as follows:

1) a third party EA2, with magic number xxx is attached to chart and generates orders

2‌) EA1 is attached also to a chart, with same magic number xxx, and generates pending stop orders corresponding to orders generted by EA2

more in detail present situation is decribed here:

EA1 performs:

 - opening a new buy or sell stop order when EA2 creates a real one

 - closing the pending stop order when EA2 closes the corresponding real order. 

 

More in detail EA1 behaviour is: imagine a pending stop order (eg. BUY) becomes active,  and then hits TP or SL or TS and closes. in this case EA1 generates another pending order like the previous (eg. BUY)  at a pricing level that is at N pips from current price. so N=number of pips from current price for pending order regeneration, is a input parameter for your EA. the regenerated pending order inherits all the rest of parameters as the provious (size, TP, SL, TS).

the input parameters for EA1 are:

- order size

- SL in pips

- TP in pips

- distance from corresponding real order in pips

- trailing stop in pips

- regeneration distance from current price


----------------------------------------------------------------------------------


new enhancements for EA1


the requested enhacements are described as follows:


1) a traling-like feature will be added to pending orders. Trailing will apply to pending orders, that once created will be moved towards the price as this goes further in the opposite direction.


for example, for a buy stop pending order, say it will be created at price 1,04567, which is 2 pips from current price 1,04547.

as price goes lower, say 1,04537, pending order will be moved 1 pip down in order to keep 2 pips distance from current price, so at 1,04557.


Pending order Trailing feature can be enabled-disabled.



2) another feature will be added, which will be applied when a new pending order is generated, in detail:


1) if the previous order was closed for TP or TS, the new pending order will be created at distance D1 in pips from current price.

2) if the previous order was closed for SL, the new pending order will be created at distance D2 in pips from current price.


so D1 and D2 are two new input parameters for EA (in present version D1=D2, now we ask to make a difference)



Respondido

1
Desenvolvedor 1
Classificação
(34)
Projetos
80
34%
Arbitragem
13
31% / 54%
Expirado
19
24%
Livre
2
Desenvolvedor 2
Classificação
(28)
Projetos
47
23%
Arbitragem
13
31% / 15%
Expirado
12
26%
Livre
3
Desenvolvedor 3
Classificação
(25)
Projetos
36
17%
Arbitragem
14
14% / 57%
Expirado
3
8%
Livre
Pedidos semelhantes
Dear Freelancer, My name is startingfrom4 and am a member of mt5 community and i have purchased many indicator and EA here in mt5 community. However, right now i want to develop a simple EA but i do not have fund to do it. Please i beg a developer to please help me write the simple program for free and that is why i filled this freelancer form. Please help. Specification: I need a protection program that will
Necesito replicar en Metatrader las operaciones de un grupo de Telegram , operaciones sencillas con un solo TP, no hay cierre de parciales, únicamente dos órdenes breakeven y cerrar operaciones
Buenas , necesito una copiadora que replique mis operaciones en metatrader 4 o 5 a la plataforma MATCHTRADER , copiadora simple sin ningún extra más , necesito que se entregue está semana
Hello, I am looking for an Expert Advisor (EA) that can generate approximately 25% to 30% monthly returns on a capital of $1,000 with minimal risk. If you're interested in this project, please apply immediately with the following: An .ex5 file of the EA. A clear expiration date of 2 days. Suggested input parameters that you believe are optimal. Recommended trading pairs for the EA. I will conduct back testing and
I’m looking for a skilled developer to create an automated trading bot based on a strategy using Heikin Ashi candles and Two Supertrend lines . Preferred: Candidates with prior experience in developing bots using Heikin Ashi and code Supertrend lines. Here are the key requirements: 1. Supertrend Indicator Customization: - The Supertrend should be based on Heikin Ashi prices in stead of standard candlestick prices. -
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Thanks
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Best regards
Need top Professional programmer to code algorithm trading bot based on the ideas trading strategies I made for myself, you must be well experienced and can delivered the best quality solutions, you must be ready to pay quick reply and ensuring that you are capable to code exactly
Need top Professional programmer to code algorithm trading bot based on the ideas trading strategies I made for myself, you must be well experienced and can delivered the best quality solutions, you must be ready to pay quick reply and ensuring that you are capable to code exactly
I want someone who knows about grid martingale strategy very. I will send strategy when prove that you can do it well. The grid martingale strategy is a trading approach that combines elements of grid trading and the martingale strategy. It involves setting up a series of buy and sell orders at fixed price intervals, forming a "grid." When the price moves against your initial position, additional orders are placed

Informações sobre o projeto

Orçamento
20 - 40 USD
IVA (22%): 4.4 - 8.8 USD
Total: 24.4 - 48.8 USD
Desenvolvedor
18 - 36 USD
Prazo
de 2 para 4 dias