
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
curwords = NULL
why doesn't Print("next======",curwords.m_next!=NULL); throw an error?
because
curwords.m_next!=NULL
Do you zero references when creating objects?
It's not NULL when creating it.
The developers have given you the CheckPointer function.
The element with index 0 is deleted, while the most recent element of the array should be deleted, i.e. with index (n-1), where n is the size of the array.
reset
int OnInit()
{
firstwords.m_next=NULL; firstwords.m_prev=NULL;
result is the same
try it yourself
try it yourself
why should i try it :)
it works fine for me :))
Icons can be set up and displayed as required.
The terminal writes to the User folder. I specify the /portable key in the shortcut.
reset
int OnInit()
{
firstwords.m_next=NULL; firstwords.m_prev=NULL;
result is the same
try it yourself.
Please write to servicedesk. Specify OS, bit rate and build of the terminal. Please attach the source code on which the problem is reproduced continuously - let's deal with it.
OK. Then I'll take the nerve. So, the description of the Print() function says that "data of the double type are printed with the precision of 16 decimal digits after the point". In fact, it turns out that the Print() function outputs somewhat rounded data:
MP 0 victorg2 (EURUSD,M1) 11:04:42 Print(DoubleToString(b,16))=199.999999999999999716
Thanks for bringing up the topic, a new, more complete example for the Print function has been added to the help:
Example:
how do I know the Point for two currencies?
for the current instrument:
say for currencies Symbol1, Symbol2?
The item size can be obtained with SymbolInfoDouble(symbol_name, property).
ENUM_SYMBOL_INFO_DOUBLE
Identifier
Description
Property type
SYMBOL_BID
Bid - best offer for sale
double
SYMBOL_ASK
Ask - best bid
double
SYMBOL_LAST
Price at which the last trade was executed
double
SYMBOL_POINT
Value of one pip
double