One year ago I had this idea: what happens if I combine Average True Range (ATR) with an oscillator and two different set of parameters for ATR in we are in normal trading conditions or in Overbought/Oversold trading?
So first of all I calculate the Relative Strength Index (Wilder one with Connors settings). I obtain RSI2 value.
I then calculate the ATR20 for long term range effect and ATR2 for short term one.
Now if we have seen a contraction in range during last days with ATR2
This two numbers are the two possible trailing values.
We then adapt to RSI2 values.
If overbought or oversold with values >80 or <20 we calculate:
0,25*trailing value (to be prudent,, reverting is imminent)
If not:
0,5*trailing value (to give more room to the price)
So these are the oscillator weighted values for our trailing stop. I use this in a multyday mean reverting systems.