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

Plots Missing Dots, No Price Markers

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

    Plots Missing Dots, No Price Markers

    Hi there, I was wondering if anyone knows how I can fix my custom stochastic indicator.

    When I click on the plots, no dots - outlining the skeletal structure - are apparent. And also the price markers aren't showing even though I have "PaintPriceMarkers = True" in the code.

    I have attached 2 photos below. The first one showing my indicator. The second photo showing NinjaTrader 8's stochastic to see the circular "dots" I'm referring to as well as the price markers.

    Any help will be much appreciated.

    My stochastic indicator:
    Click image for larger version

Name:	image.png
Views:	18
Size:	16.4 KB
ID:	1295630

    NinjaTrader 8's stochastic:
    Click image for larger version

Name:	image.png
Views:	15
Size:	17.5 KB
ID:	1295631​​

    #2
    Hello RoswellTrader,

    Thank you for your post.

    What version of NinjaTrader are you using? The version may be found at Control Center > Help > About. Are the plots in your indicator added by calling AddPlot() or via a different method, such as custom rendering?


    I look forward to your reply.
    Emily C.NinjaTrader Customer Service

    Comment


      #3
      Hi Emily, thanks for your response. I'm currently using NinjaTrader 8.

      And yes, I'm calling the plots using the AddPlot() like this:

      AddPlot(Brushes.Transparent, "Fast");
      Plots[0].Width = 2f;

      AddPlot(Brushes.Transparent, "Slow");
      Plots[1].Width = 1.6f;​

      Comment


        #4
        Originally posted by RoswellTrader View Post
        Hi Emily, thanks for your response. I'm currently using NinjaTrader 8.

        And yes, I'm calling the plots using the AddPlot() like this:

        AddPlot(Brushes.Transparent, "Fast");
        Plots[0].Width = 2f;

        AddPlot(Brushes.Transparent, "Slow");
        Plots[1].Width = 1.6f;​
        Thanks for your reply.

        If the plots are transparent, then it is expected that no price marker will be shown. What are the results if you open the indicators dialog and change the colors of the plots to something other than transparent then apply the changes? I suspect this would add the plots to the chart visually, which you could then select and see the "dots" that show the indicator is selected and also paint the price marker.

        Please let us know if we may be of further assistance.
        Emily C.NinjaTrader Customer Service

        Comment


          #5
          Oh yes! This fixed it, thank you so much Your help is greatly appreciated!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by strategist007, Today, 07:51 PM
          0 responses
          3 views
          0 likes
          Last Post strategist007  
          Started by StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,969 views
          3 likes
          Last Post jhudas88  
          Started by rbeckmann05, Today, 06:48 PM
          0 responses
          5 views
          0 likes
          Last Post rbeckmann05  
          Started by rhyminkevin, Today, 04:58 PM
          4 responses
          58 views
          0 likes
          Last Post dp8282
          by dp8282
           
          Started by iceman2018, Today, 05:07 PM
          0 responses
          6 views
          0 likes
          Last Post iceman2018  
          Working...
          X