Hi
I’m trying to display the total count of some indicators that are at the same value at any one time.
Can anyone help please?
For example – lets say we had a moving average, a linear regression line, indicator a and indicator b on a chart and three of them were the same value, I would like to display a 3 either on the chart or in a histogram beneath it.
Thanks
Rob
So let’s say there are 3 indicators names a,b and c, we test their equal values and store the result in “result” variable:
result=a=b and a=c
if result is true then draw an histogram:
if result then
histo = 3
endif
return histo style(histogram)