NeoButane

CWAP - Candle Close Weighted Average Price

Variable EMA length based on candle closes.


Current candle is greater/lesser than previous candle close 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.

My published indicators: www.tradingview.com/u/NeoButane/

Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?