Problems of opening orders.

Trabalho concluído

Tempo de execução 17 horas
Comentário do desenvolvedor
Very good customer.
Comentário do cliente
Great job, very professional, and fast, thank you :)

Termos de Referência

My EA has to open orders every 10 pips and he does it halfway well. Example: My EA works well in the descent but not in the mounted.

Between the white and blue line all is well.
but between the blue and red line the EA does not open any orders. 
While he should open orders every 10 pips



Exemple erreur

I would like my EA to open orders every 10pips (unless the order is already open)
upwards or downwards and when I close everything manually,
 everything starts from the beginning.

The code:

#property copyright "Copyright 2018, GCN ltd."
#property link      "http://www.it-labmd.com"
#property version   "1.00"
#property strict
extern double  lots1_1          = 0.01;
extern double  lots2_1          = 0.02;
extern double  lots3_1          = 0.04;
input int      TakeProfit1_1     =   10;
input int      StopLoss1_1       =   1000;
input int      TakeProfit2_1     =   10;
input int      StopLoss2_1       =   1000;
input int      TakeProfit3_1     =   10;
input int      StopLoss3_1       =   1000;
extern int     magic_1=000001;
extern double  Level_1=1.2770;
extern double  MaxDeviation_1=9;         // Max Deviation, points

bool RunOnce_1=false;
int last_order_check_1=false;
datetime EaStartTime_1=TimeCurrent();
double takeprofit1_1=TakeProfit1_1;
double stoploss1_1=StopLoss1_1;
double takeprofit2_1=TakeProfit2_1;
double stoploss2_1=StopLoss2_1;
double takeprofit3_1=TakeProfit3_1;
double stoploss3_1=StopLoss3_1;

extern double  lots1_2          = 0.01;
extern double  lots2_2          = 0.02;
extern double  lots3_2          = 0.04;
input int      TakeProfit1_2     =   10;
input int      StopLoss1_2       =   1000;
input int      TakeProfit2_2     =   10;
input int      StopLoss2_2       =   1000;
input int      TakeProfit3_2     =   10;
input int      StopLoss3_2       =   1000;
extern int     magic_2=000002;
extern int     Distance_2= 10;
double  Level_2          = 0;
extern double  MaxDeviation_2=9;         // Max Deviation, points

bool RunOnce_2=false;
int last_order_check_2=false;
datetime EaStartTime_2=TimeCurrent();
double takeprofit1_2=TakeProfit1_2;
double stoploss1_2=StopLoss1_2;
double takeprofit2_2=TakeProfit2_2;
double stoploss2_2=StopLoss2_2;
double takeprofit3_2=TakeProfit3_2;
double stoploss3_2=StopLoss3_2;
int distance_2=Distance_2;

extern double  lots1_3          = 0.01;
extern double  lots2_3          = 0.02;
extern double  lots3_3          = 0.04;
input int      TakeProfit1_3     =   10;
input int      StopLoss1_3       =   1000;
input int      TakeProfit2_3     =   10;
input int      StopLoss2_3       =   1000;
input int      TakeProfit3_3     =   10;
input int      StopLoss3_3       =   1000;
extern int     magic_3=000003;
extern int     Distance_3= 20;
double  Level_3          = 0;
extern double  MaxDeviation_3=9;         // Max Deviation, points

bool RunOnce_3=false;
int last_order_check_3=false;
datetime EaStartTime_3=TimeCurrent();
double takeprofit1_3=TakeProfit1_3;
double stoploss1_3=StopLoss1_3;
double takeprofit2_3=TakeProfit2_3;
double stoploss2_3=StopLoss2_3;
double takeprofit3_3=TakeProfit3_3;
double stoploss3_3=StopLoss3_3;
int distance_3=Distance_3;

extern double  lots1_4          = 0.01;
extern double  lots2_4          = 0.02;
extern double  lots3_4          = 0.04;
input int      TakeProfit1_4     =   10;
input int      StopLoss1_4       =   1000;
input int      TakeProfit2_4     =   10;
input int      StopLoss2_4       =   1000;
input int      TakeProfit3_4     =   10;
input int      StopLoss3_4       =   1000;
extern int     magic_4=000004;
extern int     Distance_4= 30;
double  Level_4          = 0;
extern double  MaxDeviation_4=9;         // Max Deviation, points

Respondido

1
Desenvolvedor 1
Classificação
(90)
Projetos
118
17%
Arbitragem
44
23% / 39%
Expirado
20
17%
Livre
2
Desenvolvedor 2
Classificação
(212)
Projetos
246
45%
Arbitragem
42
10% / 57%
Expirado
5
2%
Livre
3
Desenvolvedor 3
Classificação
(33)
Projetos
35
40%
Arbitragem
11
9% / 91%
Expirado
4
11%
Livre
Pedidos semelhantes
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for
So i have copier EA. The idea is the EA will triggered through manual OP by user via mobile or whatever platform. Let's say 0.01 lot to trigger it. After the EA takes master's position, the EA will be standby mode. If the master take more OP, the EA still not take the master's position (OP) until the user input manually once again via mobile for another 0.01 lot. Since this is a MT4 EA, Whenever user want to close
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
Description - An expert advisor(s), placing sell trades in EUR/USD, based on the close price of the previous two candles, as shown in the figure below. The trades would be made in the 5 minute, 1 hour, and 1 day timeframes. In the 5 minute and 1 hour timeframes the market orders would be placed at the start of a new candle, at specific times EST. The order would be cancelled at the close of that candle, i.e after 5
Greetings, As the title suggests, I am trying to convert an indicator that calls itself via an iCustom call like this. iMAArray_Buffer[loop_1] = iCustom ( NULL , Selected_TF, MQLInfoString ( MQL_PROGRAM_NAME ), "calculate" , RPeriod, MType, MPeriod, 1 , shift); Full code will not be provided, only the position that needs fixing. I cannot get this working in MQL5 but the original code runs smoothly in MQL4. Please
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link

Informações sobre o projeto

Orçamento
30+ USD
IVA (20%): 6 USD
Total: 36 USD
Desenvolvedor
27 USD
Prazo
para 2 dias