PINE LIBRARY
已更新 tac

Library "tac"
Customised techninal analysis functions
sar(start, inc, max)
returns parabolic sar with lagging value
Parameters:
start (float): float: Start
inc (float): float: Increment
max (float): float: Maximum
Returns: [result, lagging] Actual sar value and lagging sar value
Customised techninal analysis functions
sar(start, inc, max)
returns parabolic sar with lagging value
Parameters:
start (float): float: Start
inc (float): float: Increment
max (float): float: Maximum
Returns: [result, lagging] Actual sar value and lagging sar value
版本注释
v2- PSAR lagging identification improved
版本注释
v3- PSAR fast value implemented
Updated:
sar(start, inc, max)
returns parabolic sar with lagging and fast value
Parameters:
start (float): float: Start
inc (float): float: Increment
max (float): float: Maximum
Returns: [result, lagging, fast] Actual sar value, lagging sar value and fast sar value
版本注释
v4Added:
method eval(this)
Returns Fractals after processing
Namespace types: Fractals
Parameters:
this (Fractals)
Returns: Fractals
Fractals
Fractals - Fractal container object
Fields:
srcHigh (series float): source for high fractal marking. Default: high
srcLow (series float): source for low fractal marking. Default: low
bar (Fluent type from aybarsm/ToolsFluent/3)
hh (array<Fluent> type from aybarsm/ToolsFluent/3): fluent.Fluent[] Higher high fractals. Default: na
lh (array<Fluent> type from aybarsm/ToolsFluent/3): fluent.Fluent[] Lower high fractals. Default: na
hl (array<Fluent> type from aybarsm/ToolsFluent/3): fluent.Fluent[] Higher low fractals. Default: na
ll (array<Fluent> type from aybarsm/ToolsFluent/3): fluent.Fluent[] Lower low fractals. Default: na
版本注释
v5Added:
BWFractals
BWFractals - BWFractals container object
Fields:
srcHigh (series float): source for high fractal marking. Default: high
srcLow (series float): source for low fractal marking. Default: low
bar (Fluent type from aybarsm/ToolsFluent/3)
hh (array<Fluent> type from aybarsm/ToolsFluent/3): fluent.Fluent[] Higher high fractals. Default: na
lh (array<Fluent> type from aybarsm/ToolsFluent/3): fluent.Fluent[] Lower high fractals. Default: na
hl (array<Fluent> type from aybarsm/ToolsFluent/3): fluent.Fluent[] Higher low fractals. Default: na
ll (array<Fluent> type from aybarsm/ToolsFluent/3): fluent.Fluent[] Lower low fractals. Default: na
Updated:
method eval(this)
Returns BWFractals after processing
Namespace types: BWFractals
Parameters:
this (BWFractals)
Returns: BWFractals
Removed:
Fractals
Fractals - Fractal container object
版本注释
v6Added:
BWFractal
BWFractal - BWFractal mark info object
Fields:
price (series float): float BWFractal price
when (series int): int BWFractal bar time UNIX. Default: time
index (series int)
markWhen (series int): int BWFractal mark bar time UNIX. Default: time
markIndex (series int)
boPrice (series float): float BWFractal breakout price. Default: na
boTime (series int): int BWFractal breakout bar time UNIX. Default: time
boIndex (series int): int BWFractal breakout bar index. Default: time
Updated:
method eval(this, hhBoLb, llBoLb)
Returns BWFractals after processing
Namespace types: BWFractals
Parameters:
this (BWFractals)
hhBoLb (int): Higher high brakout lookback count. Default: 0
llBoLb (int): Lower low brakout lookback count. Default: 0
Returns: BWFractals
BWFractals
BWFractals - BWFractals container object
Fields:
srcHigh (series float): source for high fractal marking. Default: high
srcLow (series float): source for low fractal marking. Default: low
bar (Fluent type from aybarsm/ToolsFluent/3)
hh (array<BWFractal>): fluent.Fluent[] Higher high fractals. Default: na
lh (array<BWFractal>): fluent.Fluent[] Lower high fractals. Default: na
hl (array<BWFractal>): fluent.Fluent[] Higher low fractals. Default: na
ll (array<BWFractal>): fluent.Fluent[] Lower low fractals. Default: na
版本注释
v7版本注释
v8Updated:
method eval(this, hhBoLb, llBoLb)
Returns BWFractals after processing
Namespace types: BWFractals
Parameters:
this (BWFractals)
hhBoLb (int): Higher high brakout lookback count. Default: 0
llBoLb (int): Lower low brakout lookback count. Default: 0
BWFractals
BWFractals - BWFractals container object
Fields:
srcHigh (series float): source for high fractal marking. Default: high
srcLow (series float): source for low fractal marking. Default: low
bar (Fluent type from aybarsm/ToolsFluent/4)
hh (array<BWFractal>): fluent.Fluent[] Higher high fractals. Default: na
lh (array<BWFractal>): fluent.Fluent[] Lower high fractals. Default: na
hl (array<BWFractal>): fluent.Fluent[] Higher low fractals. Default: na
ll (array<BWFractal>): fluent.Fluent[] Lower low fractals. Default: na
版本注释
v9Updated:
BWFractals
BWFractals - BWFractals container object
Fields:
srcHigh (series float): source for high fractal marking. Default: high
srcLow (series float): source for low fractal marking. Default: low
bar (Fluent type from aybarsm/ToolsFluent/5)
hh (array<BWFractal>): fluent.Fluent[] Higher high fractals. Default: na
lh (array<BWFractal>): fluent.Fluent[] Lower high fractals. Default: na
hl (array<BWFractal>): fluent.Fluent[] Higher low fractals. Default: na
ll (array<BWFractal>): fluent.Fluent[] Lower low fractals. Default: na
版本注释
v10版本注释
v11Updated:
method eval(this, srcHigh, srcLow, hhBoLb, llBoLb)
Returns BWFractals after processing
Namespace types: BWFractals
Parameters:
this (BWFractals)
srcHigh (float): source for high fractal marking. Default: high
srcLow (float): source for low fractal marking. Default: low
hhBoLb (int): Higher high brakout lookback count. Default: 0
llBoLb (int): Lower low brakout lookback count. Default: 0
BWFractals
BWFractals - BWFractals container object
Fields:
bar (Fluent type from aybarsm/ToolsFluent/5)
hh (array<BWFractal>): fluent.Fluent[] Higher high fractals. Default: na
lh (array<BWFractal>): fluent.Fluent[] Lower high fractals. Default: na
hl (array<BWFractal>): fluent.Fluent[] Higher low fractals. Default: na
ll (array<BWFractal>): fluent.Fluent[] Lower low fractals. Default: na
版本注释
v12Updated:
BWFractals
BWFractals - BWFractals container object
Fields:
bar (Fluent type from aybarsm/ToolsFluent/6)
hh (array<BWFractal>): fluent.Fluent[] Higher high fractals. Default: na
lh (array<BWFractal>): fluent.Fluent[] Lower high fractals. Default: na
hl (array<BWFractal>): fluent.Fluent[] Higher low fractals. Default: na
ll (array<BWFractal>): fluent.Fluent[] Lower low fractals. Default: na
版本注释
v13Updated:
method eval(this, srcHigh, srcLow, hhBoLb, llBoLb, hhBoLbStart, llBoLbStart)
Returns BWFractals after processing
Namespace types: BWFractals
Parameters:
this (BWFractals)
srcHigh (float): source for high fractal marking. Default: high
srcLow (float): source for low fractal marking. Default: low
hhBoLb (int): Higher high brakout lookback count. Default: 0
llBoLb (int): Lower low brakout lookback count. Default: 0
hhBoLbStart (int): Higher high brakout lookback start time. Default: time
llBoLbStart (int): Lower low brakout lookback start time. Default: time
版本注释
v14版本注释
v15版本注释
v16版本注释
v17版本注释
v18版本注释
v19版本注释
v20版本注释
v21Pine脚本库
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Pine脚本库
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.