angreeee:
Two lines cannot make an area . . . you need at least three crossing lines and that is called a triangle. You can probably fill the shape using triangles and then use a trendline to signal to your code when you want to move the shape, you manually move the trendline and your code "sees" this and re-draws the shape as needed based on where you position the trendline.
i need a obj_quadrangle and there is only this one:
https://www.mql5.com/en/docs/constants/objectconstants/enum_object/obj_triangle
i can combine one quadrangle (with 4 different points) out of 2 obj_triangle
Is there any other way?
PS. i need to fill area between 2 lines (at an angle, so OBJ_RECTANGLE is out of the question). I tried understanding DRAW_FILLING, but i dont understand the explanation and i need it to be an object that i can move. I want to display graphical representations for grid and margin level call (filled with colors) for my strategy.
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 need a obj_quadrangle and there is only this one:
https://www.mql5.com/en/docs/constants/objectconstants/enum_object/obj_triangle
i can combine one quadrangle (with 4 different points) out of 2 obj_triangle
Is there any other way?
PS. i need to fill area between 2 lines (at an angle, so OBJ_RECTANGLE is out of the question). I tried understanding DRAW_FILLING, but i dont understand the explanation and i need it to be an object that i can move. I want to display graphical representations for grid and margin level call (filled with colors) for my strategy.