![]() |
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
|
|||||||
| Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jul 2009
Location: San Francisco Bay Area
Posts: 216
Thanks: 0
Thanked 4 times in 3 posts
|
I want to trade on a tick chart but have some indicators available which are based on time-based bars. Unfortunately this requires a chart which also has the time-based bars added, since that is the only way you can add the indicator.
But this messes up the tick-chart since the time-based bar becomes the bar used to define the axis. Is there a way to workaround this limitation and have the tick chart have equidistant bars with the time bar based indicator plotted on the tick-chart? I do realize that the spacing will be messed up on the indicator plot, but that is fine. |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
aviat72,
The only workaround for this is to instead of relying on the primary series you attach the indicator to you add a secondary series of the series you want to use for the indicator and run it that way. Your code would need to skip all BarsInProgress = 0 events and only process BarsInProgress = 1 events.
Josh
NinjaTrader Customer Service |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calculate tick-based indicators on historical bars | JangoFolly | Suggestions And Feedback | 11 | 04-02-2010 11:37 PM |
| x number bars back, based on time | ctrlbrk | Strategy Development | 2 | 03-29-2009 01:31 PM |
| Add new DataSeries based on Chart bar period | ch33ch | Strategy Development | 5 | 10-01-2008 09:23 PM |
| Alternative to tick based/bar based strategy calculation? (i.e every minute/X ticks) | Elliott Wave | Strategy Development | 9 | 07-11-2008 03:11 AM |