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 08-22-2009, 07:34 AM   #1
dax326
Junior Member
 
Join Date: Aug 2009
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
Default Getting Access to Hieken-Ashe Value

I am using the CustomHiekenAshe which is available from your download area. My question is I am trying to build a strategy that requires I know the state of the current Bar (UP or DOWN). Can someone show me in the strategy wizard the best way to do that. I am not a programmer.
Thanks in advance.
dax326 is offline  
Reply With Quote
Old 08-22-2009, 07:45 AM   #2
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default

Quote:
Originally Posted by dax326 View Post
I am using the CustomHiekenAshe which is available from your download area. My question is I am trying to build a strategy that requires I know the state of the current Bar (UP or DOWN). Can someone show me in the strategy wizard the best way to do that. I am not a programmer.
Thanks in advance.
Using your indicator of choice,

If Close[0] > Open[0] current bar is up.

If Close[0] < Open[0] current bar is down.
Last edited by RJay; 08-22-2009 at 07:47 AM.
RJay is offline  
Reply With Quote
Old 08-22-2009, 07:57 AM   #3
dax326
Junior Member
 
Join Date: Aug 2009
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by rt6176 View Post
Using your indicator of choice,

If Close[0] > Open[0] current bar is up.

If Close[0] < Open[0] current bar is down.
Thanks RT, I am trying to do this in the wizard and having trouble correlating what you have provided into the wizard, again sorry I am fumbling my way through this.. A wizard screen shot would be greatly appreciated..
dax326 is offline  
Reply With Quote
Old 08-22-2009, 09:57 AM   #4
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default

Quote:
Originally Posted by dax326 View Post
Thanks RT, I am trying to do this in the wizard and having trouble correlating what you have provided into the wizard, again sorry I am fumbling my way through this.. A wizard screen shot would be greatly appreciated..
Import and Look at this example.
Attached Images
File Type: jpg HeikenAshi.JPG (92.6 KB, 9 views)
Attached Files
File Type: zip CustomStrategy.zip (4.3 KB, 4 views)
RJay is offline  
Reply With Quote
Old 08-22-2009, 10:58 AM   #5
dax326
Junior Member
 
Join Date: Aug 2009
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
Default Thanks!

Thanks for taking the time RT,... I'll figure this thing out one day..
dax326 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
Connecting to access crunchy General Programming 14 01-23-2011 01:41 AM
Data Access ... shapper General Programming 1 04-22-2009 03:19 AM
Cant access ES starrynight Connecting 1 03-10-2009 08:36 AM
How to access LotSize fy260498 General Programming 1 11-01-2008 09:50 AM
Access DB... funk101 Indicator Development 1 05-26-2007 10:42 PM


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