• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Series in ChartStyles

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

    Custom Series in ChartStyles

    Is it possible to define a custom series in a ChartStyle? If so, how?
    I have tried this and continue getting an error. "Cannot convert from myChartStyle to NinjaScript.NinjaScriptBase." Any suggestions would be greatly appreciated. Thank you.

    #2
    Hello Zeos6,

    The issues is that Series<T> objects are synchronized to the primary series (or another data series) and Chart Styles do not have that primary series.

    Instead, you can use a Bars object. If you need data you can do a BarsRequest.

    Below are publicly available links to the help guide.
    http://ninjatrader.com/support/helpG...en-us/bars.htm
    http://ninjatrader.com/support/helpG...arsrequest.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Got it. Thanks ChelseaB.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by dtl-saw, Today, 09:37 PM
      0 responses
      1 view
      0 likes
      Last Post dtl-saw
      by dtl-saw
       
      Started by StevenNelson, Today, 07:31 PM
      0 responses
      5 views
      0 likes
      Last Post StevenNelson  
      Started by TazoTodua, Today, 03:01 PM
      2 responses
      12 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Mykro, Today, 02:16 PM
      1 response
      15 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by tonynt, Today, 02:06 PM
      3 responses
      14 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X