Library "Distributions" Library with price distribution zones calculation helpers. Based on research from "Trading Systems and Methods, 5th Edition" by Perry J. Kaufman
getZones(h, l, c, window) Returns price distribution zones based on HLC and for some period Parameters: h: high price l: low price c: close price window: period to calculate distributions Returns: tuple of 5 price zones in descent order, from highest to lowest
發行說明
v2
Added: plotZonesTable(zHighest, zHigh, zMiddle, zLow, zLowest, window) Plots table of price distribution zones Parameters: zHighest: highest prices distribution zone zHigh: upper-middle prices distribution zone zMiddle: middle zone of prices distribution zLow: lower-middle distribution zone zLowest: lowest distribuion zone window
發行說明
v3
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。