• 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 superkolleech, Today, 12:46 AM
      1 response
      11 views
      0 likes
      Last Post MojoJojo  
      Started by davidwade, Today, 02:51 AM
      0 responses
      3 views
      0 likes
      Last Post davidwade  
      Started by aviat72, 04-26-2020, 09:41 PM
      10 responses
      92 views
      0 likes
      Last Post kissandfly  
      Started by healthooa, Today, 01:28 AM
      0 responses
      8 views
      0 likes
      Last Post healthooa  
      Started by harjinderjit, Yesterday, 08:24 PM
      0 responses
      20 views
      0 likes
      Last Post harjinderjit  
      Working...
      X