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 > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 06-04-2012, 10:37 AM   #1
suprsnipes
Senior Member
 
Join Date: Aug 2008
Posts: 233
Thanks: 19
Thanked 5 times in 5 posts
Default Help in accessing indicator values from strategy

Hi,

I need some help in being able to access an indicator value from a strategy.

I'm trying to use an indicators value and I'm getting the following error message '
no overload for method 'anaOpeningRangeV38' takes '0' arguments. I'm trying to access 'openingRangeHigh' but after hours of attempts I'm totally lost and would appreciate the help.

I have attached a copy of the indicator I'm attempting to use the openingRangeHigh value from.

Regards,
suprsnipes
Attached Files
File Type: zip OpeningRange.zip (8.8 KB, 6 views)
suprsnipes is offline  
Reply With Quote
Old 06-04-2012, 10:59 AM   #2
NinjaTrader_Joydeep
NinjaTrader Customer Service
 
NinjaTrader_Joydeep's Avatar
 
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
Default

Hello suprsnipes,
Please find below the code to find the current value for OpenRangeHigh
Code:
this.anaOpeningRangeV38(true, "00:30",  "+ 00:00", anaPreSessionOR38.Full, anaSessionCountOR38.Auto, true).OpeningRangeHigh[0]
I have used the default parameters to get the value.

Please let me know if I can assist you any further.
NinjaTrader_Joydeep is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Joydeep for this post:
Old 06-04-2012, 09:49 PM   #3
suprsnipes
Senior Member
 
Join Date: Aug 2008
Posts: 233
Thanks: 19
Thanked 5 times in 5 posts
Default

Thank you for your response.

I may require some further assistance, but at this stage I'm willing to have a go myself.

Cheers.
suprsnipes is offline  
Reply With Quote
Old 06-05-2012, 04:07 AM   #4
NinjaTrader_Joydeep
NinjaTrader Customer Service
 
NinjaTrader_Joydeep's Avatar
 
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
Default

Hello suprsnipers,
Thanks for your note.

Please do not hesitate to contact us if the need arises.
NinjaTrader_Joydeep 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
Accessing values from another indicator. rabcnesbit General Programming 6 04-02-2012 09:32 AM
Accessing other indicator boolean values tacticaltrader General Programming 3 09-26-2011 04:28 AM
Accessing indicator values without plots suprsnipes Indicator Development 1 08-25-2010 05:23 AM
Accessing Personal Indicator Values (How To) rhbishop5 Indicator Development 2 04-12-2010 05:06 AM
Accessing Custom Indicator Values murfinp Indicator Development 2 08-25-2009 02:11 PM


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