Thank you
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to plot a double from a strategy
Collapse
X
-
Hello,
You cannot plot from within a strategy. Please plot from within an indicator or follow these instructions for limited functionaly plotting from within a strategy:
When running a strategy on a chart you may find the need to plot values onto a chart. If these values are internal strategy calculations that are difficult to migrate to an indicator, you can use the following technique to achieve a plot. NinjaTrader 8 With NinjaTrader 8 we introduced strategy plots which provide the abilityDenNinjaTrader Customer Service
-
Same problem with the indicator: I have two double variables (MIN and MAX) that I want to plot around the price.
If they were DataSeries, I know I could plot them using Add() and the Set function, but how can I plot the doubles?
If it's not possible, how can I convert the doubles into two DataSeries to be able to plot them?
Thank you
Comment
-
Hello,
Are you doing this within a strategy? If so, you will need to use my last post to learn more about how to do this.
If you are doing this within an indicator please go through our help guide tutorial using the following link. The tutorial describes this.
Please post some code so we can assist you better.DenNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
553 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
100 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
543 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
546 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|
Comment