Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Only display values greater than

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

    Only display values greater than

    Hi,

    I have an indicator that marks certain bars for me based on criteria. If the criteria are met, I set the plot to the close of the bar, otherwise I set the plot to -1 (due to calling the indicator from a strategy).

    When the indicator plots on the chart, how can I make sure that only values > -1 are the values of the plot that are painted / or how can I exclude plot values < 0, so my chart doesn't come up distorted with all the dots at the -1 level?

    Thanks!

    #2
    Hello,

    Thanks for the forum post.

    You would need to not set the plot with -1. If you do your telling NinjaTrader to plot -1.

    If you simply dont set the plot this will tell NinjaTrader not to plot it.

    Then you can use the following to tell if its set via code.



    Let me know if I can be of further assistance.

    Comment


      #3
      Thanks Brett, all is sorted out!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      158 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Today, 09:29 PM
      0 responses
      7 views
      0 likes
      Last Post Belfortbucks  
      Started by zstheorist, Today, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      151 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Started by mattbsea, Today, 05:44 PM
      0 responses
      6 views
      0 likes
      Last Post mattbsea  
      Working...
      X