"object on chart" on previous candle ?
-

in the indicator appear block there is an option for "object on chart" can this be used to find arrows drawn on previous candle ?
because i dont see the option for "object on chart" attribute where you can select the candle id . -
@zackry Hi. if you want just find arrows drawn in the previous candle you can use Condition or Indicator is visible blocks and put candle ID 1
-
@xfire well thats the main issue , the attribute " object on chart" does not provide the candle id option , it wouldnt be a problem if it had the option to select the candle on which the ea should check if the object is visible or not , but as far as i am aware there is no option to select the candle id for the object on chart attribute
-
@zackry you should "Indicator is visible" block and put candle id 1.
if you working with the indicator you don't need use "object on chart" block for check indicator painting -
@xfire okay pardon my ignorance but as far as i am aware "indicator is visible " does not have the option for candle id 1
and i am not using the indicator, i am trying to detect the objects drawn by the ea -
@zackry Now, we have 2 issues. if you cant find candle ID you can see in the picture.
but if you don't work with indicator then how drawing arrows on the chart? do you draw?

-
@zackry in the first post you using indicator block!!
-
@xfire if you pay attention to the white box you will notice that i am indeed using the block "indicator visible" but the attribute in that block that i am using is "object on chart" which does not have the candle id selection box like the indicators or condition blocks
as for how i am drawing the arrows , i am drawing them using some calculations across multiple timeframe, thats why i am trying to detect the arrows on the higher timefram

-
@zackry I'm not sure you can use this block for your drawing. indicator block working for indicator buffers.
i tagged my friend for a look to your issue
-
@xfire well i think "object on chart" attribute for this block should work , because if it didnt then it wouldnt have been there
-
Drawing objects is my weakest point in fxDReema, I'm afraid. I would vote for using a whole 'For each object' tree and then you will find it for sure. I can't find a way to do that by using your selected block, sorry.
-
@zackry can you share your project? i want to see how you find the price and drawing arrows. i think we can use a better way for this issue
-
@zackry If you know the name, can't you choose the Candle ID 1? Haven't used it ever, but maybe it gives you the candle ID and you might compare it if it equals 1.

-
@trader-philipps tried that as well but it didnt work , luckily the arrows were being placed by the same ea so i used some flags to achieve what i was trying ...but it would have been better to find the arrow on the previous candle with that block