Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

referencing an empty value

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    referencing an empty value

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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    64 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    59 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Working...
    X