Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calculate price equivalent of overlayed plot of indicator

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

    Calculate price equivalent of overlayed plot of indicator

    if I overlay and plot indicator within the price panel like macd. i want to use the relative price of that plot as it crosses sma plot . So how does NT plot the macd in the price panel of the chart? How can i read the relative price of macd price so i can use it in a script?
    Attached Files

    #2
    Hello set2win,

    That type calculation is an internal calculation and not something that can be disclosed, to your script it would only know the actual values that the indicators plot so there would not be anything I could suggest to replicate the scaling that overlay provides in NinjaScript.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    376 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    244 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    208 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    295 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    255 views
    0 likes
    Last Post CarlTrading  
    Working...
    X