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.



    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jeronymite, Today, 08:43 PM
    0 responses
    2 views
    0 likes
    Last Post jeronymite  
    Started by jeronymite, Today, 07:01 PM
    0 responses
    7 views
    0 likes
    Last Post jeronymite  
    Started by LeitoGTR, Today, 06:41 PM
    0 responses
    5 views
    0 likes
    Last Post LeitoGTR  
    Started by 2inthebush, Today, 03:29 PM
    2 responses
    12 views
    0 likes
    Last Post 2inthebush  
    Started by forrestang, Today, 02:17 PM
    5 responses
    23 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X