EvoCrypto

Separated Moving Average - evo

Here are two moving averages, one based on positive candles and the other based on negative candles. If the current bar is positive, the negative MA will use its last known negative bar for the calculation. The default setting uses Heikin Ashi to smooth the candles with the trend, you can turn this off if you want in inputs.

Let me know if you find it useful :)
Remove from Favorite Scripts Add to Favorite Scripts

Comments

Hi, also can option be added for MA based on new high and new low? That would be great
Reply
Great work, was looking for something like this since i read about it in book "Bear Market investing strategies". Much appreciated.
Reply
EvoCrypto anu.nauri
@anu.nauri, Awesome! Haven't heard of that book, would you recommend it ? And not sure what you mean by new high and low ?
Reply
Nice idea. Thanks for coding it up. Have you seen any interesting effects from applying it?
Reply
EvoCrypto SimpleCryptoLife
@SimpleCryptoLife, It's interesting to see how the regular moving average moves between these two lines to see how fast a trend moves or spot weakness if it comes back to the middle. Separating donchian average (or whatever its called) actually works great as filter to close below or above both lines so will be adding that soon. Thanks for your comment, I appreciate it!
Reply
@EvoCrypto, thanks for your explanation. Favourited; will check it out later. Hmmm Donchian channels are interesting. Do you mean you will develop this script further, or make a different one?
Reply
EvoCrypto SimpleCryptoLife
@SimpleCryptoLife, Not channels, just the moving average like the one used in Ichimoku Cloud. Will only add more moving averages to this script, but I think there are many indicators we can separate and still find useful, like I did with ATR in a different post :)
Reply
@EvoCrypto, Got it. Thanks
Reply
This publication will be featured in our "Best Scripts of The Month" selection. Thank you for your valuable contribution to the TradingView community, and congrats!
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out