Nguyen Van Luong
Nguyen Van Luong
  • 信息
5+ 年
经验
1
产品
1
演示版
0
工作
0
信号
0
订阅者
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 已发布产品

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
评论给主题 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
评论给主题 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
评论给主题 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
评论给主题 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
评论给主题 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
共享作者Daniel Jose文章
Replay
开发回放系统 — 市场模拟(第 03 部分):调整设置(I)
开发回放系统 — 市场模拟(第 03 部分):调整设置(I)

我们从梳理当前状况开始,因为我们尚未以最好的方式开始。 如果我们现在不这样做,我们很快就会遇到麻烦。

共享作者Mohamed Abdelmaaboud文章
使用MQL5轻松创建图形面板
使用MQL5轻松创建图形面板

在这篇文章中,我们将为任何需要创建交易中最有价值和最有用的工具之一的人提供一个简单易行的指南,即简化和轻松执行交易任务的图形面板,这有助于节省时间,并在不受任何干扰的情况下更多地关注您的交易过程本身。

分享作者Serhii Ivanenko代码
 自动趋势线
该指标自动识别支撑和阻力点, 并根据它们绘制趋势线。这里计算两类线
共享作者Mohamed Abdelmaaboud文章
TrendLine
如何利用 MQL5 处理指示线
如何利用 MQL5 处理指示线

在本文中,您将发现利用 MQL5 处理最重要的指示线(如趋势线、支撑线和阻力线)的方法。

分享作者Ahmed Soliman代码
Tham khảo lấy giá trị theo TrendLine theo thời gian
 趋势线触碰警报
该指标在价格触及趋势线时简单地发出警报或电子邮件。
分享作者Mladen Rakic代码
 Schaff 趋势循环
Schaff 趋势循环(Schaff Trend Cycle, STC) 指标可以比 MACD 早很多就侦测到趋势的上下变化。它是通过使用相同的指数移动平均 (EMAs) 来做到这一点的, 只是加上了一个货币循环趋势因子组件。因为货币循环趋势的变化是基于一定的天数的,这个因素考虑到 STC 指标中会使它比 MACD 更加精确可靠。
分享作者Vladimir Karputov代码
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
 固定保证金资金
用于计算在固定保证金水平的条件下手数值的实例。也就是说,如果您指定 10%, 保证金为可用保证金10%的仓位就会建立。
Tham khảo để viết BarReplay
Vladimir Karputov
Vladimir Karputov
评论给主题 ohlc expert too export realtime price to csv in mql5
Remember: OHLC data is received from the bar! Example for PERIOD_M1 //+------------------------------------------------------------------+ //| OHLC to
分享作者---代码
Tham khảo WebRequest -> POST
 JSON Serialization and Deserialization (native MQL)
JSON 协议序列化和逆序列化。代码从高速的 С++ 程序库移植而来。
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)