Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Solution: Self-Adjusting Oscillator Max/Min Levels

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

    Solution: Self-Adjusting Oscillator Max/Min Levels

    Hi Ninjatrader Fam,

    Awhile ago I asked about how to make an oscillator with max/min or high/low (in other words) level that self-adjust according to market conditions. For example, if you want to fade over-extended MACD moves, the indicator limits you to fixed horizontal lines, like at +1 and -1.

    To make self-adjusting max/mins, open two EMAs with lengths 25. For one EMA input, use the MAX indicator with a length of 10. Do the same with the other EMA using the MIN indicator. For both the MAX and MIN, set their inputs as the oscillator to which you want to add the self-adjusting high/lows. Set the EMAs to draw as Horizontal Lines, and there you go.

    I suggest plotting the EMAs as Lines at first so you can visualize the decay rate of the max/min levels. Adjust the EMA and MAX/MIN lengths accordingly. It helps to measure the average bars between wave crests on your oscillator.


    Cheers!
    Matty




Latest Posts

Collapse

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