指定
Este EA tem 2 funções:
1 - FUNÇÃO HEDGE
O EA Controler tem como objetivo a abertura de operações de hedge, de 2 modalidades:
1 – Hedge por operações
2 – Hedge bloqueando o saldo geral da conta
Explicando a função 1 – Hedging por operações
A partir da operação 4, o Controlador do EA deverá abrir uma operação de hedge para cada nova operação aberta. Esta operação de hedge deve ter sempre os pontos alvo, stop loss e takeprofit preenchidos no painel de funções editáveis do EA, e deve ter o mesmo volume de lote e ativo da operação que formará o hedge.
A operação de hedge deverá ser aberta sempre simultaneamente à operação que constituirá o hedge.
Quando a operação de hedge atingir uma meta, deverá ser aberta uma nova operação com as mesmas metas. As operações de hedge só não serão abertas quando a conta tiver apenas 3 operações abertas.
As operações de hedge só devem ser encerradas após atingir uma meta.
Explicando a função 2 - Hedge bloqueando o saldo
Esta função consiste na abertura de um hedge para proteger o saldo flutuante da conta causado pelas 3 primeiras operações. Este hedge deve ser integral, ou seja, deve somar o volume dos lotes de operações abertas e deve ser aberto quando o saldo atingir determinado % do saldo patrimonial da conta, preenchido no campo editável do painel do EA.
Esta operação de hedge deverá ter metas em pontos, preenchidas no painel de funções editáveis do EA.
2 - FUNÇÃO LUCRO MÁXIMO
5. Lucro máximo das operações abertas
O EA deve conter um campo para inserir o saldo em dólares do lucro das ordens abertas, as ordens devem ser fechadas assim que esse saldo máximo de lucro for atingido e o robô poderá abrir novas negociações novamente a qualquer momento.
Mas o EA Controller pode fechar operações com lucro inferior ao lucro máximo, dependendo da sua estratégia. Esta função determina apenas um lucro máximo para fechamento de operações.
Por exemplo, se eu registrar que o lucro máximo das operações é $1, quando o saldo da soma total das operações abertas for igual a $1 e o EA da estratégia não tiver fechado as operações, o EA controlador deverá fechar as ordens abertas.
PAINEL DE FUNÇÕES EDITÁVEIS NO EA
FUNÇÃO DE HEDGE
As funções editáveis do EA no painel devem ser:
Campos de função 1 - Hedge por operações
Campo para inserir volume de pontos de hedge take-profit
Campo para inserir o volume de pontos de hedge stop loss
O volume de pontos-alvo definidos nos campos acima deverá ser o mesmo para todas as operações de hedge abertas pela função 1 hedge.
Caso os campos acima estejam em branco, o EA não deverá abrir operações do tipo hedge da função 1.
Função 2 Campos - Saldo flutuante da conta com bloqueio de hedge
Campo para inserir o % do saldo da conta utilizado para abrir um hedge completo
Field to enter the volume of full hedge stop loss points
Field to enter the volume of full hedge take profit points
If the fields above are blank, the EA should not open function 2 hedge type operations.
MAXIMUM PROFIT FUNCTION
Field to insert in $ the maximum profit value, from the sum of all open operations, which the EA Controller must close all operations when this value is reached. If this field is blank, that is, not filled in, this function must be inactive.
The EA Controler must open operations on all assets and must work on MT4.
The EA source code must be delivered in an editable form.
The freelancer must make the file available for testing in a demo account for a period of 15 calendar days, before finalizing the demand.
In other words, as soon as you give me the EA file, I will test it on a demo account for 15 days.
If adjustments are needed, I will let you know.
If the EA is tested and all EA functions are working perfectly, I will let you know and we will close the demand here at MQL5.