PROTECTED SOURCE SCRIPT

CWAP - Candle Close Weighted Average Price

7 142
Variable EMA length based on candle closes.


Current candle is greater/lesser than previous candle close[x] in successive periods = add to the length


In the case of reversals, price tends to spike up, retrace, then reverse. In that event, the EMA resets length to catch up before a full reversal occurs.

When price moves uniformly in one direction, the EMA length increases excessively to prevent chop.

Similar to a McGinley Dynamic, except weight isn't give to a particular direction.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.