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 ScottW, Today, 06:09 PM
    0 responses
    2 views
    0 likes
    Last Post ScottW
    by ScottW
     
    Started by Board game geek, 10-29-2023, 12:00 PM
    14 responses
    244 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Waxavi, 04-19-2024, 02:10 AM
    4 responses
    56 views
    0 likes
    Last Post sonia0101  
    Started by cmtjoancolmenero, Today, 03:58 PM
    0 responses
    9 views
    0 likes
    Last Post cmtjoancolmenero  
    Started by Segwin, 05-07-2018, 02:15 PM
    11 responses
    1,779 views
    0 likes
    Last Post aligator  
    Working...
    X