NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM 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-09-2008, 08:14 AM   #1
michaelbb
Member
 
Join Date: May 2008
Posts: 42
Thanks: 0
Thanked 0 times in 0 posts
Default Plotting from slower timeframe

Have a multi timeframe strategy:
- chart is 1min
- Add(PeriodType.Minute,5);
and want to plot actual results from 5min timeframe indicators.

In my current implementation I use DrawLine method, because I cannot plot from (BarsInProgress == 1). If I plot 5min indicators from (BarsInProgress == 0) values are "delayed" by 1 bar.

Is there a way to do this with plot methods / StrategyPlot indicator?
michaelbb is offline  
Reply With Quote
Old 06-09-2008, 08:18 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

>> and want to plot actual results from 5min timeframe indicators.
Unfortunately you only can plot indicators on the primary data series.
NinjaTrader_Dierk 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
Multi Timeframe support Edgar V. Strategy Development 25 04-27-2008 06:49 PM
Entries: 1 Bar Slower when backtesting samuelg Strategy Development 2 04-13-2008 07:01 PM
Why is NinjaTrader slower when zoomed out? Currywurst Charting 3 03-04-2008 01:45 PM
Volume for Multi-Timeframe GuyFB General Programming 8 02-01-2008 03:01 PM
Indicator in a different timeframe than chart ssierra NinjaScript File Sharing Discussion 3 01-30-2008 03:23 PM


All times are GMT -6. The time now is 05:29 AM.