Same coding only coloring and information panel was added.
CDC ATR Trailing Stop V2.1 (2013)
//Barcolor Green = Trail1 > Trail2 and close > Trail2 and low > Trail2 Blue = Trail1 > Trail2 and close > Trail2 and low < Trail2 Red = Trail2 > Trail1 and close < Trail2 and high < Trail2 Yellow = Trail2 > Trail1 and close < Trail2 and high > Trail2 //It gives White color where there is deterioration.
//InfoPanel Buy Price = Blue draws the circles at the purchase price. Profit Long>20 = Risk level taken as a percentage, I got the highest 20%, you can determine as you wish. Sell Price = Red draws the circles at the purchase price. Profit Short>20 = Risk level taken as a percentage, I got the highest 20%, you can determine as you wish.
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Salut untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.