![]() |
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
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
|
I was looking for a script that would display 52 week high/low for an instrument. I don't see one. Please point me to one if one exists, else ->
So I thought I would attempt to write one. However, it's more involved than I thought. Is it true, if I'm using a 3 min chart, I first would have to Add() a weekly chart then do a MAX()/MIN() on that chart's Highs/Lows. // add 52 week chart for 52 week high/low Add(PeriodType.Week, 52); I'm getting an error right there. The signature is wrong, or I'm missing something, because it says no overloaded Add() takes 3 params. |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
NinjaTrader currently does not support multi-time framed indicators. Your code should work in a NinjaScript strategy though.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CrossAbove(High, High, 1) | Lost Trader | Indicator Development | 4 | 01-11-2008 09:27 AM |
| High greater than Highest High of last 20 Bars | SamIam | Strategy Development | 1 | 08-19-2007 04:58 PM |
| Parsing trades per day of week | gsmaster | Strategy Development | 3 | 07-24-2007 04:41 AM |
| 1st Hour High/Low | pijamatrader | Indicator Development | 42 | 07-16-2007 05:31 PM |
| OnLine Strategy Developement Training Sessions this week | NinjaTrader_Ray | Strategy Development | 2 | 07-10-2007 06:57 AM |