PINE LIBRARY
已更新 AoDivergenceLibrary_

Library "AoDivergenceLibrary_"
this has functions which calculate and plot divergences which are used for ao divergences. essentially, this finds divergences by using the ao divergence logic. this logic has been used in "AO Hid & Reg Div with LC & Kernel".
regBullDivergence(swingLow, osc, colour)
Parameters:
swingLow (bool)
osc (float)
colour (color)
regBearDivergence(swingHigh, osc, colour)
Parameters:
swingHigh (bool)
osc (float)
colour (color)
hidBullDivergence(swingHigh, osc, colour)
Parameters:
swingHigh (bool)
osc (float)
colour (color)
hidBearDivergence(swingHigh, osc, colour)
Parameters:
swingHigh (bool)
osc (float)
colour (color)
this has functions which calculate and plot divergences which are used for ao divergences. essentially, this finds divergences by using the ao divergence logic. this logic has been used in "AO Hid & Reg Div with LC & Kernel".
regBullDivergence(swingLow, osc, colour)
Parameters:
swingLow (bool)
osc (float)
colour (color)
regBearDivergence(swingHigh, osc, colour)
Parameters:
swingHigh (bool)
osc (float)
colour (color)
hidBullDivergence(swingHigh, osc, colour)
Parameters:
swingHigh (bool)
osc (float)
colour (color)
hidBearDivergence(swingHigh, osc, colour)
Parameters:
swingHigh (bool)
osc (float)
colour (color)
發行說明
v2Added:
findLowestAo(start, osc, _end)
Parameters:
start (int)
osc (float)
_end (int)
findHighestAo(start, osc, _end)
Parameters:
start (int)
osc (float)
_end (int)
credit goes to @sammie123567858
發行說明
v3Removed:
findLowestAo(start, osc, _end)
findHighestAo(start, osc, _end)
發行說明
v4Added:
findLowestAo(start, osc, _end)
to find the lowest ao in the given range (starting from _end upto end)
Parameters:
start (int): is for the left side. the parameter value is supposed to be a bar index
osc (float)
_end (int): is for the right side. the parameter value is supposed to be a shift
findHighestAo(start, osc, _end)
to find the highes ao in the given range (starting from _end upto end)
Parameters:
start (int): is for the left side. the parameter value is supposed to be a bar index
osc (float)
_end (int): is for the right side. the parameter value is supposed to be a shift
發行說明
v5Added:
findLowestPrice(start, end)
to find the lowest price in the given range (starting from start upto end)
Parameters:
start (int): is for the right side. the parameter value is supposed to be a bar index
end (int): is for the left side. the parameter value is supposed to be a bar index
findHighestPrice(start, end)
to find the highest price in the given range (starting from start upto end)
Parameters:
start (int): is for the right side. the parameter value is supposed to be a bar index
end (int): is for the left side. the parameter value is supposed to be a bar index
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。