Nguyen Van Luong / 个人资料
- 信息
|
6+ 年
经验
|
1
产品
|
1
演示版
|
|
0
工作
|
0
信号
|
0
订阅者
|
Nguyen Van Luong
Vladimir Karputov
评论给主题 How to start with MQL5
Maximum price of the indicator in the visible window Code: ChartGetDouble.mq5 Task: in the subwindow number '1' find out the maximum value of the window
Nguyen Van Luong
Tele
Sergei Poliukhov
评论给主题 Send alert signal to telegram
This example How send message from indicator to Telegram #property link "https://www.mql5.com" #property version "1.00" #property strict #property indicator_chart_window #include <Wininet.mqh>
Nguyen Van Luong
Alexander
评论给主题 NumbersSeparator() function for Print big numbers
string FormatNumber( string numb, string delim= "," , string dec= "." ) { int pos= StringFind (numb,dec); if (pos==- 1 ) { string nnumb=numb; string enumb= "" ; } else { nnumb=
Nguyen Van Luong
William Roeder
评论给主题 NumbersSeparator() function for Print big numbers
Compiled, not tested string DoubleToStrCommaSep( double v, int decimals= 4 ){ // 34,256,454.23 if (decimals == 0 ) return ( IntToStrCommaSep(v) ); if (v < 0 ) return ( "-" +
Nguyen Van Luong
共享作者Denis Zyatkevich文章
Gửi file Report qua FTP
交易报告及短信通知的创建和发布
交易者往往不能、也不想接连多少个小时被拴在交易终端那里。如果交易系统再或多或少地正规化、而且可以自动识别一些市场状态的时候,就更是如此。本文会讲述如何生成一份 HTML 文件格式的交易结果报告(利用“EA 交易”、指标或脚本),并通过 FTP 将其上传到 WWW 服务器。我们还会考虑以短信形式向手机发送交易事件通知。
Nguyen Van Luong
nicholish en
评论给主题 NumbersSeparator() function for Print big numbers
Late to the party... Here is a template function that can handle whatever number you throw at it. [MQL4/5] void OnStart () { double num = - 134523349345.23452345 ; Print (NumberToString(num, 4
Nguyen Van Luong
Anthony Garot
评论给主题 NumbersSeparator() function for Print big numbers
Converted whroeder1's code to MQL5. I noted the max numbers that work for each function in the comments. Note: I'm actually switching over to nicholishen's code. // Adapted from
Nguyen Van Luong
Automated-Trading
Experts: ChartBrowser
ChartBrowser : This is an utility which allows you to list all open charts, indicators, expert advisers, and scripts in alphabetic order, and switch between them. Author: Stanislav Korotky
Nguyen Van Luong
Vladimir Karputov
评论给主题 Partial close tickets separately
Lorentzos Roussos : Does the Partial remaining order get a new ticket in MT5 as in MT4 ? Example: //+------------------------------------------------------------------+ //|
Nguyen Van Luong
Xử lý ZigZag
Vladimir Karputov
评论给主题 How to start with MQL5
An example of working with the ZigZag indicator Code: ZigZag Example.mq5 Pay attention to the extremum search algorithm: if the value in the indicator buffer is not equal to "0.0" and not equal to

Nguyen Van Luong
Bắt sự kiện SL và TP để gửi thông báo qua các kênh thông tin.
Vladimir Karputov
评论给主题 How to start with MQL5
Example: tracking the triggering of Stop Loss or Take Profit Code: SL TP Triggered.mq5 //+------------------------------------------------------------------+ //|
Nguyen Van Luong
Cộng thêm nhiều ngày vào ngày hiện tại
Fernando Carreiro
评论给主题 add day to datetime variable
You should consult the documentation when in doubt: https://docs.mql4.com/basis/types/integer/datetime Datetime Type The datetime type is intended for storing the date and time as the number of
Nguyen Van Luong
共享作者Dmitry Fedoseev文章
Đọc để hiểu về Time()
MQL5 编程基础:时间
本文着重于讲述处理时间的标准 MQL5 函数,以及创建 EA 交易和指标时所需的处理时间的编程技巧和实用函数。更格外注意时间测量的一般性理论。本文面对的主要是 MQL5 编程新手。
Nguyen Van Luong
leoa451
评论给主题 How to check Market Open/Closed in MT5 ?
The method I use: bool Status() { trade.OrderDelete( 0 ); switch (trade.ResultRetcode()) { case 10017 : return
Nguyen Van Luong
Kiểm tra xem thị trường có mở cửa hay không?
MassimoMondo
评论给主题 Market Open or Close - how can I find it?
Gustavo Hennemann : Hi guys, There is no MarketInfo() in MT5. Also, this kind of solution works for holidays and days off? Thanks Hello, I found a simple solution with OnTimer routine. Let's see the
: