I wrote the following code (on version 1.74) in order to display an indicator for the advance decline ratio. However, what I get back on the display is an 'infinitely' long number which display as a straight line. I tried dividing and multiplying by a infinitely small decimal, but nothing seemed to work. Is there a code for this somewhere? Thanks for your help in advance.
Here is what I wrote (it works, but the display is wonky)
vars ado = ADO;
var ado1 = (ado + ado) - (ado + ado);
vars ado1ser = series(ado1,1);