RozaniGhani-RG

Auto AB=CD 1 to 1 Ratio Experimental

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

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?