PDA

View Full Version : referencing an empty value


paschall
10-12-2009, 09:33 PM
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

NinjaTrader_Bertrand
10-13-2009, 04:35 AM
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/HelpGuideV6/ConditionBuilder1.html