Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Different input values for the plots of an indicator

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

    Different input values for the plots of an indicator

    Hello,

    I would want to create an indicator that creates two diferent SMA. One of them will use the High value as input and the other one will use the Low value of the bars. These two SMA lines would create something like a rail in my chart.

    My problem is that I don't know how to change the input value for the SMA. I tried with PriceType.High/Low but this changes the value for the indicator not for the plot.

    Would it be possible to choose different input values for the different plots of an indicator? If not, any idea about how to make it?

    Thanks in advance.

    #2
    IkerCB, I'm not sure I fully follow you: if you add 2 SMA's, one priceType High and the other on priceType Low - that would create the envelope type study you seek, or not?

    There's a ready made envelope indicator in the sharing you can also check out for this.

    Comment


      #3
      Thanks for answering Bertrand,

      Yes, but I wanted to make it all with only one indicator and then modify the properties...

      I have checked the ChannelMA2 indicator. It looks great, it will help me a lot.

      Thank you very much Bertrand!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      66 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      36 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      59 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X