MailBag

Adding two horizontal lines with different colors to an indicator?

 | 

Chartists can place two horizontal lines with different colors on an indicator by adding the indicator twice. The trick is to set the second indicator behind the first. This means the two indicators will overlap and it will look as if one indicator is plotted, when in fact two are actually there. Placing a second indicator behind the other can be done by choosing “Behind Ind.” as the “Position”. Horizontal lines can be added by clicking advanced options and adding overlays. Chartists can also add two lines of the same color by entering two comma-separated numbers in the parameters box.

101217zmbshch
101217zmbspyrsi2x
Click this image for a live chart

The chart above shows the S&P 500 with RSI sporting two horizontal lines. A red line is set at 60 and a blue line at 40. This is not a recommendation for settings. It is just an example of how to add two horizontal lines. This technique can be applied to any indicator: Chaikin Money Flow, Aroon, CCI, MACD etc...

Arthur Hill
About the author: , CMT, is a Senior Technical Analyst at StockCharts.com. He has written articles for numerous financial publications including Barrons and Stocks & Commodities magazine. Focusing predominantly on US equities and ETFs, his systematic approach of identifying trend, finding signals within the trend, and setting key price levels has made him an esteemed technician. In addition to his CMT designation, Arthur holds an MBA from the Cass Business School at City University in London. Learn More
Subscribe to MailBag to be notified whenever a new post is added to this blog!
Thanks. If one wants each line to have a separate color that is a good solution. If one wants both lines to be the same color then only one additional RSI indicator is needed and in the parameters box you can add the line locations separated by a comma ( 60,40). Art's Response: Excellent point. I incorporated the info into the article. Thanks.
Great - I've been trying to do this for some time. Can the line color be selected or are there only default settings?
Very good advice indeed. I use many of these indicators in my daily analysis, and that tip will really be helpful. Thank You!
comments powered by Disqus