PINE LIBRARY
Updated 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
Release Notes
v2- PSAR lagging identification improved
Release Notes
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
Release Notes
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
Release Notes
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
Release Notes
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
Release Notes
v7Release Notes
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
Release Notes
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
Release Notes
v10Release Notes
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
Release Notes
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
Release Notes
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
Release Notes
v14Release Notes
v15Release Notes
v16Release Notes
v17Release Notes
v18Release Notes
v19Release Notes
v20Release Notes
v21Pine library
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.
Disclaimer
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 library
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.
Disclaimer
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.