Just another attempt to smooth things up! But in a lot easier way. If you are thinking about complicated math formulas that may be happening under this curve, I have to say you are absolutely wrong.
Its all done by splitting the given length in two parts for a moving average and making it two moving averages with half length! But applying a moving average over another will cover 1 less bar than sum of their periods, so one bar should be added to one of them to cover the required number of bars.
Well the result is not as simple as the code... Here is John Ehler's Super Smoother Filter (white) and Cross Smoother Filter using WMA. They are not exactly the same, but very similar.
The Filter relys on the used moving average type and its characteristics to smooth the data. However any moving average can easily fit in the formula, but common moving averages seem to have good result. Specially WMA and EMA.
WMA (blue) and CSF using WMA (orange)
EMA (blue) and CSF using EMA (orange)
SMA (green) and CSF using SMA (orange)
Logarithmic Moving Average is also included. You can try it as well :)
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.