OPEN-SOURCE SCRIPT

CA - Indicators Colors

Updated
The following indicator help to have an idea of the current state of the MACD and FullStochastic in 1 hour and 1 day. If you are a trader that is regularly using stochastics and macd indicator and don't have enough space in you screen this might help to increase the space in your screen.

Parameters used on MACD: 12, 26,9
Parameters used on Stochastics: 14,5,5

The whole idea of the indicator is if you see an entry for a long position, you can confirm that a higher timeframe its aligned by both indicators and if you are seeing an entry for a short position you can confirm with a higher timeframe.

This indicator doesn't provide an entry or exit signal, but lets you verify where is the trend going in those timeframes so it helps you decide to make the trade.

Stochastic
Green: going up
Red: going down

Macd
Green: going up
Light Green: previous was green and going down.
Red: going down
Light Red: previous was red and going up

Keep in mind, the colors are going to get updated as long as the market is active.

Any feedback its appreciated.
Release Notes
Removing some empty space.
Release Notes
Fixing issue with intervals.

As of right now, you have to be on 1hr candles and you will be able to display the proper colors on 1D.

Work in progress to fix the display of the colors when on higher timeframe.
Moving Average Convergence / Divergence (MACD)OscillatorsStochastic RSI (STOCH RSI)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer