NabiKAZ: In here: https://docs.mql4.com/objects/objectmove written: The first parameter is mistake, I thinks must be chart_id.
Yes, the MQL4 documentation is incorrect. The are two versions of the function and the one option of the function should be:
bool ObjectMove( long chart_id, // chart identifier string object_name, // object name int point_index, // anchor point number datetime time, // Time double price // Price );
You can use the MQL5 documentation as a reference for the correction to the MQL4 documentation: https://www.mql5.com/en/docs/objects/objectmove
The second option is as the MQL4 documentation specifies:
Documentation on MQL5: Object Functions / ObjectMove
- www.mql5.com
ObjectMove - Object Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
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
In here:
https://docs.mql4.com/objects/objectmove
written:
The first parameter is mistake, I thinks must be chart_id.