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 Brevo, Today, 01:45 AM
      0 responses
      3 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      3 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      239 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      384 views
      1 like
      Last Post Gavini
      by Gavini
       
      Started by oviejo, Today, 12:28 AM
      0 responses
      6 views
      0 likes
      Last Post oviejo
      by oviejo
       
      Working...
      X