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

volume profile with size filter??

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

    volume profile with size filter??

    are there any indicators that plot volume on the price panel, horizontally, like volume profile, but with a size filter? so that only executions over a certain number of contracts are displayed. am i searching wrong or does this not exist?


    is there a way to set up volume profile to use some size filtered volume rather than the input series volume?

    any help would be appreciated on this.

    #2
    Hi Jim, I would unfortunately not be aware of any customizations that would offer such a filtering for the input volume.

    You might want to contact this vendor as an example, they offer a very comprensive study collection in that area which perhaps can offer this type of config -

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Jim,

      I just had a look at the Volume Profile Indicator for another requirement of mine.

      Regarding your question to filter by volume - at a first glance, this looks fairly easy. You just need to wrap the following code in OnMarketData with an if clause based on e.Volume and whatever size filter you require. You could of course make the size a Property/Parameter to support different filter sizes for different contracts, etc.

      Best,
      Peter

      if (!volumeInfo.ContainsKey(price))
      volumeInfo.Add(price, new VolumeInfoItem());

      VolumeInfoItem volumeInfoItem = volumeInfo[price];

      if (price >= askPrice)
      volumeInfoItem.up += volume;
      else
      if (price <= bidPrice)
      volumeInfoItem.down += volume;
      else
      volumeInfoItem.neutral += volume;

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by love2code2trade, Yesterday, 01:45 PM
      4 responses
      28 views
      0 likes
      Last Post love2code2trade  
      Started by funk10101, Today, 09:43 PM
      0 responses
      7 views
      0 likes
      Last Post funk10101  
      Started by pkefal, 04-11-2024, 07:39 AM
      11 responses
      37 views
      0 likes
      Last Post jeronymite  
      Started by bill2023, Yesterday, 08:51 AM
      8 responses
      44 views
      0 likes
      Last Post bill2023  
      Started by yertle, Today, 08:38 AM
      6 responses
      26 views
      0 likes
      Last Post ryjoga
      by ryjoga
       
      Working...
      X