Hi there, I'm in trouble ... again. This time I'm trying to make a ShowMe for a 1-bar VOLUME-divergence with a price-high.
I want a dot on the current bar if the current bar is higher (or equally high) as the previous bar, and volume is lower than (or equal to) the previous volume-value.
Something very simple like this:
Code:
If High >= High[1] AND Volume < Volume[1]
then Plot1(High, "Vol")
Else NoPlot(1) ;
This works on most of the bars ... but a few errors creep in ... for some reason.
In the enclosed example for Microsoft, 60-minute in September, most of the divergences are correct (the green vertical lines showing the correct ones) ... but with 2 errors (the two red vertical lines).