I have got some error or I must do something wrong in this project
: https://fxdreema.com/shared/zXMCiR74b
I explaned my strategy in the project.
More informations is : when I got the highest Volume of last 23 candle (once a day) by Custom Code (this is DONE).
and then Find the candle ID that is equal to highest volume and then draw lines on that ID.
I have tried hard to make them find the highest volume candle ID. and stucked.
As below picture
- Volume = the last 23 (yesturday) highest volume.
- hi = High of the highest Volume candle.base on N
- hi = Low of the Lowest Volume candle.base on N
- N = Candle ID that contains the same Volume of above Volume (I think this have a problem)
the problem while testing (many times) is in the first 2-3 days or sometimes 4-5 days it does well !! like the 1st and 2nd picture below . And then after that "N" will be = 23 and never update in next next day also the Hori-line stop update like the last picture.
May be I did something wrong. Please tell me Thank you.





the way you show me is to find the highest candle of 10 or more candle period back.