Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Horizontal line label bug for multiple Instruments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Horizontal line label bug for multiple Instruments

    Hi

    One of our members shared the following indicator which labels price for all horizontal lines. However, whenever I change to a different symbol, it seems the labeled price is saved and carry over to the new symbol under the same window. Could there be a fix to this? Much appreciated

    thanks

    Here is the link to the Indicator



    I also attached the chart with the bug. It is a chart of Daily SPY, and those #s are horizontal lines from different symbols.
    Attached Files

    #2
    Do you see the same after pressing F5 on the chart to refresh your NinjaScript studies?

    Comment


      #3
      Yep, after F5, same bug persist.

      Comment


        #4
        Thanks, then I would suggest contacting the original developer of the study, perhaps he can look into matters and advice.

        Comment


          #5
          Revised HorizLineLabelAlert

          Qitrader,

          Here is the revised code that fixes the issue you are having.

          Thanks
          Rich
          Attached Files

          Comment


            #6
            Qi,

            Here is the revised indicator with the ability to change the Alert File Sound and also define the directory of where the alert file is

            Rich
            Attached Files

            Comment


              #7
              Add tag to line display

              I really like this indicator. Thanks.

              There is one other 'small' feature I would love to have......be able to label the line with a descriptor. I can't always keep track of why I put a line on the chart. If you could print the tag (line property) that would be great.

              I can make simple changes to Ninja scripts myself so if anyone would tell me how to pick up the tag and how to put it on the chart, I may be able to do it myself.

              Thanks

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              102 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              144 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              71 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by cmoran13, 04-16-2026, 01:02 PM
              0 responses
              125 views
              0 likes
              Last Post cmoran13  
              Started by PaulMohn, 04-10-2026, 11:11 AM
              0 responses
              79 views
              0 likes
              Last Post PaulMohn  
              Working...
              X