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
Since the availability of CCanvas it is time for a Vector library. To do so, I tried to port parts of paperjs.org (The Swiss Army Knife of Vector Graphics Scripting) to MQL.
Help is needed cause I can't fix the remaining issues myself.
I guess that there will be an official library provided soon, and there is already the Controlls/Rect.mqh (faar too simple - but a start).
Here is the Coordinate.mqh struct (place it in the Include folder) and a CoordinateTest.mq5 script(place it in Scripts folder)
Run the CoordinateTest on any chart, the script tests all the methods and some results are not as expected (errors with line numbers are printed).
I don't know why it's not working - maybe you can help me.
regards Daniel