![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Senior Member
Join Date: Nov 2008
Posts: 227
Thanks: 1
Thanked 0 times in 0 posts
|
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. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
|
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2008
Posts: 227
Thanks: 1
Thanked 0 times in 0 posts
|
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. |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
|
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
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |