Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ScaleJustification Code

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

    ScaleJustification Code

    Greetings,

    I have and indicator I would like to have it display only on the price panel.

    I can set the Overlay = true parameter and it will display there.

    However, it also plots the indicator scale on the price and skews the panel.


    Is there a way to set the ScaleJustification to Overlay in code?
    I notice when I manually bring up the Indicator Settings Window in the Label section I select the price panel and select Scalejustification =Overlay that the panel does not display.

    What code would I use to display that?

    Thanks



    DUH!!!


    I found the answer:
    Put this in the Initialize section:

    ScaleJustification = ScaleJustification.Overlay;
    Last edited by DavidHP; 04-24-2010, 08:24 AM.

    #2
    Now I have another question about this.

    Is it possible to create an indicator with two scales on the same panel?

    When I do this manually it works if I specify one as left and one as right scale.

    But how can i put that in code?

    Can I plot two indicators in the same panel with code? And put the scales on opposite sides?

    Thanks

    Comment


      #3
      Has this thread been overlooked?
      Or is there not an answer to the second question?

      Thanks

      Comment


        #4
        DavidHP, sorry for the late reply, will check into how this happened. For your question - this is unfortunately not possible.

        Comment

        Latest Posts

        Collapse

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