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

Up and Down Tick

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

    Up and Down Tick

    I want to create an indicator to have the difference between up ticks and down ticks. How do I programmatically get that information for Up/down ticks? Is there any indicator already that gives that information?
    Thanks!

    #2
    lgarcia3, unfortunately there's no direct NinjaScript method access to this info, you would need to code this out yourself in your custom indicator.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Well, yes, I figured that part. So let me re-state my question: How do I programmatically get the information for Up/down ticks? For close price we do Close[0] and that should give us the last bar close price, is there something similar for Up Ticks and down ticks?

      Comment


        #4
        Unfortunately not, you would need to self code this in your scripts - here are some ideas how to achieve this - http://www.ninjatrader-support2.com/...ad.php?t=10900
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rocketman7, Today, 02:12 AM
        5 responses
        23 views
        0 likes
        Last Post rocketman7  
        Started by trilliantrader, 04-18-2024, 08:16 AM
        7 responses
        28 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by samish18, 04-17-2024, 08:57 AM
        17 responses
        66 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by briansaul, Today, 05:31 AM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by PaulMohn, Today, 03:49 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X