f.pap / Publications
Forum
Issues related to custom symbols
I frequently use custom symbols, as I prefer downloading data from reliable external sources rather than relying on data retrieved directly from the broker. I appreciate the ability to programmatically create and update custom symbols using the MQL5 functions designed for this purpose. However, the
Custom symbols with negative prices: PricesAllowNegative property of JSON file is ignored
I want to create a custom symbol that supports negative prices, starting from a JSON file. I’ve noticed that if I set the PricesAllowNegative property to 1 in the JSON file, this value is ignored, and negative prices are still not allowed in the custom symbol properties . If I manually enable this
Print() function truncating very large strings
I'm producing some reports in large strings and print them to the terminal and I've noticed that the Print() function with very large strings truncates them after some thousands characters. For example, this scripts does not print the entire string: void OnStart () { string tmp =
Bug: currency set in Settings form of Strategy Tester window not propagated to TesterInit event
I think I found a bug, or at least a strange behavior, occurring when I choose to use in the Settings form of the Strategy Tester window a currency different from my account currency. I have an EUR account, and if I choose to use USD as currency in the Strategy Tester, I see that this information is
Local agents failing without any (apparent) reason
Hi, After updating to build 4040 I'm experiencing problems with optimizations: my local agents (the threads of my PC) fail without any apparent reason. When this happens, the optimizations starts being much slower and the results are all zeros. I attached a screenshot of the Strategy Tester window
FIXED: call non-const method for constant object error after updating to build 3440
I have found a problem in some code that compiled correctly before updating to build 3440. I have simplified the problem to these few lines of code: class CA { uint m_a; public : CA(): m_a( 0 ) { } uint Get() const { return m_a; } void Set( uint a) { m_a = a; } }; class CB { CA m_ca;
where is the crashlog?
I'm experiencing some problems with build 3802: MT5 crashes every couple of days with erros like this in the log: QQ 3 05:25:01.605 Exception C0000005 at 00007FF7CFD51F88 read to FFFFFFFFFFFFFFFF CD 3 05:25:01.606 Exception C0000005 at 00007FFDDE40E55C read to FFFFFFFFFFFFFFFF EQ 2 05:25:01.606
Question about how MQL5 language deals with temporary variables
Hello, I have a question that maybe regards the way MQL5 language deals with temporary variables. I created the following class: class Dummy { double a; public : Dummy( double _a): a(_a) { } Dummy( const Dummy &_v): a(_v.a) { } Dummy operator +( double _v) const { return Dummy(a + _v); }