![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2010
Posts: 275
Thanks: 16
Thanked 4 times in 3 posts
|
Hi,
I'm developing a multi-instrument stocks 5m intraday strategy on US session. I want to find out for each instrument the High/Low points since the session start. For example for stocks XYZ 2 hours from the start of the trading day(9:30EST) I want to know what was the High point and the low point. I thought about using the Max/Min function and to give them the number of bars since the session started something like that: Code:
max = MAX(Highs[5], BarsSinceSession)[0]; What do you think is the best approach to solve this? TX, Roy |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Resetting the Swing High/Low Indicator on New Session | MJUK10 | Strategy Development | 23 | 06-08-2011 05:11 AM |
| Displayng chart betw session low & high | Art09 | Suggestions And Feedback | 1 | 03-09-2011 09:03 AM |
| Display the chart betw session high & low... | Art09 | Charting | 3 | 03-02-2011 12:02 PM |
| High and low for the session differ on range compared to minute charts | suprsnipes | Charting | 11 | 03-24-2010 12:53 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 |