Le Minh Duc
Le Minh Duc
1 (1)
  • Information
2 years
experience
2
products
0
demo versions
0
jobs
0
signals
0
subscribers
Freelancer at Home
Hello!
Le Minh Duc
Added topic Error: Invalid tick after extend
Sometimes it happens, I don't know why
Le Minh Duc
Published code Ascending Sort A Struct Array By A Field Example
This is an example of ascending sort a struct list by a field. You can find out and customize the above algorithm depending on the purpose of use, this is the most basic example is also a direction to resolve the arrangement in an array of structure. The algorithm used in this example is Quick Sort and Merge Sort.
Le Minh Duc
Added topic What happened to Algo Forge MT5 Build 5200?
Nothing changes but all files marked as modified? Is that a new feature
Le Minh Duc
Added topic AccountInfoDouble(ACCOUNT_PROFIT) Error
void OnStart () {    Comment ( AccountInfoDouble ( ACCOUNT_PROFIT )); }   It always returns 0.0
Le Minh Duc Published product

The Stats Probability (CStatsBoard) MQL5 Indicator is an advanced analytical tool designed to statistically measure price fluctuations as percentages, presented in a professional, real-time table format within a sub-window. With its high-speed updates and exceptional accuracy, this indicator is a must-have for traders looking to gain deep insights into market behavior and make informed decisions. Key Features: The tool is displayed in a sub-window as a sleek, professional table (CStatsBoard)

Le Minh Duc
Added topic Is there a way to restart the test with changed input programmatically?
The specific idea is as follows: EA has inputs: int countorders= 1 string timeclose = "5:00" double lot = 0.04 ... After running, EA returns a result set of inputs in a file as follows: countorders = 4 timeclose = "7:25" lots = 0.04 ... Start
Le Minh Duc
Added topic Real Time CustomRatesUpdate() Eat A Lot Of Disk Space !!!
I'm using CustomRatesUpdate() function . It costs up to 2-3GB of disk space on real time running  interval 1 sec in 24 hours (version A) but while I copy M1 timeframe data from server then CustomRatesUpdate() from 8/2024 just in 7MB
Le Minh Duc
Added topic OnTradeTransaction : Not Catching Enough Events When Performing Close All Positions Bulk Operation
I tested this code without errors when closing each position one at a time. But when performing  Close All Positions Bulk Operation, it does not recognize enough events. You can watch the video for more information.  int OnInit () {
Le Minh Duc Published product

Lightweight Candle Time Countdown Description: Introducing   the   Candle   Countdown   Indicator ,   a   precise   and   lightweight   tool   designed   to   display   the   remaining   time   for   the   current   candlestick.   This   intuitive   indicator   is   easily   customizable   to   suit   your   preferences   and   ensures

Le Minh Duc
Added topic Optimization Result Different From Single Result
I just realized it after retesting the results with a single test. I rechecked some random passes, they all did not work as optimized results. I rechecked the parameters, and it's the same. I have no idea why it happened like that. My EA doesn't
Le Minh Duc
Added topic Storage Error: Failed Creating Diff Data
I got this error while committing files to MQL5 storage . I tried: - Restart MT5 several times - Relogging my account But still getting this error. MQL5 recently has errors that are tough to explain
Le Minh Duc
Added topic Backtesting Status Never Completed, Empty Backtest Report
I have a problem when performing a backtest. After finishing the test, I don't have the results of the Backtest report, the status always stops at around 98-99%. And I don't have any error message in the logging tab. When I profile history, my
Le Minh Duc
Added topic Internal Compiler Error When Trying To Build A Large EA
Hi, I got "Internal Compiler Error" message when trying build a large EA containing millions of lines of code (for testing purpose, I get tired of having to read files every test). Total data is about 4-500mb. But when I reduced the data size to
Le Minh Duc
Published code SAR ADX Signal
SAR ADX Signal with mobile notification, rewritten from MT4 version (source no longer found). This is a repaintable indicator, please be careful when using it.
Le Minh Duc
Added topic _AppliedTo Return 0 When Calling iCustom
Hi, I'm testing some features, and am stuck trying to use data from another indicator using iCustom()  The goal is that I want to pass applied price or an indicator handle to iCustom, but in that Indicator it always returns value = 0. 
Le Minh Duc
Added topic Wingding Arrow Error, Displaying Square Instead
I realized there are some characters in the wingding code that cannot be displayed properly, it always displays as a square. I use the example in the documentation with several inputs but it's still the same. void OnStart ()   { //---
Le Minh Duc
Added topic Optimization Error: Expert file ...ex5 Open Error [2]
Good day, I got this error when running optimization , but this error does not occur when I run single test . This error did not affect the test results, but after a few thousand passes my log file was stuffed to tens of GB of data, which
Le Minh Duc
Added topic How To Get Lot Size Base On Money Amount, Open Price And Stop Loss
Hi, I have an ideal that I can get lot size by amount of money at risk. But MQL5 doesn't have a default function to do that. So I create a function like: double GetLot( ENUM_ORDER_TYPE type, double SL, double openPrice, double moneyAmount) {
Le Minh Duc
Added topic Better Way To Get Recently Order Ticket?
 Hello, I am currently using this method to get an order ticket when the order is placed successfully. Is this method the best practice? Is there any other more effective and secure way? Thank you in advance. if (trade.PositionOpen( _Symbol
Le Minh Duc
Added topic The way PR pointing is Ridiculous
Situation: I have 2 computers both running agents. It's funny that the computer with a CPU with nearly half the power of the other (Core i5-6500T vs Core i5-13400) has a higher PR score. Both are set to high performance mode. All of my
12