![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Dec 2008
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
|
I am trying to incorperate the bwAC indicator in a strategy. One of the features of this indicator is to calculate values in either the positive (increasing acceleration) or negative (decreasing acceleration) condition. these plot as red (negative) or green (positive). A copy of the data box values is below:
bwAC bwAC bwAC (Negative) 0.0000806 bwAC (Positive) bwAC 0.0000806 As you can see, in this instance, bwAC (Positive) is empty and a value of 0.000806 in the Negative category (i.e., decreasing acceleration). I an trying to find out how to access these values and NOT take a long trade when the bwAC (Positive) value is not empty (i.e., has some value). Thus, it is accelerating in a positive direction. My question is how do I set a trade condition for "enter LONG when bwAC (Positive) has some value"? Thanks! Dwayne |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
|
You would need to reference the 'positive' plot in the wizard and then compare to your numerical value (misc categotry) on the right side in the Condition Builder - http://www.ninjatrader-support.com/H...nBuilder1.html
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Color.Empty not working any longer | zeller4 | Indicator Development | 3 | 06-30-2009 05:03 AM |
| empty folders | ckait | Miscellaneous Support | 15 | 04-27-2009 03:14 PM |
| Checking for Empty dataseries values | richa61416 | Strategy Development | 2 | 03-19-2008 07:12 AM |
| Strategy list now completely empty | henry.omd | Strategy Analyzer | 7 | 12-20-2007 10:07 PM |
| Empty Indicator List | yimbot | Charting | 6 | 10-17-2007 10:27 PM |