NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 06-30-2012, 04:37 AM   #1
Beauregard
Senior Member
 
Join Date: Dec 2009
Posts: 135
Thanks: 2
Thanked 1 time in 1 post
Default Plotting into chart

Hello
somehow I did not yet understand how to plot into the chart.
1. If I used an indicator (for example SMA) and I want that the value is plotted in the chart, what exactly must I do?
2. If I want to plot a custom calculated value (calculated in my strategy, not as an indicator), how can I plot this value?

thanks
Beauregard is offline  
Reply With Quote
Old 06-30-2012, 12:49 PM   #2
NinjaTrader_AdamP
NinjaTrader Customer Service
 
NinjaTrader_AdamP's Avatar
 
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 375 times in 365 posts
Default

Beauregard,

You can use the following reference sample : http://www.ninjatrader.com/support/f...ead.php?t=6651
NinjaTrader_AdamP is offline  
Reply With Quote
Old 07-03-2012, 10:20 AM   #3
Beauregard
Senior Member
 
Join Date: Dec 2009
Posts: 135
Thanks: 2
Thanked 1 time in 1 post
Default

thanks. the example link is only for real time charts. I am looking for backtesting charts with strategy analyzer. Is it there not possible to plot?
Beauregard is offline  
Reply With Quote
Old 07-03-2012, 10:39 AM   #4
NinjaTrader_AdamP
NinjaTrader Customer Service
 
NinjaTrader_AdamP's Avatar
 
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 375 times in 365 posts
Default

Beauregard,

Unfortunately short of using drawing objects this is the only reference sample that would work.
NinjaTrader_AdamP is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plotting bars on a chart Steve R Indicator Development 9 06-05-2012 06:38 AM
Plotting my trailstop on chart kcsystemtrader Strategy Development 44 10-03-2010 04:53 PM
Plotting a mark on a chart pipal Indicator Development 1 08-24-2009 05:43 AM
Plotting Fair Value on a chart Lost Trader Indicator Development 2 12-28-2007 09:06 PM
Plotting TICK on same chart mikev777 Charting 4 11-25-2007 05:37 PM


All times are GMT -6. The time now is 03:06 PM.