Questions from Beginners MQL5 MT5 MetaTrader 5 - page 934
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
Can you tell me how to change this function to find andclose a position that has an AAA comment?
Help:CPositionInfo
Access to text properties ...Thank you.
Also, could you please tell me why the implicit conversion from 'number' to 'string' is being swore at compilation
if(m_trade.Buy(InpLots,m_symbol.Name(),m_symbol.Ask(),sl,tp, "AAA")
What should the correct buy command look like?
Thank you.
Also, could you please tell me why the implicit conversion from 'number' to 'string' is being swore at compilation
if(m_trade.Buy(InpLots,m_symbol.Name(),m_symbol.Ask(),sl,tp, "AAA")
What should the correct buy command look like?
Reference:Buy.
Help:Conditional if-else statement
That's not how you wrote the code.
Here is the code
The compiler complains about"AAA "+chislo
That's not how you wrote the code.
Here is the code
The compiler complains about"AAA "+chislo
Reference:IntegerToString
Added: That's all for today. I'm already asleep.
That's not how you wrote the code.
Here is the code
The compiler complains about"AAA "+chislo
Vladimir Karputov, Alexey Viktorov
Thank you
Please advise on the code.
At the moment there are 4 bays open with 1 lot each and 4cells with 1 lot each. The symbol is the same.
Only 1 buy and 1 sell is closed in this position.
Nothing is closed at all in this position
What should I do to close all 4 buys and 4 sells counterclosed?