I have created the attached indicator which when loaded on either of the following instrument charts (^UVOL, ^DVOL, ^NUPV, ^NDNV) should automatically calculate and display the following NYSE & Nasdaq Market Breadth ratios -> NYSE-> (UVOL / DVOL) & Nasdaq -> (NUPV / NDNV).
For testing purposes at the moment the code only covers the scenario if the indicator is loaded on the ^UVOL chart.
So the indicator is supposed to be a multi-series indicator which attempts to Add the (^DVOL, ^NUPV and ^NDNV) series to perform the ratio calculations.
However, I don't believe that additions are happening or somehow the ratios are not calculating properly.
I would greatly appreciate anyone's help to get this Indy to work as desired. I'm sure it will be useful to many as I don't mind having it posted for other users to take advantage of.
Issue Resolved - Problem with variable type.
Thank you!
Comment