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 > General Programming

General Programming General NinjaScript programming questions.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-11-2010, 11:19 AM   #1
strewthmate
Junior Member
 
Join Date: Mar 2009
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
Default Time & Range

Hi

I need to work out the range between midnight and 06.00. Is there an easy way to do that? Note, this not the average range for this period, but the absolute range for this period. Call it the Asian Session range.

The next step is to average this range over say 10 days or sessions.

The next step is run a test that explores what happens if today's range between midnight and 06.00 (Asian session) is greater than the average range for that period over the last 10 days.

2) instead of a range can I check the size of a move?

e.g. a range will be high to low
a move will be close to open

I want to be able to test if the size of the 'move' by 6AM is already beyond the usual 'range' for that time period.

Thanks in advance
strewthmate is offline  
Reply With Quote
 

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
Beta NT 7 Range Bars & Alt Range Bars nanook77 Version 7 Beta General Questions & Bug Reports 3 06-21-2010 09:25 AM
Range bars & plotting of indicators TheRightSide Charting 1 08-18-2009 06:03 AM
Volume & Range Alerts? maxreturn Charting 5 07-02-2009 01:47 PM
Inside bar & smallest range last six days unitrade General Programming 1 05-29-2009 12:21 PM
BarTimer & Range Bars gary9 Charting 1 11-13-2007 09:25 AM


All times are GMT -6. The time now is 04:40 AM.