RelativeStrengthIndex returns "index out of bounds" for Cdn or preferred shares

Discussion in 'Troubleshooting' started by Stephen Vetter, Mar 9, 2019.

RelativeStrengthIndex returns "index out of bounds" for Cdn or preferred shares

  1. Stephen Vetter

    Stephen Vetter New Member

    Joined:
    Jun 24, 2017
    Messages:
    11
    Likes Received:
    2
    Hi Ankur

    Starting as-of yesterday (2019-03-08)
    RelativeStrengthIndex(Symbol As String, Optional Days As String = "14")

    returns
    • "index out of bounds" for
      • Any Canadian symbols: e.g. BMO.TO, AAL.V, LXX.CN
      • Preferred shares or other shares containing "-": e.g. ARNC-PB, BF-A, BRK-B, RDS-A,
      • Mutual fund symbols: e.g. VIPSX, FSMEX, WHOSX
    • "nan" for
      • New symbol MCHOY (started trading this week as a spin-out from NPSNY

    Any idea what could be causing this? All of the symbols (except MCHOY) have been in my database for a while with no previous issues.

    Many thanks! Stephen
     

Share This Page