Ahoora Trend is an oscillator that use moving average based of high or low values (depends of current candle position from this MA) instead of classic close value price in an RSI calculation. It results an overbought / oversold oscillator that spot price that has highly derivated from the mean. The oscillator is “reset” everytime price cross above or below the 2 different moving average, so oversold and overbought information gain in reliability.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
// parameters // Lookback = 25 hh = average[Lookback](high) ll = average[Lookback](low) if high>hh then buffer = 1 elsif low<ll then buffer = -1 endif myATR = AverageTrueRange[Lookback](close) if buffer < 0 then value = hh-myATR else value = myATR+ll endif value2 = RSI[Lookback](value) RETURN value2 as "Ahoora Trend", 80 as "80", 20 as "20" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials