Edgar Kraut proposed this simple colored volume bars strategy for swing trading.
This is how the colors are determined: - If today’s closing price and volume are greater than 'n' days ago, color today’s volume bar green. - If today’s closing price is greater than 'n' days ago but volume is not, color today’s volume bar blue. - Similarly, if today’s closing price and volume is less than 'n' days ago, color today’s volume bar orange. - If today’s closing price is less than 'n' days ago but volume is not, color today’s volume bar red.
Buy the green or blue volume bars, use a 1% trailing stop, and stand aside on red or orange bars.
As you see, this is more for entry confirmation. I have not tested this on any instrument.
You may have to tune the lookback period for your instrument. Default is 10.
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.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.