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

How to access price range of specific time period.

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

    How to access price range of specific time period.

    Hello,
    Is there a way to access a price range (as the amount and a percentage) and a quantity a stock traded during a specified time period. There is a way to access the High and Low of the specific Time range. Is there a way to use it to get the price range.

    For example, if the stock traded between 100 and 101 between 9:30 and 11:30 and had a quantity of 5,000,000 - it would return a price range of 1.00, or 1% and a quantity of 5,000,000.

    Thank you

    #2
    Sure but you will have to write some code to do this.

    - Find the specifc bars that mark the beginning and end of the range
    - With this information, you can find the max high and the min low for the range
    - Calculate the volume traded

    Here is a reference sample for geting the specific bars based on time - http://www.ninjatrader-support.com/v...ead.php?t=8600
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bubblegum, 03-18-2024, 10:41 AM
    4 responses
    51 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by kujista, Yesterday, 12:39 AM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Yasharandom, 05-04-2024, 07:45 AM
    2 responses
    24 views
    0 likes
    Last Post Yasharandom  
    Started by francesjandujar, Today, 05:15 AM
    0 responses
    2 views
    0 likes
    Last Post francesjandujar  
    Started by francesjandujar, Today, 05:14 AM
    0 responses
    0 views
    0 likes
    Last Post francesjandujar  
    Working...
    X