then ask in other mode:
In MT, Draw a circle or Ellips can be use three mode ,one is use ObjectCreate() to draw OBJ_CYCLES, another is use ObjectCreate() to draw OBJ_ELLIPSE, and third is use ObjectCreate() to draw OBJ_FIBOARC with OBJPROP_ELLIPSE.
We know only two coordinates can now to draw a ELLIPSE !!!
Who know MT how to draw a Ellips with only two coordinates?
And Another question: how to use time coordinate to get the price coordinate value on the OBJ_FIBOARC ?
Ellipse is determined with 2 lines - big radius and small radius.
2 points determine big radius (or rather double radius from center to one point and from center to another point ie diameter line). Big line is measured as x-axis in time units.
Small line is measured as y-axis in points.
Scale is the relation between big line time units and small line price units.
Set your chart for fixed 1:1 scale. It means 1 logical time unit contains as much physical pixels as 1 logical price unit. If you set ellipse scale as 1.0, then you get a regular circle
Setting 1:1 is nice...
In future, consider permitting user to specify X:1
1:1 can be useless on some instruments except in smallest timeframe.
Maybe you can help me with formulas for radius? depending from scale?
Im looking for 2 coardinates to use OBJ_ELLIPSE for Arc. insted of OBJ_FIBOARC.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
ObjectCreat() not good since it always draw ELLIPSE, I want to draw a circle with a line linke two points. but in MT, it draw ELLIPSE since different X/Y scale( Y is price, X is time, they are never same scale, but I want draw circle whenever axes change).
I want use one 2 coordinates, one parater is center point and another circle radius,
and circle radius is calculated based both the price and bar.
In other point, need consider time and price both.
about Fibonacci Arcs .......these arcs meeting the trendline at Fibonacci levels of 38.2%, 50%, and 61.8%.
How is it be drawn? X-diff on Xaxes and y-diff on Yaxes and trendline length?
Thanks.
another ,what is "scale object property"?