Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Color Zone and extra lines in the stochastic indicator

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

    Color Zone and extra lines in the stochastic indicator

    The oversold (2) and overbought (1) areas in the stochastic indicator are two important areas. It would be nice if there were colour zones to make these areas stand out even more clearly.
    The market companion from France does this very well and also allows more lines to be embedded (3).

    Why is that important? Because in this way it is much easier to read when the market is moving in the other direction.

    Click image for larger version

Name:	stoch.jpg
Views:	183
Size:	78.1 KB
ID:	1210638

    #2
    Hello Thorsten,

    You can use Draw.Region to color the region between a plot and a value. For what you have shown you would need to find the value of the lines you have pictured and then the Plot, after doing that you can use Draw.Region similar to:




    Code:
    Draw.Region(this, "tag1", CurrentBar, 0, IndicatorName(parameters).Plot, valueOfYourLine, null, Brushes.Blue, 50);

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    51 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    31 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    165 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    100 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    160 views
    2 likes
    Last Post CaptainJack  
    Working...
    X