Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjascript coding 2 indicators but with 2 different values

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

    Ninjascript coding 2 indicators but with 2 different values

    I have 2 indicators on the same panel with1 justification left and 1justification right.One plot is in the hunderd of thousands while the other is in the thousands. When the plots do cross I want a flag to notify me. Visualy on the screen it works well but how can one do it in ninjascript since the values are so much off.

    #2
    Hello ballboy11,

    Thank you for your note.

    There wouldn't really be a supported way to set this up in NinjaScript without normalizing the values between a range and then comparing those normalized values. You would need to normalize or translate one indicator's values so they are relative on the same scale in order to detect the cross and fire an alert.

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    58 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