Let's say you want to create a quadratic (second degree) curve, try this:
ObjectCreate(0,"QuadraticSpline",OBJ_SPLINE,0,time1,price1,time2,price2,time3,price3);
But if you want to create a cubic spline, you can try this:
ObjectCreate(0,"CubicSpline",OBJ_SPLINE,0,time1,price1,time2,price2,time3,price3,time4,price4);
Sorry, this is just a joke. It is sad there is no straightforward way to draw spline with MQL5. You may have to try something else. Or am I wrong?

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
I guess this is a feature request, as I would really use one of these 2 objects.
Do you think it's possible to add one of these objects in the future?