Plot Real Open and Close - SamX

SamAccountX 已更新   
I built this indicator as a personal request from a friend. He often trades using Heiken Ashi charts, but wanted a way to easily cross-reference real-price open and close values for the same timeframe on the same chart (as HA candles are by design lagging, they can take a few periods to catch up to a large move). This can also be used to help guide support and resistance zones using real-price data points should you so choose.

There are 2 major ways to configure this indicator to display real-price open and close:
  • As a Bar or Hollow Candle style chart overlay
  • As on-chart shapes (allowing individual control over which data to show - open, close, or both)
Added the ability to plot an updating line tracking current real price.
Added option to extend the live-price line indefinitely to the left as well.

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