Nguyen Van Luong
Nguyen Van Luong
  • Informazioni
5+ anni
esperienza
1
prodotti
1
versioni demo
0
lavori
0
segnali
0
iscritti
Nguyen Van Luong
Nguyen Van Luong
Trading with the MQL5 Economic Calendar (Part 7): Preparing for Strategy Testing with Resource-Based News Event Analysis https://www.mql5.com/en/articles/17603
Nguyen Van Luong Prodotto pubblicato

This is a service used to create custom symbols from an existing symbol by adding D2, D3, D4, W2 and W3 timeframes.  List Symbols (Exp: EURUSD,GBPUSD,XAUUSD) : Declare the list of symbols to create the custom symbols. Example: AUDUSD,EURUSD,EURGPB,XAUUSD. Now the service will create the following custom symbols: AUDUSD_D2, AUDUSD_D3, AUDUSD_D4, AUDUSD_W2, AUDUSD_W3  EURUSD_D2, EURUSD_D3, EURUSD_D4, EURUSD_W2, EURUSD_W3 EURGPB_D2, EURGPB_D3, EURGPB_D4, EURGPB_W2, EURGPB_W3

StringSet unique_symbols; for (int i = PositionsTotal() - 1; i >= 0; i--) { if (mm_position.SelectByIndex(i)) { unique_symbols.Add(mm_position.Symbol()); } } Print("Symbols total = ", unique_symbols.Total() + " " + unique_symbols.At(0) + " " + unique_symbols.SearchLinear("NZDCHF"));
nicholish en
nicholish en
Commento all'argomento Function to Calculate Number of Opened Symbols
Olufemi Odunuga : Thanks Keith, Your observation is noted. I was just trying to make it simple. I thought my explanation would suffice. It's not simple, it's spaghetti code . You need to create a
salitos
salitos
Commento all'argomento How can I get the Highest and Lowest between 2 hours every day
CopyRates() has a variant that takes the start time and end time explicitly. I prefer CopyRates/CopyHigh/CopyLow as it provides the facility to check that you have all the data before using it further
Alain Verleyen
Alain Verleyen
Commento all'argomento Unicode not fully supported?
Mladen Rakic : As far as I have checked it, it seems that using objects that are aimed to display text in any form (since objects are using "regular" strings as "buffers" for the text that needs to
Unicode not fully supported?
Chép dữ liệu của MT5 trong thư mục AppData sang ổ đĩa khác
Mateus Botelho Mattos
Mateus Botelho Mattos
Commento all'argomento How to change the data folder in MT5?
Hello, I know this is an old thread, but here how I changed all my MetaTrader 5 folders do another hard drive, using Windows Hard Link: a) Close all your MetaTraders and copy the directory to the new
WebRequest() không cần khai báo URL, có thể dùng được với localhost
Wemerson Guimaraes
Wemerson Guimaraes
Commento all'argomento Loading remote URL via Wininet.dll... how to detect HTTP errors ?
Ex Ovo Omnia : I have been using HttpQueryInfoW (HTTP_QUERY_STATUS_CODE|HTTP_QUERY_FLAG_NUMBER as the info level) to get the response status code of an asynchronous request. I am not sure if it works
codice condiviso dell'autore Mohamed Abdelmaaboud
Creare Pannelli Grafici è Diventato Facile in MQL5
Creare Pannelli Grafici è Diventato Facile in MQL5

In questo articolo forniremo una guida semplice e facile a tutti coloro che hanno bisogno di creare uno degli strumenti più preziosi e utili nel trading, ovvero il pannello grafico, per semplificare e facilitare le attività di trading, aiutando a risparmiare tempo e a concentrarsi maggiormente sul processo di trading stesso senza alcuna distrazione.

codice Serhii Ivanenko condiviso dell'autore
 AutoTrendLines
The indicator automatically identifies points and draws support and resistance trend lines on them. There are two types of lines calculation
codice condiviso dell'autore Mohamed Abdelmaaboud
TrendLine
Come gestire le linee utilizzando MQL5
Come gestire le linee utilizzando MQL5

In questo articolo, troverete il modo di gestire le linee più importanti come le trend line, supporto e resistenza con MQL5.

codice Ahmed Soliman condiviso dell'autore
Tham khảo lấy giá trị theo TrendLine theo thời gian
 TrendLine Touch Alert
This indicator simply alerts and sends email every time the trend line touched by the price.
codice Mladen Rakic condiviso dell'autore
 Schaff Trend Cycle
The Schaff Trend Cycle (STC) indicator detects up and down trends long before the MACD. It does this by using the same Exponential Moving Averages (EMAs), but adds a cycle component to factor currency cycle trends. Since currency cycle trends move based on a certain amount of days, this is factored into the equation of the STC indicator to give more accuracy and reliability than the MACD.
codice Vladimir Karputov condiviso dell'autore
Note that when calculating the lot depending on the risk of free margin, StopLoss does not matter.
Ở đây Risk là % margin sẽ sử dụng chứ không phải % thua lỗ chấp nhận
 Money Fixed Margin
An example for calculating the lot value with a fixed margin level. That is, if you specify 10%, a position with the margin equal to 10% of free margin will be opened.
Tham khảo để viết BarReplay
Vladimir Karputov
Vladimir Karputov
Commento all'argomento ohlc expert too export realtime price to csv in mql5
Remember: OHLC data is received from the bar! Example for PERIOD_M1 //+------------------------------------------------------------------+ //| OHLC to
codice --- condiviso dell'autore
Tham khảo WebRequest -> POST
 JSON Serialization and Deserialization (native MQL)
Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library.
Fab
Fab
Please help with custom symbols!
Dear people,  After having tried to ask in an existing old thread ( https://www.mql5.com/en/forum/300712#comment_18993310 ) and having made a lot of experiments, I am here for asking again. Since I did not manage to create a custom symbol from a
Please help with custom symbols!
Ammar Yaseen
Ammar Yaseen
Import Custom Symbol: json (how to change to csv)
Hi, I am trying to make a custom symbol and import data. However the only option I am getting are json files which I believe are text files. The browser isnt recognizing any txt files. How to change the option from json to csv so I can use the custom
Import Custom Symbol: json (how to change to csv)