Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

plot

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

    plot

    Can you please help me with the compile error in the attached. May be I do not know how to correctly use plot. The objective is to set plots conditionally like when true plot = 1 and when false plot = 0.
    Attached Files

    #2
    Hello,

    Try double clicking the error and it might bring you to an area that is related to the error. I would also look in the Properties section of your code. I looked at it quickly and didn't see any thing that stuck out.

    For changing plots this link may or may not help:


    I did notice that you have overlay set to true yet you are plotting a value of "1" or "0" which likely won't be on your chart:


    To test it try plotting Close[0] to see if it will plot at all.
    DenNinjaTrader Customer Service

    Comment


      #3
      I have double clicked, gone to msdn site and the code makes no sense to me. You can help.

      It plots correctly
      I am trying to get the indicator in the market analyzer and set alert on it in the market analyzer. Please help

      Comment


        #4
        Hello,

        Its tough to know what the issue is because it is a custom indicator, but maybe if you posted a screen shot of what the indicator plots and screen shot or your MA settings for the alert I can help. This link my help also:
        DenNinjaTrader Customer Service

        Comment


          #5
          Please see attached. As you can see in the last column in MA it is giving the last price. I want it 0 or 1 and ALERT WHEN IT CHANGES STATE.

          If there is another way, please suggest. All I want is an alert when OBV is beginning to advance or decline
          Attached Files

          Comment


            #6
            Hello,

            So it is the error that you are having issues with right? It looks like you are going about it correctly from what I see. The error may be in your properties section. Try clicking on the grey "+" in a little box next to the word Properties and look for a little red underlined section. You also may be best off posting all of your code, including the properties part. (Not a screen shot.) I don't see anything wrong so far.
            DenNinjaTrader Customer Service

            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
            330 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