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

Is Order Flow Volume Profile now accessible in NinjaScript?

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

    #16
    I'm considering a switch to NinjaTrader, and access to volume profile data is critical for my use. This thread makes it clear that a developer cannot call something like GetPOC(lastBar) to get the price level of the last bar's point of control, but the NinjaScript documentation suggests it's rather easy to recreate a volume profile for strategy development using documented properties and methods.

    Specifically, all price levels in a bar could be gathered for use by adding each price from high to low in a List<double>, then foreach (double price in List<double>) {GetTotalVolumeForPrice(price)}. At this point, the price and volume can be group as KeyValuePair<double, double>. These can then be added to a Dictionary<double, double>, or perhaps more usefully a List< KeyValuePair<double, double>>, so the pairs can be ordered by price, thus allowing the indexing of the list to correspond to the relative high/low relationship of the prices.

    From this point, you can find the POC by grabbing the Key (price) with the highest Value (volume). It takes a bit more work to recreate the value area, but it can be done from the noted list.

    Is there any reason this won’t work?

    As long as the above approach works, then NinjaTrader should be more than adequate for my volume profile dependent development needs, while still using documented properties and methods.

    Thanks!

    Comment


      #17
      Any updates on this, it has been years since the request, and unlocking the volume profile plots to be used in strategies does not seem like a huge implementation.

      Comment


        #18
        Hello Rivenoak,

        Thanks for your notes and welcome to the NinjaTrader Forums.

        There are no updates to this feature request at this time.

        As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

        Release Notes — https://ninjatrader.com/support/help...ease_notes.htm
        Brandon H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Jonafare, 12-06-2012, 03:48 PM
        5 responses
        3,986 views
        0 likes
        Last Post rene69851  
        Started by Fitspressorest, Today, 01:38 PM
        0 responses
        2 views
        0 likes
        Last Post Fitspressorest  
        Started by Jonker, Today, 01:19 PM
        0 responses
        2 views
        0 likes
        Last Post Jonker
        by Jonker
         
        Started by futtrader, Today, 01:16 PM
        0 responses
        9 views
        0 likes
        Last Post futtrader  
        Started by Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,792 views
        0 likes
        Last Post aligator  
        Working...
        X