Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Getting price level of Max/Min Delta seen

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

    Getting price level of Max/Min Delta seen

    From a volumetric chart, I am able to get the Max Positive/Negative Delta seen using
    Code:
    barsType.Volumes[CurrentBar].GetMaximumPositiveDelta());
    barsType.Volumes[CurrentBar].GetMaximumNegativeDelta());
    , but is there a way to point to the price level that it is on?

    Thanks!

    #2
    Hi Ousher, thanks for posting.

    There's no specific method to return the price at max or min horizontal delta. You would need to calculate it with some C# code using the GetDeltaForPrice(double price) method. You can iterate through each tick of the bar like this:

    Code:
    for(double i = Low[0]; i <= High[0]; i+=TickSize)
    {
        //keep max/min seen value for GetDeltaForPrice(i);
    }
    Kind regards,
    -ChrisL

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    45 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    31 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X