Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help Normalizing value

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

    Help Normalizing value

    Hi all, hope you're doing good, this is the thing, I have two volume sums running and want to merge them into one, but simply adding & dividing by two doesn't work, since their magnitudes are very different,

    eg:
    Indicator A Sum: 3 million
    Indicator B Sum: 100

    So the larger number pollutes the result overrepresenting itself, I don't care about the magnitudes, only about their respective shapes (vectors) and basically I want 50/50 representation of their mix together.

    The question: Can someone help with a math formula to replace their respective magnitudes, so their magnitudes are "X" while keeping their shapes?, I've looked around the web and tried different things but I'm sure doing something wrong, I'm still getting an overrepresentation of A (the larger value)

    Thank you very much in advance!


    Last edited by kabott; 03-02-2021, 04:21 AM.

    #2
    Hello kabott,

    Thanks for your post.

    I would suggest investigating statistical "z-score" as a way to normalize your data. I am not aware of a specific indicator for this but you may want to do an internet search for a z-score indicator for NinjaTrader8 or if you want to write your own, search for z-score definition.



    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    46 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    67 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    35 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    59 views
    0 likes
    Last Post PaulMohn  
    Working...
    X