Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need simple priceline

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

    Need simple priceline

    Hello,
    i try developing a simple horizontal price line.
    I know there is one already availble but the symptoms are identically.
    When i add (220tick chart) the indicator a line is drawing (that's ok) but there is also an alarm going on every move of the line/price and the current price is draw just above the line.
    Any hint about deleting that alarm and the draw price ?
    BR
    Attached Files

    #2
    mate41,

    Are you saying that there is an alert sounding when you run this script?

    I do not see any alert/sound functions being used. I imported this and ran it on a 220 tick chart and did not experience the alerts or sounds. Are you sure this alert was coming from this script?
    MatthewNinjaTrader Product Management

    Comment


      #3
      Hello Matthew,
      yes exactly as i said! But in my 220tick chart, not my 1100tick chart.
      Attached a sshot and as you can see there is a price displayed just above the line; an alarm is going on every move of the price/line.
      Attached Files
      Last edited by mate41; 09-30-2011, 07:25 AM.

      Comment


        #4
        mate41,

        I've been running this script for 20 minutes on a 220 tick chart and have not heard anything out of it.

        How frequently do you hear this? Does the alert run less frequently if you set this indicator to COBC = True?
        MatthewNinjaTrader Product Management

        Comment


          #5
          Matthew,
          if i remove there is no more alarm.
          This alarm with the indicator sounds on EVERY move of the current price.

          How do i set and what is this COBC ?

          Comment


            #6
            Mate41,

            Sorry - that is CalculateOnBarClose. You can either set this to 'true' from the Initailize() method, or you change this from the Indicator "Data" section of the indicator options when you add this to your chart.
            MatthewNinjaTrader Product Management

            Comment


              #7
              Matthew,
              found the problem.
              Tried the indicator "LabelHorzLinesAlerts" yesterday and wasn't removed
              Sorry for the noise....

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              571 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              331 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              549 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              549 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X