Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddChartIndicator

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

    AddChartIndicator

    Hello,

    I have a strategy and I want to draw an indicator on the chart.


    if (State == State.DataLoaded)
    {
    AddChartIndicator(KeltnerChannel(distance, bars));
    }

    but it's not drawing anything.

    This used to work before.




    #2
    Hello jc.am,

    Thanks for your post.

    I don't see anything wrong with what you have posted unless the parameters of distance and bars are incorrect.

    When you apply the strategy, please check the "Log" tab of the NinjaTrader control center for any error messages related to the strategy (or indicator).
    Last edited by NinjaTrader_PaulH; 02-03-2021, 01:38 PM. Reason: Moved topic from "Platform Support" to "Strategy development"

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    79 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    65 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X