- the price or it's Momentum
- the RVI or
Each factor is put through a least squares filter to smooth them first.
Then the factors are used to build a coefficient for an exponentially weighted average.
The chart above shows a comparison of standard average types with this script.
This is useful if you are looking for a moving average based trigger and do not wish to react to candle noise price action.
- reverted to traditional RVI calculation
- pulled apart the momentum for high and low separately
- Addressed some initialization conditions
- Added another filter using normalized ratios for relative value filter
- Changed RSI to CMO, CMO is more responsive than RSI and reduces lag
- Added one of my favorite moving average, the Vidya MA
I think it's important to use this moving average with another average or even a supertrend, where the input to the trend is the VMV average. Perhaps a later modification.
I hope you enjoy how these two MA's work together.
_ Produce a dynamic length based on stochastic oscillator
_ Vidya_ma now runs on dynamic length
_ two more of my favorite ma's are included - parameter-less price and vwap
- Removed dynamic length selections
- Addressed more initialization problems, if you use a recursive formula it's important the first 100 bars in a data set are not NA and are reasonable values, so need to fix some borrowed pine
- Switched from using stochastic to pick up on trend to using two different inputs, tema and parameterless ma - averaging their best fit length
- Dynamic length applied to the Vidya ma only
- added gap fill if used in a higher time frame than the chart
- removed the least squares method and replaced with simple ema for speed of execution, the outcomes are close enough so it doesn't warrant the tax on execution speed
- smoothed over a fixed length and not variable
진정한 TradingView의 정신에 따라, 이 스크립트의 작성자는 스크립트를 오픈소스로 게시했기에 거래자들이 이해하고 확인할 수 있습니다. 작가님께 건배! 스크립트를 무료로 사용할 수 있지만, 게시물에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다.