RozaniGhani-RG

Auto AB=CD 1 to 1 Ratio Experimental

RozaniGhani-RG Telah dikemas kini   
This indicator was experimental based AB=CD, shows last AB=CD either Standard AB=CD or Reciprocal AB=CD which uses time instead of bar_index.
This build is based upon educational materials (refer below resources).
ABCD are based on 1 to 1 Ratio for price and time.

Features / Pros:
1. Show last AB=CD points and lines including table value.
2. Customize table position and size.
3. For desktop display only, not for mobile.

Cons:
1. Time for point D less accurate for intraday timeframe (minute, hour, etc) which may including holidays and depends on price volatility.
2. Label ratio not shown properly depends on timeframe especially for intraday timeframe and maybe for Daily and Weekly timeframe.
3. Experimental code, use at your own risk.

FAQ
1. Credits
Scott M Carney, Harmonic Trading: Volume One and Two.
LonesomeTheBlue for zigzag array source code.
HeWhoMustNotBeNamed for some guidance and advice.

2. Previous Build / Resources
Link 1
Link 2
Link 3
Link 4

3. Code Usage
Free to use for personal usage.

Left : Bullish AB=CD, Right : Bullish Reciprocal AB=CD

Left : Bearish AB=CD, Right : Bearish Reciprocal AB=CD
Nota Keluaran:
Code clean up.
1. Follow Pine Script Coding Conventions
2. Add dependencies comment
3. Remove fun_avg()
4. Add abs() to ratio_CD
Nota Keluaran:
Convert to Pine Script v5
Nota Keluaran:
Change Ternary function to switch
Nota Keluaran:
Code clean up

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?