Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem with value area calculations

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

    Problem with value area calculations

    I am writing a strategy that utilizes value area high/low as shown in the NJ8 Order Flow Volume Profile indicator, but am having difficulty. Utilizing volumetric bars, I am starting at the POC, and incrementing up or down depending on which volume "bar" has the higher volume, adding that bar's volume to the total value area volume until I hit the threshold (using 0.68 of total volume, the default for the indicator). Ties favor the higher price. This works pretty good most of the time, but there are variations from what the NJ8 Order Flow Volume Profile indicator says. The issue seems to be that there are times when NJ8 goes past a small volume bar, see attachment "Order flow volume profile value area 1". You will see that four bars from the value area high there is a volume of 3, and there are no other bars with 3 or less below it in the value area, therefore there is some logic that NJ8 is using to go higher up the price ladder. Can anyone help me with this logic? I have also attached a screenshot of the entire session for context. This is using playback data, NQ MAR25, 2/9 - 2/10/2025, at 3:06:05pm PST. Thank you for any help you can provide.
    Attached Files

    #2
    Hello skagit100,

    Unfortunately, the custom logic would be beyond what our support is able to assist with.

    This thread will remain open for any community members that would like to provide direction, logic, or custom code.

    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like a list of affiliate consultants who would be happy to create this script or any others at your request or provide one on one educational services.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X