Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

assigning color to indicator with 3 lines plotted

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

    assigning color to indicator with 3 lines plotted

    I want to change color (or here, make transparent) each of the MAEnvelopes plots.

    Below works on only the Upper line. Can someone help me with the middle and lower band?

    MAEnvelopes(0.05, 1, Fast).Plots[0].Pen.Color = Color.Transparent;

    #2
    I assume you're doing this within a strategy correct?
    If you are try doing this

    MAEnvelopes(0.05, 1, Fast).Plots[1].Pen.Color = Color.Transparent;
    MAEnvelopes(0.05, 1, Fast).Plots[2].Pen.Color = Color.Transparent;

    Where the bold numbers corresponds to the desired plot

    Let me know if I can further assist.
    LanceNinjaTrader Customer Service

    Comment


      #3
      Thank You, that worked.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      245 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      157 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      165 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      250 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      201 views
      0 likes
      Last Post CarlTrading  
      Working...
      X