Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Grid lines disappear when adding indicator

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

    Grid lines disappear when adding indicator

    We have an indicator where we set:

    DrawHorizontalGridLines = true;
    DrawVerticalGridLines = true;


    in OnStateChange()when State == State.SetDefaults and it works fine on our end, i.e., grid lines are unaffected when the indicator is added or removed.

    However, a customer mentioned that he is having a problem where his grid lines disappear when he adds the indicator to a brand new chart. Basically, when the new chart is spawned the grid lines are there and after adding the indicator they disappear. Both our and the customer's NinjaTrader have the same version: 8.0.24.2 64-bit.

    Any ideas on what causes this behavior? Any solution?

    #2
    Hello VolatyTrading,

    Based on you setting it to true that would be an unexpected result for the lines to be removed. Is the client seeing any errors in the log tab or output window?

    It could possibly be a template if the indicator has a user input to control that. You may want to have the client try and remove any default template if one exists in the folder: Documents\NinjaTrader 8\templates\Indicator\IndicatorName


    I look forward to being of further assistance.

    Comment


      #3
      NinjaTrader_Jesse thanks for the tip! I believe it was a template issue.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      46 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      28 views
      0 likes
      Last Post PaulMohn  
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      163 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      98 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      158 views
      2 likes
      Last Post CaptainJack  
      Working...
      X