Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by marcus2300, Today, 10:21 AM
    1 response
    1 view
    0 likes
    Last Post marcus2300  
    Started by DawnTreader, 05-08-2024, 05:58 PM
    10 responses
    38 views
    0 likes
    Last Post DawnTreader  
    Started by gaz0001, Today, 10:09 AM
    0 responses
    2 views
    0 likes
    Last Post gaz0001
    by gaz0001
     
    Started by proptradingshop, Today, 10:07 AM
    0 responses
    3 views
    0 likes
    Last Post proptradingshop  
    Started by franatas, Today, 09:49 AM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X