• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

VolumeUpDown indicator

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

    VolumeUpDown indicator

    Is it possible to compare the condition based on whether the Volume is Up/Down?

    DarkCyan (Volume Up) or Crisom (Volume Down

    I would like to

    if (VolumeUpDown is Volume Up)
    do something


    if (VolumeUpDown is Volume Down)
    do something


    I have no difficulties getting the value.
    https://ninjatrader.com/support/help...erence_wip.htm

    Thank you!

    #2
    Hello johnnybegoode,

    Thanks for your post.

    The VolumeUpDown indicator uses the price candle direction to assign the color to the total volume of the bar. So in the case of a down bar (Close < Open) the volume bar is colored Crimson. In the case of an up bar (Close >=Open) the volume bar is colored darkcyan.

    In your strategy then, you need only check the condition of the price bar, Close>=Open or Close<Open
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ronaldgreene828, Today, 11:20 AM
    0 responses
    1 view
    0 likes
    Last Post ronaldgreene828  
    Started by iq200, Today, 09:57 AM
    1 response
    18 views
    0 likes
    Last Post NinjaTrader_ChristopherD  
    Started by _Zero_, Today, 09:19 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by GLFX005, Today, 09:05 AM
    3 responses
    24 views
    0 likes
    Last Post NinjaTrader_RyanS  
    Started by meandthetrio, Today, 09:03 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Working...
    X