Search object in this candle
-
Hi all
i need a little help
I setup an Ea to search an object on chart, and it work, but it search all object in the all chart, i can set the command "For each Object" to search only in the last 2 candle?thx alot
-
@stelgar You can select the maximum number of objects to be searched for here:

-
If i use this option, search the first object or only if the object are in the candle id 0?
-
@stelgar The is no disticntion here for candle ID. That option will search for the maximum amount of specified objects that are on chart right now. If you select 2, it will find the first 2 there in the loop direction, no matter on which candle they are.
-
how would logic look for trading an object?
-
@jsauter86 @l-andorrà @Stelgar
you can look for the candle id
first you have to check the numbering logic of the objects (Z to A or A to Z) for the latest.
next step is that you pick the name of the current in loop picked object and store it to a variable
then get the candle id for that object and store it to another variable
check if the candle id is below 2 -
anyone able to link a premade example? lol
I dont understand that unless I see it. I don't use loops or objects so far.
-
Thx alot for the help, now work
