Triangles relative to WINDOW, NOT chart?

 

So... It turns out that I cannot place anything else but TEXT (aka LABEL) with coordinates relative to window....

I had an idea for a graphic representation of signal meter that has do to with triangles -- got all exited - sketched out all the trigonometrical calculations - set down to code and it turns out that i can't place triangles on top of the window.. only on the chart? is that right? is my trigonometrical dream broken? ... p.s. will MQL5 has such option?

greatly appreciate responses.

 

WHRoeder, I din't think you understood my question

What i am talking about is not an indicator, but EA - a trading script.

and the problem is with the following:

here: https://book.mql4.com/functions/objects ;;

"..objects in a security window: text (OBJ_TEXT) and a text mark (OBJ_LABEL)"

so, as you can see on that picture - what i need - is to place "shape figures ", like the TRIANGLES ( BJ_TRIANGLE ) relative to left and top frame of security window, NOT as being linked to Price/Time axis.

and I can see that it doesn't seem to be even possible. Only [..Graphical object of OBJ_LABEL type ignores coordinates specified in the function; to set OBJPROP_XDISTANCE and OBJPROP_YDISTANCE of this object the ObjectSet() function must be used. ..]

and OBJ_LABEL is only text+color... or is it?

to paraphrase: can you apply ObjectSet(xyz,OBJPROP_XDISTANCE,777) to ObjectCreate(xyz,...) ??

 
tsaitl:

WHRoeder, I din't think you understood my question

What i am talking about is not an indicator, but EA - a trading script.

so, as you can see on that picture - what i need - is to place "shape figures ", like the TRIANGLES
Yes I did. Neither was I. Use a text with font wingdings. Look bottom left
 

you still don't get it... i don't mean ARROWS nor WINGLINGS, - I am talking about OBJ_TRIANGLE, a graphic object that uses THREE coordinated, like those triangles here: https://www.mql5.com/en/forum/132956

and, in any case, my question already has been answered here:https://www.mql5.com/en/forum/137984

and the answer is NO - it's not possible at all. just like i thought... but just wanted to make sure.

 

In fact there is a way to keep all object relative to your chart's screen. It requires a script or EA that will constantly readjust object's price-time coordinates in accordance with the screen's coordinates. We have already created such projects.