The U Trend Sensor oscillator is derived from the step percent variation of 2 different types of triangular moving average. When the oscillator return values over the zero level, a bullish trend is occuring, while a bearish one occurs when the oscillator navigate below this level.
Because of treshold of variations are inherit from percentage of price movement, this parameters must be adapted to the instrument and the timeframe where the indicator is attached.
Trades signals can also be taken more agressivly by crossing of the signal line and the UTS one. Signal line can be desactivated into parameters.
Parameters (example on DAX 2h timeframe)
- periodf = 50
- periods = 200
- fpercent = 1
- spercent = 0.5
- p = 10
- psignal = 20
123456789101112131415161718192021222324252627282930once fss = closeonce sss = closefMA = TriangularAverage[periodf](close)sMA = TriangularAverage[periods](close)if(fMA > fss + (fMA/100)*fpercent) THENfss = fMAELSIF (fMA < fss - (fMA/100)*fpercent) THENfss = fMAELSEfss = fssENDIFif(sMA > sss + (sMA/100)*spercent) THENsss = sMAELSIF (sMA < sss - (sMA/100)*spercent) THENsss = sMAELSEsss = sssENDIFU = fss - sssUMM = exponentialaverage[p](U)if(plotsignal) THENsignal = average[psignal](UMM)ENDIFRETURN UMM as "U Trend Sensor", signal as "signal", 0 as "zero level"
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
Hi @Nicolas. I see in a lot of your posts you use “derivated.” I think you mean to say “derived.”
Hi Stef, thanks again for contributing to my near perfect english 🙂
Hi Nicolas, seems to be a pretty cool one as an indicator. can you define “plotsingal”. System says plot signal is not given.
Thanks in advance Regards Nico
Download the itf file attached to the post, there’s everything needed in it. Just import this file into your platform.