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"
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by t.kelly4149, Today, 05:36 PM
    1 response
    5 views
    0 likes
    Last Post bltdavid  
    Started by SilverSurfer1, Today, 06:29 PM
    0 responses
    16 views
    0 likes
    Last Post SilverSurfer1  
    Started by trader3000a, Today, 01:06 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by marcus2300, Today, 11:45 AM
    3 responses
    31 views
    0 likes
    Last Post marcus2300  
    Started by pel11, Today, 11:06 AM
    0 responses
    13 views
    0 likes
    Last Post pel11
    by pel11
     
    Working...
    X