Tarea técnica
Dear Sir,
I need help. I wish to set an EA that looks up transaction on my list of trasaction and checks if the transaction is amongst the market and pending orders , the opens if it is not else do nothing about it. So I am using the Magic Number as the common field. I have written an EA and compiled it. but the EA is not working. Find below the EA.No transactions are opened even though I have no pending nor market orders. What can be the problem. Please help.
//+------------------------------------------------------------------+
//| First Part.mq4 |
//| Fon Ngando |
//| |
//+------------------------------------------------------------------+
#property copyright "Fon Ngando"
#property link ""
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
int i=0;
int j,e,F,G;
double P,SL,TP,N,V,MN,C;
double Transaction_Array[][];
Transaction_Array[11][9]=
{
0 , 75.50 , 75.00 , 105.00 , , 2 , 0 , 0 , ,
0 , 75.50 , 75.00 , 75.60 , , 1.33 , 0 , 1 , ,
0 , 75.50 , 75.00 , 75.70 , , 1.06 , 0 , 2 , ,
0 , 75.50 , 75.00 , 75.80 , , 0.8 , 0 , 3 , ,
0 , 75.50 , 75.00 , 75.90 , , 0.53 , 0 , 4 , ,
0 , 75.50 , 75.00 , 76.00 , , 0.28 , 0 , 5 , ,
0 , 75.50 , 75.00 , 76.10 , , 0.2 , 0 , 6 , ,
0 , 75.50 , 75.00 , 76.20 , , 0.2 , 0 , 7 , ,
0 , 75.50 , 75.00 , 76.30 , , 0.2 , 0 , 8 , ,
0 , 75.50 , 75.00 , 76.40 , , 0.2 , 0 , 9 , ,
0 , 75.50 , 75.00 , 76.50 , , 0.2 , 0 , 10 , ,
};
for(i=0; i<11; i++) // For market and pending orders
{
N=Transaction_Array[i][7]; // Determine magicnumber
// of transaction on my list
for (e=0;e<OrdersTotal();e++)
{
if((OrderSelect(e,SELECT_BY_POS)==true)
&&(OrderMagicNumber()==N))// look up Magic Number.
{} //Magic Number found so trans already opened
else
{ P=Transaction_Array[i][1]; // Order open price
SL=Transaction_Array[i][2]; // SL price
TP=Transaction_Array[i][3]; // TP price
N=Transaction_Array[i][7]; // Order number
V=Transaction_Array[i][5]; // Amount of lots
j=Transaction_Array[i][6]; // Ordertype 0=buy, 1=sell
C=Transaction_Array[i][9];
if(P==Ask&&j==0)
{
OrderSend(Symbol(),OP_BUY,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_BUY,V,P,1,SL,TP,C,i));
}
if(P<Ask&&j==0)
{
OrderSend(Symbol(),OP_BUYLIMIT,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_BUYLIMIT,V,P,1,SL,TP,C,i));
}
if(P>Ask&&j==0)
{
OrderSend(Symbol(),OP_BUYSTOP,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_BUYSTOP,V,P,1,SL,TP,C,i));
}
if(P==Bid&&j==1)
{
OrderSend(Symbol(),OP_SELL,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_SELL,V,P,1,SL,TP,C,i));
}
if(P<Bid&&j==1)
{
OrderSend(Symbol(),OP_SELLSTOP,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_SELLSTOP,V,P,1,SL,TP,C,i));
}
if(P>Bid&&j==1)
{
OrderSend(Symbol(),OP_SELLLIMIT,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_SELLLIMIT,V,P,1,SL,TP,C,i));
}
}
}
}
//----
//----
}
//+------------------------------------------------------------------+
I need help. I wish to set an EA that looks up transaction on my list of trasaction and checks if the transaction is amongst the market and pending orders , the opens if it is not else do nothing about it. So I am using the Magic Number as the common field. I have written an EA and compiled it. but the EA is not working. Find below the EA.No transactions are opened even though I have no pending nor market orders. What can be the problem. Please help.
//+------------------------------------------------------------------+
//| First Part.mq4 |
//| Fon Ngando |
//| |
//+------------------------------------------------------------------+
#property copyright "Fon Ngando"
#property link ""
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
int i=0;
int j,e,F,G;
double P,SL,TP,N,V,MN,C;
double Transaction_Array[][];
Transaction_Array[11][9]=
{
0 , 75.50 , 75.00 , 105.00 , , 2 , 0 , 0 , ,
0 , 75.50 , 75.00 , 75.60 , , 1.33 , 0 , 1 , ,
0 , 75.50 , 75.00 , 75.70 , , 1.06 , 0 , 2 , ,
0 , 75.50 , 75.00 , 75.80 , , 0.8 , 0 , 3 , ,
0 , 75.50 , 75.00 , 75.90 , , 0.53 , 0 , 4 , ,
0 , 75.50 , 75.00 , 76.00 , , 0.28 , 0 , 5 , ,
0 , 75.50 , 75.00 , 76.10 , , 0.2 , 0 , 6 , ,
0 , 75.50 , 75.00 , 76.20 , , 0.2 , 0 , 7 , ,
0 , 75.50 , 75.00 , 76.30 , , 0.2 , 0 , 8 , ,
0 , 75.50 , 75.00 , 76.40 , , 0.2 , 0 , 9 , ,
0 , 75.50 , 75.00 , 76.50 , , 0.2 , 0 , 10 , ,
};
for(i=0; i<11; i++) // For market and pending orders
{
N=Transaction_Array[i][7]; // Determine magicnumber
// of transaction on my list
for (e=0;e<OrdersTotal();e++)
{
if((OrderSelect(e,SELECT_BY_POS)==true)
&&(OrderMagicNumber()==N))// look up Magic Number.
{} //Magic Number found so trans already opened
else
{ P=Transaction_Array[i][1]; // Order open price
SL=Transaction_Array[i][2]; // SL price
TP=Transaction_Array[i][3]; // TP price
N=Transaction_Array[i][7]; // Order number
V=Transaction_Array[i][5]; // Amount of lots
j=Transaction_Array[i][6]; // Ordertype 0=buy, 1=sell
C=Transaction_Array[i][9];
if(P==Ask&&j==0)
{
OrderSend(Symbol(),OP_BUY,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_BUY,V,P,1,SL,TP,C,i));
}
if(P<Ask&&j==0)
{
OrderSend(Symbol(),OP_BUYLIMIT,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_BUYLIMIT,V,P,1,SL,TP,C,i));
}
if(P>Ask&&j==0)
{
OrderSend(Symbol(),OP_BUYSTOP,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_BUYSTOP,V,P,1,SL,TP,C,i));
}
if(P==Bid&&j==1)
{
OrderSend(Symbol(),OP_SELL,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_SELL,V,P,1,SL,TP,C,i));
}
if(P<Bid&&j==1)
{
OrderSend(Symbol(),OP_SELLSTOP,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_SELLSTOP,V,P,1,SL,TP,C,i));
}
if(P>Bid&&j==1)
{
OrderSend(Symbol(),OP_SELLLIMIT,V,P,1,SL,TP,C,i);
return (OrderSend(Symbol(),OP_SELLLIMIT,V,P,1,SL,TP,C,i));
}
}
}
}
//----
//----
}
//+------------------------------------------------------------------+
Han respondido
1
Evaluación
Proyectos
257
53%
Arbitraje
16
50%
/
38%
Caducado
83
32%
Libre
2
Evaluación
Proyectos
3
33%
Arbitraje
1
0%
/
100%
Caducado
0
Libre
3
Evaluación
Proyectos
844
73%
Arbitraje
15
53%
/
13%
Caducado
193
23%
Libre
4
Evaluación
Proyectos
396
63%
Arbitraje
70
53%
/
26%
Caducado
198
50%
Libre
5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
Max amount grid
30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
Buying profitable EA(Budget up to $ 3000 USD)
300 - 3000 USD
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
EA fx
30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
2STEP MA WITH SUPERTREND
40+ USD
BUY ALERT 1. Supertrend turns Bullish 2. On this candle , or during the last time Supertrend was Bearish, price was < or = MA1 3. On this candle , or during the last time Supertrend was Bearish , BBStops is Bearish 4. STEP MA1 and STEP MA 2 are both Bullish SELL ALERT 1. Supertrend turns Bearish 2. On this candle , or during the last time Supertrend was Bullish, price was
Rsi divergence
30+ USD
You need to create an EA that executes buy and sell based on the signals of an rsi divergence indicator in trading view. The indicator is not in MT5 and must be added separately. pine script availabel
KHALIFAH DARK VENUS
30+ USD
I WANT A TRADING ROBOT WITH GOLD STRATEGY THAT COULD TAKE ME TO 1MILLION$ TODAY,PLEASE KINDLY GENERATE THE BOT, DEBUGG COMPILE AND THEN GIVE ME WHEN EVER YOU ARE READY, ILL BE WAITING THANK YOU
Información sobre el proyecto
Presupuesto
100- USD
Plazo límite de ejecución
a 10 día(s)