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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。