SolCollector

Body/Wick to Range Osc.

SolCollector Cập nhật   
This script is meant to be a form of pure candlestick analysis.

Terminology in the description used below is as follows:
- numcands = Number of candles specified by the user to be used for sampling in each moving average.

This script plots moving average (SMA/EMA specified by the user ) of the percentage of the high-low range that the previous {numcands} candles the upper wicks, lower wicks, and the body take up.

The user may specify if the absolute value of the body percentage is to be used (true by default). To account for this, a horizontal line is also plotted at 0 to show when the body percentage moves above or below 0.

The values that all of these moving averages plotted will oscillate between 0 and 1 (-1 and 1 for the body percentage if the absolute value of candles is not used).

Other notes: The user may select the colors used (colorblind support, as the defaults are red and green). Cross overs and cross unders are accounted for in alertconditions (as is if the body % moves above and below 0% if absolute values are not used).

An interpretation of the use of this script may be: If the upper wicks begin to take up a larger portion of the high-low range, it may signal downward selling pressure (and vise-versa for lower wicks). However, this may be open to interpretation based upon the specified {numcands} used.
Phát hành các Ghi chú:
Added a histogram that plots the difference between the Upperwick and Lowerwick moving averages.

Absolute body value and body values are now plotted together, and switches may be flipped for all plots to turn them on/off.

The histogram features color scheming based upon prior values.

Other notes: Code reduction with a helper function to grab the moving averages also added. Renaming of some variables/inputs. Comment polishing.
Phát hành các Ghi chú:
More comment polishing.
Phát hành các Ghi chú:
Clean Chart update
Phát hành các Ghi chú:
Clean chart update (attempt 2?)
Phát hành các Ghi chú:
House-Rules update

I build open-source indicators, help support my work:

BTC: 3GJFVgbxWLZjbupSEDifqouKSw1DsQytDP
ETH/USDC: 0x8a9915B9281F72C08f0274049028bdD89cF76Fd3
LTC: MFX9qvAvMvz9rRC3o9QchzH1rP4woGSmv2
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?