CamelCase.thing
is accessing a class-wide attribute instead of an instance attribute.
The same goes for the class declarations, and you like to use macros so much that I never know whether your class declarations are macros or enums. Typically, by MQL standard conventions, you should only use ALLCAPS for enums, macros, and constants -- and CamelCase is used for class declarations. Also, variables are defined using snake_case, by MQL convention.
It is not my intention to offend you with my constructive-criticism, and I know you work very hard to make these libraries free for everyone, which is awesome and we need more devs like you. I know that I don't speak only for myself, and if you just made a minor tweaks to the style being applied then more developers would use your libraries. That is what you want, is it not?
Thank you for your appreciation. I learned how to program in this forum. I publish my work because it disciplines. I use my descriptions as clues, because I very quickly forget what and how I wrote.
I apologize for my coding style, but it was intended for myself. And was published as a side effect.
Unfortunately, it is impossible to assess the popularity of published works. If someone uses them, then a very narrow circle of users.
Increase the number of users - there is no such goal.
Hello. When I tried to run this code, the compiler gave me this error:
initialize sequence for 'struct ONTRADETRANSACTION' expected ResourceData.mqh 36 17 see declaration of struct 'ONTRADETRANSACTION' OnTradeTransaction.mqh 5 8
How do I solve this? Sorry but I'm still very new to C++ programming.
Hello. When I tried to run this code, the compiler gave me this error:
How do I solve this? Sorry but I'm still very new to C++ programming.
Please make the following correction to the file MQL5\Include\fxsaber\TradeTransactions\TradeTransactions.mqh.
bool Select( const int iPos ) { // https://www.mql5.com/ru/forum/474452/page11#comment_54955106 const bool Res = (iPos < /*this.*/RESOURCEDATA<ONTRADETRANSACTION>::Total()); if (Res)t this.Pos = iPos; return(Res); }
The same error still got thrown even after I made that change, sorry.
Download each file separately from the Russian version of the codebase.


- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
TradeTransactions:
Access to OnTradeTransaction data anywhere within an application
Author: fxsaber