LonesomeTheBlue

Trend Lines for RSI, CCI, Momentum, OBV

Hello Traders!

After publishing Trend Lines for RSI yesterday, I realized that Trend Lines for more indicators needed by the traders. so I decided to make it for four different indicators: RSI, CCI , OBV, Momentum

In the indicator options you can choose the indicator from pull-down menu.


How it works?

- On each bar it finds last 10 higher and lower Pivot Points ( PP ) for the indicator.
- from first bar to 10. Pivot Point it searchs if a trend line is possible
- for each PP it starts searching from the last PP .
- it checks if drawing a trend line possible or not and also it's broken or not
- if it's broken then optionally it shows broken trend lines as dotted (or you can option not to see broken lines)
- if it finds a continues trend line then it stops searhing more and draw trend line , this is done by checking angles (I did this to make the script faster, otherwise you may get error because of it needs time more than .2sec)
- the script makes this process for each PP
- then shows the trend lines


P.S. it may need 3-10 seconds when you added the script to the chart at first (because of calculations)


Trend lines for CCI:


Trend Lines for OBV



Trend Lines for Momentum:


You may want to watch how Trend Lines script works
(that was made for RSI )
https://s3.tradingview.com/d/dxBXxzE5_bi...


If you still didn't see Trend Lines v2 then visit:


All Comments are welcome..


Enjoy!
เอกสารเผยแพร่: Added "Show EMA line" option, default EMA length = 9. it adds EMA line for the selected indicator. you can change the EMA Length.
เอกสารเผยแพร่: After I saw some people copy/paste this script and sell, I decided to make it lighter.

for "Trend Lines Pro for Indicators" script please visit following page:
สคริปต์โอเพนซอร์ซ

จากใจ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ยินดีด้วย! คุณสามารถใช้มันได้ฟรี แต่การใช้โค๊ดนี้ซ้ำเพื่อการเผยเเพร่ อยู่ภายใต้ กฎของเรา คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้กับชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

ความคิดเห็น

Excelente work.

Thanls for share!

If you can add divergences lines, this script will se the most complete and useful rsi!
+9 ตอบกลับ
As always, amazing work my friend. If i is possible, it would be great to have the option to add an ema signal line to the chart that would be helpful gor rsi and OBV. Perhaps we could have the option to select what lenght ema to choose as a the signal. Cheers
+7 ตอบกลับ
@NetoDav, you are one of my followers for long time, right? sure I will add ema line as an option ;)
+6 ตอบกลับ
What is Hlines and abbreviation for?
+2 ตอบกลับ
@RiverDeep, hline is a virtual line to analyse trend line continues or was broken ;)
ตอบกลับ
RiverDeep LonesomeTheBlue
ตอบกลับ
RiverDeep RiverDeep
@RiverDeep, I just watched it play out right now, nice.
ตอบกลับ
Süper Olmuş eline Sağlık
+2 ตอบกลับ
@MohegaN, Thank you
ตอบกลับ
One of the Finest Pinecoders..Marvelous Masterpiece
+1 ตอบกลับ