Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DataSeries Strategy Plot

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

    DataSeries Strategy Plot

    I have an instrument pair. (Let's use aapl and msft as an example.)

    Using Add() I've calculated what I want to do with the pair in a DataSeries. Currently I have this as part of a strategy. I'm having problems trying to plot this. Is this currently possible to do? I haven't had any problems plotting an EMA(14) for example below:

    Initialize()
    Add(EMA(13));
    EMA(13).Plots[0].Pen.Color = Color.Blue;

    Is it possible to plot from under "OnBarUpdate()" with a DataSeries?

    Thanks.

    #2
    eleven, the Add() method is for adding indicators to display. To plot your custom dataseries, you can check into this reference sample - http://www.ninjatrader-support2.com/...ead.php?t=6651

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    573 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    575 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X