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 > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 12-05-2009, 07:29 PM   #1
David Lean
Senior Member
 
Join Date: Oct 2009
Location: Australia
Posts: 108
Thanks: 2
Thanked 14 times in 7 posts
Lightbulb Feature Request: Parameter to Restart Indicator calculations at Session Start

Feature Request for v7.0 or future releases.

Feature Request: Add a Ninja Config Parameter to Restart Indicator calculations at the start of each Session. This makes them more suitable for Daytrading markets that don't trade 24 hrs a day.

Example 1
If you plot a SMA(5) thru a big overnight gap between trading sessions it is obvious that there is a period where it is useless for gaining insight. Worse still it forces the automatic Y Axis scale to be huge.
Sure you can adjust your chart to compensate & after 5 periods all is OK.

Suggestion 1: It would be nicer if I had the option to have the SMA show as SMA.Reset to remove it in those useless initial n bars of the session.

Example 2:
Other Indicators are affected for a much longer time period & restartng their calculation is much more effective than making them invisible.

eg: This optional configuration parameter could reset the SAR at the start of a session.
(this concept may also apply to many other indicators)

Welles Wilder's original work on the ParabolicSAR (& all I've seen published since) was using Daily Bars. These are a continuous evenly spaced time period (of trading days). Yes, it also works for any other equally sized periods.

But when Day Trading most markets, the time period from Market Close to next Market Open is huge compared to the typical size of the bars. This often causes the overnight gap to be hugely disruptive. In the case of the SAR it is often so big that it can take 1-3 hrs of 1 min bars before the indicator decays down to the market price & behaves as it was designed. Making it useless if you only trade the active 1st 2 hrs of a market.

Suggestion 2
At session start. Restart the indicator calculation using only the bars from that session.

Yes I realise the workaround to this is to write my own set of indicators. &/or Edit those that ship with Ninja to add this behaviour.

Hope this helps
Dave
David Lean is offline  
Old 12-06-2009, 12:14 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Thanks for this suggestion although you are a first one. I will add this to our list but as you already pointed out, the best approach right now is to write your indicators in a manner that will reset on first bar of a session.
NinjaTrader_Ray is offline  
 

Tags
feature request, indicator, strategy

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
Feature Request: Provide a parameter to control the order of Parameters in Indicators David Lean Version 7 Beta General Questions & Bug Reports 10 04-03-2010 04:46 PM
Session Question-Indicator Calculations mjc4118 Version 7 Beta General Questions & Bug Reports 1 10-19-2009 09:09 PM
Can 15-Minute Bar Backtest bars start on 7:20AM Session Start instead of 7:15 AM? ChiTrader2000 Strategy Development 5 01-30-2009 10:29 AM
feature request: set end and beginning of session for strategy as default scriabinop23 General Programming 1 02-01-2008 05:34 AM
Indicator price marker(s) feature request. higler Suggestions And Feedback 1 08-08-2007 02:10 AM


All times are GMT -6. The time now is 07:04 PM.