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 11-20-2008, 09:53 AM   #1
ju1234
Senior Member
 
Join Date: Nov 2008
Posts: 227
Thanks: 1
Thanked 0 times in 0 posts
Default Volume question

I am trying to write in the condition builder, a condition: "when volume anytime during the last 5 bars is > 1 million"

For the left side, I have selected vol from the indicators. The drop down menu shows input series equal to VOL[]. Bars ago reads 0. Should that zero be 5? I am unable to change it.

In the middle I have selelcted > function. But there is no selection of "Look back period". Is there supposed to be?

Then on the right side, I will select "numeric" from the miscellaneous and then enter a number of 1000000.

How does the "High in last 5 bars" gets expressed?
Thanks.

Please guide. Thanks.
ju1234 is offline  
Reply With Quote
Old 11-20-2008, 10:12 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

Hi ju1234,

Please see my post here - http://www.ninjatrader-support2.com/...ad.php?t=11713

Thanks!
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-20-2008, 11:22 AM   #3
ju1234
Senior Member
 
Join Date: Nov 2008
Posts: 227
Thanks: 1
Thanked 0 times in 0 posts
Default sorry, Still not clear

Thanks for the reply. I understand in the code form what you are saying. But in terms of the "Condition builder" ?

I see "MAX" is one of the items in the indicators list. So, this MAX is not an indicator, it just stands for Maximum?
Ok, I choose Max from the indicators. What goes in each of the items in dropdown menu? Can I just create a strategy with "VOL" and then open the code and write in teh things you suggest wherever i see "VOL"
Thanks.
ju1234 is offline  
Reply With Quote
Old 11-20-2008, 11:55 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

Hi ju1234,

Please see attached the detailed screenshot from the condition builder.

This will create one entry condition for your strategy, you will of course have to add an order for execution in the 'Do the following' box.

Please review this link for more info - http://www.ninjatrader-support.com/H...egyAction.html
Attached Images
File Type: jpg condbuilderhigh5vol.jpg (53.1 KB, 11 views)
NinjaTrader_Bertrand 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
Bid/Ask Volume combined with Hist Volume monpere NinjaScript File Sharing Discussion 12 10-04-2011 02:25 PM
time and sales volume vs. e.Volume funk101 Strategy Development 1 09-17-2008 12:37 PM
Change volume bar color based on price and volume range TiP2012 Indicator Development 5 05-26-2008 08:09 AM
multicolor volume bars and volume bar projections... possible or not? Pr0crast Charting 8 12-25-2007 06:36 PM
Question about "Split Volume Indicator" RedDuke Indicator Development 1 04-25-2007 02:46 AM


All times are GMT -6. The time now is 12:22 PM.