Change my Expert code(Simple)

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 37 segundos
Comentario del Cliente
Perfect programmer, I will work with him again
Comentario del Ejecutor
Excellent customer, highly recommended!

Tarea técnica

Hello


I have a simple code:

void OnTick()
  {
//---

double current_bid = SymbolInfoDouble(_Symbol, SYMBOL_BID);
double current_ask = SymbolInfoDouble(_Symbol, SYMBOL_ASK); 
Print("First");
Print(current_ask);
Sleep(10000);
double current_ask_new = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
Print("Second");
Print(current_ask_new);
Print("Difference");
Print(int(current_ask_new-current_ask)*Point);
}


It print the current price and then wait 10 sec's and print the price after 10 sec's

The problem is: It works on live Meta correctly, But I know that sleep() function doesn't works on strategy tester, I want to modify the above code that works on strategy tester


Han respondido

1
Desarrollador 1
Evaluación
(590)
Proyectos
789
71%
Arbitraje
9
33% / 33%
Caducado
22
3%
Libre
2
Desarrollador 2
Evaluación
(87)
Proyectos
134
14%
Arbitraje
41
22% / 29%
Caducado
14
10%
Libre
3
Desarrollador 3
Evaluación
(229)
Proyectos
339
49%
Arbitraje
21
5% / 33%
Caducado
24
7%
Libre
4
Desarrollador 4
Evaluación
(2)
Proyectos
2
0%
Arbitraje
2
0% / 100%
Caducado
1
50%
Libre
5
Desarrollador 5
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
6
Desarrollador 6
Evaluación
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(207)
Proyectos
249
78%
Arbitraje
3
67% / 33%
Caducado
19
8%
Libre
8
Desarrollador 8
Evaluación
(42)
Proyectos
70
43%
Arbitraje
6
33% / 50%
Caducado
19
27%
Libre
9
Desarrollador 9
Evaluación
(356)
Proyectos
632
26%
Arbitraje
89
73% / 13%
Caducado
12
2%
Libre
10
Desarrollador 10
Evaluación
(257)
Proyectos
341
58%
Arbitraje
7
14% / 71%
Caducado
9
3%
Libre
Solicitudes similares
@page { size: 21cm 29.7cm; margin: 2cm } p { line-height: 115%; margin-bottom: 0.25cm; background: transparent } Hi, The task involves adding functions to an existing EA and correcting an error. The developer must have a thorough understanding of the following: Trailing Take Profit function Calculating a decreasing distance between orders Ability to code a function for Global Profit decrement/increment size in
The first section will describe the EAs trading strategy logic and features. The second section is an outline of the inputs that the EA should contain. 1. The idea of the trading system is as follows : This EA enters trades based on fibonacci retracement levels when other (MACD, RSI) conditions are met. It will use a MACD from a particular time frame to establish the swing high and swing lows which the fibonacci
Expert Advisor (EA) will provide automatic entry and exit using Black Dragon indicator as per the description below. Long (entry): on the first blue candle. Long (exit): on the first red candle, stop loss or take profit/break-even. Whatever happens first. Short (entry): on the first red candle. Short (exit): on the first blue candle, stop loss or take profit/break-even. Whatever happens first. Long (stop loss value)
1. **Timeframe and Liquidity:** Focus on the 5-minute timeframe for liquidity analysis.(timeframe for liquidity should be editble) 2. **Candlestick MSS:** Monitor 1-minute candlestick patterns for entry signals.(should be editble) 3. **Swing Points:** Identify swing points using the high and low of the last three candles.(ict swimg high and low) 4. **Sell Setup:** - Wait for a 5-minute candle to take out the swing
Hello Greetings. I have a custom tradingview strategy I would like to convert to Metatrader 5 ( mt5 ) . I have the source code a and with me. Kindly bid if it is what you can do for me and let discuss about the project. Thanks
I'm looking for a developer who has already working on a HFT tailored to pass prop firm challenges within a short period, maintaining a very low drawdown. Here is a link to a video demonstrating an existing EA executing the same strategy: https://youtu.be/N6NEcIpPzV4 Any developer having already worked on this type of project and able to provide quickly a test version is welcome to contact me
have trade signals i get by telegram messaging, i would like to have a robot designed to read those message for trade inputs and open and close trades base on the signals Ea must be able to scan my telegram Message app Read signals sent Open trades on the mt4 and manage them to close Read signals every one minute (user changeable input) I also need the programmer to teach me how to install and make the robot work
MACD EA 50+ USD
Hello Freelancers, I am seeking an experienced developer to create an Expert Advisor (EA) for MetaTrader 5 (MT5). The EA will be based on the MACD indicator and should adhere to the following specifications: EA Requirements: Trading Logic: 1. Long Trades: • Entry: Open a long trade when the MACD line crosses above the signal line below the zero level. • Exit: Close the long trade when the signal line crosses above
EA Configuration. FIBO ------------------------------------------------------------------- Magic: 123456 Stop: Real or Virtual Order: Pending / CLOSE / price== LOT Description: 0.01 ------------------------------------------------------------------- STOP: -0.25 ------------------------------------------------------------------- ENT_1: 1.00 Lot_1: 0.01 ENT_2: 0.50 Lot_2: 0.01 ENT_3: 1.00 Lot_3: 0.01
Hi I'm looking for a professional programmer to modify my EA the EA send signal alert to telegram and screen shot of the chart patterns my EA is dased to the harmonic pattern but I want to see on the screen shot the pattern of the harmonic pattern and on the chat as well

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
de 1 a 2 día(s)