![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Apr 2008
Posts: 310
Thanks: 0
Thanked 0 times in 0 posts
|
I have two double variables which I'd like to plot from my strategy. I know how to plot DataSeries (Add new Plot) but it doesn't work with the doubles. How can I do that?
Thank you |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
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: http://www.ninjatrader-support2.com/...ead.php?t=6651
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2008
Posts: 310
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
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. http://www.ninjatrader-support.com/H...verview18.html Please post some code so we can assist you better.
Ben
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ParabolicSAR called from strategy does not plot | ATI user | Strategy Development | 15 | 11-03-2008 02:42 PM |
| Plot My DataSeries from a Strategy | GuyFB | Strategy Analyzer | 4 | 01-16-2008 01:03 AM |
| indicator output double available to a strategy | gluebunny | Strategy Development | 1 | 12-09-2007 02:49 AM |
| Easiest way to plot a value from within a strategy? | FireFly | General Programming | 7 | 06-11-2007 08:33 AM |
| Double moving average ,double time frame | Mauro60 | Indicator Development | 3 | 01-23-2007 02:11 AM |