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 02-05-2007, 04:59 AM   #1
Brody
 
Join Date: Feb 2007
Location: , ,
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

We are trying to program a strategy that uses amount of up volume vs down volume in each bar.

We can see this on the chart by pulling up the data box when we have vol colored up as an indicator.

HoweverI can find no way to set this as avalue in the wizard ??
Brody is offline  
Reply With Quote
Old 02-05-2007, 06:37 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

To be sure I understand....

Do you want to access up volume values and down volume values and perform some form of comparison? If yes, youneed to create a custom indicator that plots only up volume and an indicator that plots only down volume. Once these are created and compiled, you they will show up in the Condition Builder and can be used for comparisons.

Ray
NinjaTrader_Ray is offline  
Reply With Quote
Old 02-06-2007, 08:17 AM   #3
Brody
 
Join Date: Feb 2007
Location: , ,
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Ray,

Yes thats exactly what im trying to do. However I am not sure how to do that.

Could you give me some guidance ?

If you can start me in the right direction im sure i can do it.



Thanks
Brody is offline  
Reply With Quote
Old 02-06-2007, 08:52 AM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

Apart from actually writing the indicator itself, I suggest reviewing the custom indicator development section, review the available tutorials. You do have to get your hands dirty and program the indicators themselves.

Ray
NinjaTrader_Ray 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


All times are GMT -6. The time now is 04:25 PM.