Chart objects on two different pane - page 2

 
Jimdandy:

When you pass that arrow to the chart with an indicator buffer it is drawn at a certain time and price location it becomes part of the chart just like the candles.
You can not click on that arrow or a candle and move it like a graphical object.

It is part of the chart now... it is not ON the chart it is IN the chart ...
If you click on it you will get the properties of the indicator and the option to delete the indicator..

If you Place an arrow on a chart using ObjectCreate() then yes you can put it wherever you designate and yes you can grab it and move it on your chart.
It is ON your chart not IN your chart.... subtle differences yet very important..
PipPIp...Jimdandy


Thank you so much for such a nice and detailed explanation.
 
bugs09:


Thanks you angevoyageur that really helped.


I hope you are not being sarcasm.



SetIndexBuffer(2, g_ibuf_188); // a standard way decompiled code written
SetIndexStyle(2, DRAW_ARROW, EMPTY, 3, Alert_Long_Color);
SetIndexArrow(2, SYMBOL_ARROWUP); 

SetIndexBuffer(2, NamedRoutine); // example of a normal way code written
SetIndexStyle(2, DRAW_ARROW, EMPTY, 3, Alert_Long_Color);
SetIndexArrow(2, SYMBOL_ARROWUP); 

By the way, next time, make sure the code is written in normal way.

 
bugs09:

This was not supposed to be used as code. I just wanted to him know the method I was using in my code.

it doesn't matter don't post it
Reason: