PINE LIBRARY
Updated Ichimoku Library

Library "Ichimoku"
Ichimoku Kinko Hyo library
calc(conversion, base, lead, displacement1, displacement2) : Calculate the Ichimoku Kinko Hyo values
Parameters:
conversion: Conversion line' periods
base: Base line's periods
lead: 2nd Leading line's periods
displacement1: Leading line's offset
displacement2: Lagging line's offset
Returns: [conversion_line, base_line, leading_span1, leading_span2, leading_offset, lagging_offset]
Ichimoku Kinko Hyo library
calc(conversion, base, lead, displacement1, displacement2) : Calculate the Ichimoku Kinko Hyo values
Parameters:
conversion: Conversion line' periods
base: Base line's periods
lead: 2nd Leading line's periods
displacement1: Leading line's offset
displacement2: Lagging line's offset
Returns: [conversion_line, base_line, leading_span1, leading_span2, leading_offset, lagging_offset]
Release Notes
v2Updated:
calc()
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.
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.