Google asked to search for site:mql5.com #include <Trade\Trade.mqh> would habe brought you this:
- 2020.04.24
- www.mql5.com
Still dont understand ....
when I use this:
It says identifier already used ... (CAccountinfo)
but, FreeMargin still gives error.
Why=?
You can write but not read? Amazing!
The example of the link has no
class CAccountInfo : public CObject
FreeMargi() is not a MQL5 function recognizable by the fact that it is not highlighted in color.
So it has to be declared and properly 'filled'.
Otherwise you would be able to place the cursor on that and press F1 and your are directly taken to the reference - arrgh, again something to read for you :(
Here is the list of al MQL5 function there you can search for keyword e.g. like margin: https://www.mql5.com/en/docs/function_indices
- www.mql5.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi
I included this library:
#include <Trade\Trade.mqh>
but when using this variable:
this error eppears:
what is wrong ?????