You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
It will.
Remind me, please, I think I have already corrected a similar error, but I came across it again and lost a lot of hours. It seems that in Convert.mqh the size of the target array is reduced. I should have put the uchar[39] array into the resource, but the ArrayToStruct function persistently considers the receiver of uint[] type as size 9, i.e. the last 3 characters are missing.
Yes, it is cut off. Try this
According to MQ recommendations, in the ResourceData file, in the GetFullName method the TERMINAL_DATA_PATH constant should be used instead of TERMINAL_PATH.
Both paths are the same for me, despite the fact that the terminal is launched without portable mode (apparently because UAC is disabled and I have write permissions to Programme Files). But if you connect via RDP, all sources are taken from Roaming. Many users probably have all sources in TERMINAL_DATA_PATH (different from TERMINAL_PATH) by default.
Based on MQ's recommendations, in the ResourceData file, the GetFullName method should use the TERMINAL_DATA_PATH constant instead of TERMINAL_PATH.
I guess so. I use portable, so I didn't pay attention. These codes are used by units. Like you, users have long ago corrected the paths to the right ones.
It's hard to do KB support, the work list has become thick.
Yes, it's cropped. Try this
I made alignment (addition) by 4 bytes in my calling code, and I did not edit Convert.mqh - after all, it is taken from your include folder and can be overwritten, so it is better to correct it in the KB (by the way, I did not really understand which project is the main one for header files Convert.mqh, Resource.mqh and ResourceData.mqh - maybe I am writing in the wrong place).
I made alignment (addition) by 4 bytes in my calling code, and I did not edit Convert.mqh - after all, it is taken from your include folder and can be overwritten, so it is better to correct it in the KB (by the way, I did not really understand which project is the main one for header files Convert.mqh, Resource.mqh and ResourceData.mqh - maybe I am writing in the wrong place).
TradeTransactions is not used.
HistoryTicks - I can't imagine trading in MT4 without it. Probably, it should be considered as the main one. But I cannot update it in KB.
Forum on trading, automated trading systems and testing trading strategies
Libraries: HistoryTicks
fxsaber, 2020.01.09 14:43
Didn't notice that the version in KB is old. Unfortunately, there is no way to update. The KB automaton gives this In ME everything compiles without errors.In HistoryTicks the responsibility is orders of magnitude greater since it's real. It has been licked in practice.
解决该错误,用 随附的 替换 Include \ fxsaber \ TradeTransactions \ Convert.mqh 。
const RESOURCEDATA<double>ResourceDouble("::Double_"+__FILE__);
const RESOURCEDATA<datetime>ResourceTime("::Time_"+__FILE__);
const RESOURCEDATA<string>ResourceString("::String_"+__FILE__);
'Data' - struct undefined Convert.mqh 85 49
Is it didn't work in MT4 build 1320 ?
Is it didn't work in MT4 build 1320 ?
Try this.