OPEN-SOURCE SCRIPT

Flush Percent Range

Обновлено
Fans of Woodies CCI may recognize the approach to this one. This is my attempt at using the same methods but for taking the highs and lows into account without the standard deviation of the CCI. The smoothness of other oscillators may not be ideal however the Williams Percent Range is a fast stochastic that also operates within a channel. This provides an alternative yet still complex view for the virtuoso. A unique feature is total utilization of the weighted moving average, from the standard to the more complex. A fun fact is the Hull Moving Average is actually calculated using weighted moving averages.

How to use:

  • The base length is for accuracy, the fast length is for catching all the moves(even the wrong ones sometimes.)


  • The bars back option will not flip the histogram/base trend to its bullish/bearish alternative until the base plot remains on the latter half of the oscillator for a certain number of bars. This can be set to zero if desired.


  • The factor controls the chop on the various levels. A higher number will increase it.


  • The oscillator levels are measuring slope, price relative to the average, and a summation of percent changes between the two. Both the baseline/histogram and the levels have color coding for bullishness, bearishness, and indecision(depending on the factor.) The fast line matches the indecision color by default. This is all customizable.


  • There are many potential ways to trade with this indicator. From hooks back toward the trend and range line crossovers to divergence and reversals. It's important to note the current performance of the oscillator levels. Time cycles may come in handy along with other forecasting tools.


  • Lastly, there are optional linear regression lines plotted on the chart. They're synchronized to the lengths in the oscillator. This is an additional visual aid to provide context to the direction of the channel.


Overall the Flush Percent Range is for analyzing multiple regression models within a single price channel. No smoothing, fast averages, and specified timeframes of highs/lows. Credit to Larry Williams for the original calculation and Ken Woods for design/methodology inspiration.
Информация о релизе
Added Volume Bias Option, made minor changes to defaults, and some script reorganization.
Информация о релизе

  • Eliminated Sidewinder portion and simple crosses on the Royal Flush Scheme for clarity


  • Changes to defaults, including option to change the source and neutral color change plus neutrality now included on bars


  • Fixed line extension


  • Added potential reversion plotting and alerts
Информация о релизе
  • Created an optional standard deviation filter with a new set of reversion conditions that operate when the filter is applied. This is an acceleration tool meant to show deviations from the mean within the desired lengths and will make it appear more like the %B or CCI.


  • Optimized the original reversion conditions/alerts and did minor reorganization.
Информация о релизе
Further optimization to strategy, optional settings calculations, and script efficiency.
Информация о релизе
Re addition of the sidewinder, a summation of the recent performance of the selected base percent range. Rebalanced defaults and labels to match.
Информация о релизе
Final update: Proper integration of the neosidewinder into reversion alert strategy w/rebalancing.
OscillatorsWeighted Moving Average (WMA)Woodies CCI

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


KP

Отказ от ответственности