NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 03-15-2010, 09:14 AM   #1
Sleeping Troll
Senior Member
 
Join Date: Mar 2010
Location: Tampa, FL
Posts: 186
Thanks: 0
Thanked 3 times in 1 post
Send a message via Yahoo to Sleeping Troll
Default Yearly, Monthly, Weekly OHL...

I want an indicator to draw horizontal lines for Highs, Lows and Opens... Yearly, Monthly, Weekly...
I could use a strategy and add series to get them, but of course the chart would then take forever to load.

It seems to me that the information should be available in my feed... but how do I access it?
Last edited by Sleeping Troll; 03-15-2010 at 10:01 AM.
Sleeping Troll is offline  
Reply With Quote
Old 03-15-2010, 11:50 AM   #2
NinjaTrader_Tim
NinjaTrader Customer Service
 
NinjaTrader_Tim's Avatar
 
Join Date: Nov 2009
Location: Denver, CO
Posts: 1,424
Thanks: 0
Thanked 3 times in 3 posts
Default

Hi Sleeping Troll,


You can use the default NinjaTrader indicators "CurrentDayOHL" or "PriorDayOHLC" to calculate the values from a chart data far enough back.


However, there is not an equivelant for weekly, monthly etc.

As you noted, you would need to load the data and calculate the values from there.
NinjaTrader_Tim is offline  
Reply With Quote
Old 03-15-2010, 11:55 AM   #3
Sleeping Troll
Senior Member
 
Join Date: Mar 2010
Location: Tampa, FL
Posts: 186
Thanks: 0
Thanked 3 times in 1 post
Send a message via Yahoo to Sleeping Troll
Default

Can I use that to get Weekly, Monthly Etc.?
Sleeping Troll is offline  
Reply With Quote
Old 03-15-2010, 12:35 PM   #4
NinjaTrader_Tim
NinjaTrader Customer Service
 
NinjaTrader_Tim's Avatar
 
Join Date: Nov 2009
Location: Denver, CO
Posts: 1,424
Thanks: 0
Thanked 3 times in 3 posts
Default

Hi Sleeping Troll,

No, the CurrentDayOHL and PriorDayOHLC can't be used for dates farther out.

There are a few HighLow (HiLo) indicators on the forum you may want to look in to.
NinjaTrader_Tim is offline  
Reply With Quote
Reply

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
Can't view charts in Daily/Weekly/Monthly on Zen-Fire demo coctostan Charting 2 08-07-2009 05:04 AM
Days to load for weekly & monthly pivots warrior Indicator Development 1 11-14-2008 07:26 AM
Monthly/Weekly Profit Graph Bug Anagoge Strategy Analyzer 2 10-29-2008 07:48 AM
Can't veiw my daily, weekly and monthly charts....HELP... amaruenterprise Charting 6 05-28-2008 11:22 PM
Weekly and Monthly Pivot points bmaltz Indicator Development 9 06-09-2007 06:24 AM


All times are GMT -6. The time now is 01:30 AM.