Le Minh Duc
Le Minh Duc
  • Information
no
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Freelancer at Home
Hello!
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
Le Minh Duc
Added topic Efficient Way To Work With CopyBuffer() From Other Timeframes
Hello everyone, I'm learning how to get indicator data from another timeframe. Currently I'm still copying data one by one in a loop. // Call this function in a loop double CopyDataHandle( int &handle, datetime startTime, int bufferIndex= 0 ) {
Le Minh Duc
Added topic Error 4806 CopyBuffer() With Multi Timeframes
Hello, I want to create an indicator that retrieves multi timeframe data of a custom indicator. Due to the original program is bulky so I have recreated it in a shorter version to reproduce the error, My intention is copy MACD data from different
Le Minh Duc
Added topic MQL5 Storage common error when commit
Hello guys, I got this error when trying to commit the edited file to MQL5 Storage, but it kept getting "Common error" without any other descriptions. I don't know what step I did wrong. It's worked smoothly before My process went like this: - Edit
Le Minh Duc
Added topic TimeDaylightSavings Doesn't Work On Backtesting
As the title,  TimeDaylightSavings() doesn't work when I run backtest for a year, it always Print out "true". Expected: I want to detect the time while running the backtest is considered daylight saving time or not int OnInit () { //---
Le Minh Duc
Added topic Is It Possible To Read Data From A File Once When Run Slow Complete Optimization?
Hello, I am currently building an EA and it uses data from an external file, the problem is that when running a single test each time it has to re-read that data file. The question is, is it possible to retrieve data once and save it somewhere to
Le Minh Duc
Published code No Repaint Heiken Ashi
The Heiken Ashi indicator with no repaint or repaint mode input option.
Le Minh Duc
Added topic MQL5 Helper is useless
When I click on the create a request button, I can only interact between the available options, I cannot send anything like a "create a request   " or "open a support ticket " to the admin team. Tried the service desk section in the profile
Le Minh Duc
Added topic Can not launch MQL5 debugger
Hello, I cannot launch the MQL5 Debugger, I tried with script, indicator and EA but it still failed. Is that a bug
Le Minh Duc
Added topic Problem with draw multi color lines
Hi, I'm trying to draw 8 color lines with 8 buffer colors in one day, base on time range, but almost of them are not showed on the chart, it only shows 4 buffers on data window. I spent all day without finding the cause. Where did I go wrong? My
Le Minh Duc
Added topic How to set indicator level color to transparent?
As title, i've already set INDICATOR_LEVELCOLOR =  clrNONE but it still show level color on initialize.       for ( int i = 0 ; i < 8 ; ++i) {        IndicatorSetDouble (
12