Encomenda de EA

Termos de Referência

Preciso dos inputs abaixo.

input double Volume;
input double NovaOrdem;
input double Lucro;
----------------------------------------------
Regras:
if(não houver nenhuma ordem, nem Buy nem Sell aberta no gráfico)
{
abrir neste exato momento, uma ordem Buy, com o volume do Input Volume, sem SL, e com o TP baseado no input Lucro + Swap desta ordem.
abrir neste exato momento, uma ordem Sell, com o volume do Input Volume, sem SL, e com o TP baseado no input Lucro - Swap desta ordem.
}

if(não houver nenhuma ordem Buy aberta no gráfico)
{
abrir neste exato momento, uma ordem Buy, com o volume do Input Volume, sem SL, e com o TP baseado no input Lucro + Swap desta ordem.
}

if(não houver nenhuma ordem Sell aberta no gráfico)
{
abrir neste exato momento, uma ordem Sell, com o volume do Input Volume, sem SL, e com o TP baseado no input Lucro - Swap desta ordem.
}

if(qualquer ordem aberta no gráfico, seja ela Buy ou Sell, alcançar o lucro estipulado no input NovaOrdem)
{
feche, independente de que ordem for. Buy ou Sell.
}


===================================================================================


I need the inputs below.

input double Volume; input double NovaOrdem; input double Lucro; ---------------------------------------------- Rules: if (there is no order, neither Buy nor Sell open in the chart) { to open at this moment, a Buy order, with the volume of the Input Volume, without SL, and with the TP based on the Lucro + Swap input of this order. to open at this moment, a Sell order, with the volume of the Input Volume, without SL, and with the TP based on the Lucro - Swap input of this order. } if (there is no Buy order open in the chart) { to open at this moment, a Buy order, with the volume of the Input Volume, without SL, and with the TP based on the Lucro + Swap input of this order. } if (there is no open Sell order in the chart) { to open at this moment, a Sell order, with the volume of the Input Volume, without SL, and with the TP based on the Lucro - Swap input of this order. } if (any open order on the chart, be it Buy or Sell, achieve the profit stipulated in the NovaOrdem input) { close, regardless of what order. Buy or Sell. }

Respondido

1
Desenvolvedor 1
Classificação
(2671)
Projetos
3404
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
2
Desenvolvedor 2
Classificação
(2330)
Projetos
2934
63%
Arbitragem
124
44% / 26%
Expirado
429
15%
Livre
3
Desenvolvedor 3
Classificação
(24)
Projetos
34
9%
Arbitragem
3
33% / 0%
Expirado
8
24%
Livre
Pedidos semelhantes
I'd like to know if anyone knows how to create such an indicator for a future project. I need help creating my own indicator, but I don't know how it works behind the scenes, how the calculations are done, so I'm looking for someone to help me
Robo de Hedge 30+ USD
Ola boa noite, tudo bem? Gostaria de um robo que fizesse hedge automaticamente quando rebaixamento atingir 10%.por exemplo. Supondo que eu entre em com 1 lote (conta cent), ele entraria com 0.50, contrário ao atingir 10% e ao atingir 20% de rebaixamento ele abre mais 0.50. e so fechará quando a operação voltar. Repare que o objetivo, não é fazer lucro, com estes hedges, mas sim, proteger a conta. Então ele fecha

Informações sobre o projeto

Orçamento
30 - 100 USD
Prazo
de 5 para 15 dias