Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

2 plots with different scales

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

    2 plots with different scales

    i want to plot 2 items with different scale? can i do it?

    AddPlot(new Stroke(Brushes.Orange, 2), PlotStyle.Bar, "Gains");
    AddLine(Brushes.Coral, 1, "CumGains");

    #2
    Hello junkone,

    Indicators can only have one scale.

    You could build two indicator and have each use a different ScaleJustification property, or you could consider normalizing the values so they are relative to each other on the same scale.

    A publicly available resource on normalizing values can be found here - https://stackoverflow.com/questions/...-100-to-0-to-3

    If this does not resolve your inquiry, could you provide an illustration showing what you are trying to accomplish?

    We look forward to assisting.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X