Please Help me to Find the candle ID.
-
I Have got the highest Volume Of last 24 candles and I put that volume in "MaxVolume" variable.
I tried to find the solution in this forum but i cannot found the exactly solution.
I want to find the candle ID that has the value of "MaxVolume"
It is very confusing to me. Please help

️ -
@namfon122 Put candle ID in what to get.

-
May be this is another question about volume
-
@jstap Thanks for your answer
the way you show me is to find the highest candle of 10 or more candle period back.... but I want to find the highest "volume" candle of last 24 candle (Last Day...or last 24 hours) and OK I have found it.
My each 24 candles have their own tick volume into variables (such as c1 c2 c3 ....to c24)
I put the highest value of volume that I have got into the variable "MaxVolume" -------- > but I cannot find the candle ID (c1 c2 c3..... to c24) which one that have the MaxValue ?.please help again.
-
@namfon122 < is below, > is above, put a shared link here and I'll have a look, to put it skimpily though, the same method that is used to find volume can likely be used for ID.
-
https://fxdreema.com/shared/tmlxIDGHc
More info : my condition is to draw line at High an Low of the Highest Volume candle yesturday. only one time a day when market Open .
@jstap Thank you
-
@namfon122 Sorry mate I am not sure but, have you seem Miros zigzag code? the princable is the similar, you may be able to adapt this to your needs.
-
@jstap thank you and I tried to make this code for my condition but I can't ... By the way thank you so much





-
@namfon122 No problem