Nguyen Van Luong / Profile
- Information
|
6+ years
experience
|
3
products
|
0
demo versions
|
|
0
jobs
|
0
signals
|
0
subscribers
|
Nguyen Van Luong
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
Nguyen Van Luong
shared author's Vladimir Karputov code
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
Ở đâ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.
Nguyen Van Luong
Tham khảo để viết BarReplay
Vladimir Karputov
Comment to topic ohlc expert too export realtime price to csv in mql5
Remember: OHLC data is received from the bar! Example for PERIOD_M1 //+------------------------------------------------------------------+ //| OHLC to
Nguyen Van Luong
shared author's --- code
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.
Nguyen Van Luong
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

Nguyen Van Luong
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

Nguyen Van Luong
Mark531
Creating a custom symbol
Hello, I created a custom symbol following the tutorial here ( https://www.mql5.com/en/articles/3540 ). In the "Bars" tab, I click on "Import Bars", select M1 period and import a CSV file. I click on "Ok", the windows closes. Then I find my symbol in
Nguyen Van Luong
Fabio Fontes
How to import historical data into csv to symbol custom using CustomRatesUpdate?
* Sorry English is not my native language I want to create multiple custom symbols and import historical data from a csv I have managed to do this however the .hcc file is large and the writing speed is slow. I do not know so much programming in my
Nguyen Van Luong
Amir Yacoby
Comment to topic How to hide indicator plot
Jeepack : I want to hide/show my indicator plot based on a criteria. If I set the color to clrNONE, I still get a pop-up on mouseover of the invisible plot. That's still the simplest way to hide the
Nguyen Van Luong
shared author's Sahil Bagdi code
How to Disable/Enable Auto/Algo-Trading in both MT5 and MT4.
Just simple codes to Disable/Enable Auto/Algo-Trading in both MT5 and MT4.
Of course, DLLs must be allowed, This cannot be done without DLLs
Nguyen Van Luong
MQLMySQL
Eugeniy Lugovoy
Comment to topic Discussion of article "How to Access the MySQL Database from MQL5 (MQL4)"
lukins : Thanks! I will examine your solution in depth, it may be more stable than relying on MQL only. Just FYI there is a MQL4-only bridge I wrote a while ago for MT4 build 600+
Nguyen Van Luong
shared author's MetaQuotes code
Tham khảo
Smoothed ADX by John Ehlers
There are many algorithms of smoothing. This given indicator is for smoothing of standard indicator ADX. The code was translated from Easy Language.
Nguyen Van Luong
shared author's DMITRII PECHERITSA code
introsort - array sorting algorithm
hybrid sorting algorithm that provides both fast average performance and (asymptotically) optimal worst-case performance
: