AccumDistPrVol Scanner


Category:
0
1

TYVM for all the help on my previous post!!!!

 

I love the AccumDistPrVol study – I might just be the only person on earth but I don’t care.

 

What I want to do is find a stock whose last 15-minute bar is higher than the previous day’s highest point (really hope this makes sense).  I would give it a go myself but I can’t find an example of how to use that study!   Thanks!  below you’ll see my example, the left red circle is the previous days high and then the right circle is showing it’s higher than the day before.

 

Thanks in advance!!

 

 

 

 

 

 

 

Attachments:
Marked as spam
Posted by (Questions: 5, Answers: 3)
Asked on April 4, 2020 3:57 pm
218 views
0
I recently started looking at the same indicator after a recommendation by a guy in Youtube. Looks very interesting. I would like to understand if possible how you use it . Let me know please.
( at April 9, 2020 12:57 pm)
0
Private answer

I think this should to do it. Haven't tested it so let us know if you have any issues or find it doesn't capture that signal:

def accDistVolPr = AccumDist(high, close, low, open, volume);
def newDay = GetDay() <> GetDay()[1];
rec trackHighestValue = if newDay then accDistVolPr else if accDistVolPr > accDistVolPr[1] then accDistVolPr else trackHighestValue[1];
rec priorDayHighestValue = if newDay then trackHighestValue[1] else priorDayHighestValue[1];
plot scan = accDistVolPr > priorDayHighestValue;

Marked as spam
Posted by (Questions: 37, Answers: 4079)
Answered on April 5, 2020 9:05 am