RozaniGhani-RG

Auto AB=CD 1 to 1 Ratio Experimental

RozaniGhani-RG Uppdaterad   
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
Versionsinformation:
Code clean up.
1. Follow Pine Script Coding Conventions
2. Add dependencies comment
3. Remove fun_avg()
4. Add abs() to ratio_CD
Versionsinformation:
Convert to Pine Script v5
Versionsinformation:
Change Ternary function to switch
Versionsinformation:
Code clean up

Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?