♥ 0 |
So far this is what I Have so far, but it calculates total volume from the open .
#Volume from Open to Intraday High (exclude premarket) def totaldayvolume = volume(period = “DAY”); plot data = if IsNaN(close[-1]) then totaldayvolume else Double.NaN;
I need help molding this code so that It only shows “front side volume” and STOPS totaling volume once the HOD candle is reached. If a new HOD candle is formed, the count may continue.
For example. if a stock opens at 2$ at 9:30am and spikes to $5 dollars then drops back to 3 dollars, Calculate the volume from the open candle ($2) to the HOD candle ($5)
Thank you
Marked as spam
|
Please log in to post questions.