Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

why does 'semicup' indicator show differently between data box and market analyer

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

    why does 'semicup' indicator show differently between data box and market analyer

    the semicup indicator, when semicup is formed and the pointer on the bar ,it shows digital reading in data box, if not semicup it shows N/A in data box, but in the market analyer column of the indicator-semicup, it always show the digital reading,same as the bar close price.totally different from the one in data box..why?i got the indicator from the below:
    www.ninjatrader.com/SC/April2011SC.zip.

    #2
    Hello,

    Thanks for the forum post and welcome to the NinjaTrader support forum.

    What happens is when the indicator does not set its plot NinjaTrader set it with the close price. Since you cannot have a null value in programming it must be set with something so the close price is substituted in.

    The chart does some detection to show N/A here instead of the close price. The market analyzer however does not do this detection. Therefor this is unfortunately expected.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      thanks for your answer.Actually I want to use the market analyzer to show which instrument is in the state of "semicup",which is not.is it possible to add some code in indicator to make the detection, like when it is in semicup, it shows "1" in columns,or show "o"?if it is ok ,pls give some example code to solve it..

      Comment


        #4
        Hello,

        This would be possible by using a version of the indicator that is meant for the market analyzer only and plots a 0 or 1 if its on or off.

        I do not have an exact sample on how to do this. However, you can contact one of our NinjaScript consultants to assist you with coding this or you can use our NinjaScript guide and forums to code this indicator yourself if you are a programmer.

        NinjaScript Consultants:

        NinjaScript Help Guide:

        NinjaTrader Support Forum:


        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        41 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        64 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X