Nguyen Van Luong
Nguyen Van Luong
  • Information
4 years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
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
Comment to topic 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
Comment to topic 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
Comment to topic 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
Comment to topic 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
erzo
erzo
Comment to topic Scripts: HTTP using WinINet directly in mql4
Mapick, i tred your solution, but it did not work. I searched a little, and found this: http://support.microsoft.com/kb/165298 It solved everything i needed. Here is my code modification that works
WebRequest() không cần khai báo URL, có thể dùng được với localhost
Wemerson Guimaraes
Wemerson Guimaraes
Comment to topic 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
Nguyen Van Luong
Added topic How to add the address 'http://localhost:12345/Test/GetTitle' to the list of allowed URLs on tab 'Expert Advisors'?
I cannot add the address 'http://localhost:12345/Test/GetTitle' to the list of allowed URLs on tab 'Expert Advisors' for development and testing my EA. Please help me
Nguyen Van Luong
Added topic [Error Report] MetaEditor (Build 4040) using too much CPU, Memory and Power usage!
I am using the computer (Desktop PC): Core i5, 12GB RAM Recently My computer often suddenly restarts if running the MetaEditor program.  The cause may be because the MetaEditor takes up too much of the computer's resources (CPU, Memory and 
shared author's Daniel Jose article
Replay
Developing a Replay System — Market simulation (Part 03): Adjusting the settings (I)
Developing a Replay System — Market simulation (Part 03): Adjusting the settings (I)

Let's start by clarifying the current situation, because we didn't start in the best way. If we don't do it now, we'll be in trouble soon.

shared author's Mohamed Abdelmaaboud article
Creating Graphical Panels Became Easy in MQL5
Creating Graphical Panels Became Easy in MQL5

In this article, we will provide a simple and easy guide to anyone who needs to create one of the most valuable and helpful tools in trading which is the graphical panel to simplify and ease doing tasks around trading which helps to save time and focus more on your trading process itself without any distractions.

shared author's Serhii Ivanenko code
 AutoTrendLines
The indicator automatically identifies points and draws support and resistance trend lines on them. There are two types of lines calculation
shared author's Mohamed Abdelmaaboud article
TrendLine
How to deal with lines using MQL5
How to deal with lines using MQL5

In this article, you will find your way to deal with the most important lines like trendlines, support, and resistance by MQL5.

shared author's Ahmed Soliman code
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.
Nguyen Van Luong
Added topic MT5 build 3661 too slow backtesting
3 months ago backtest was normal but now backtest is terribly slow. I don't know if it's because MT5 has changed or is there a problem with my computer
Nguyen Van Luong
Added topic How to crop image in MQL5?
After using ChartScreenShot(), now I want to crop a small area of chart. Please instruction me how to crop it in MQL5
Nguyen Van Luong
Added topic Issue with 'Commit to Storage' and 'Delete File or Folder' a file with a size of 0.00 kb (Empty file)
I have two emtpy file (0.00 Kb) on Storage. Now I want to 'Commit to Storage' or 'Delete File or Folder' but can not. Please help me how to delete it
Nguyen Van Luong
Added topic Help: MT5 can not update data
Throughout the day my MT5 has no data updates. 
Nguyen Van Luong
Added topic Help: Get data from web by using WebRequest()
I want to get data from https://api.investing.com/api/financialdata/41064/historical/chart/?interval=PT1M&amp ;pointscount=120 using function: bool GetFinancialData( string &Json) {    bool    Ret    =
shared author's Mladen Rakic code
 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.
Nguyen Van Luong
Added topic Why MT5 doesn't support D2 D3 D4 D5 W2 W3 timeframes?
My current system trade on H1 timeframe with support following D1 and W1 timeframes. Now I want to make new system trade on H2 timeframe withh support following  D2 and W2 timeframes but MT5 doesn't support the D2 and W2 timeframes. How do I