OPEN-SOURCE SCRIPT
已更新 HLM Trend Line (High-Low-Midpoint / Ichimoku Line)

Ichimoku style trend line .
Some strategies call for a custom Ichimoku style line (midpoint of range's high/low).
This allows you to use or replace a single line without having to customize a full Ichimoku setup.
Some strategies call for a custom Ichimoku style line (midpoint of range's high/low).
This allows you to use or replace a single line without having to customize a full Ichimoku setup.
版本注释
* Added time shifting and secondary period averaging so that all 4 Ichimoku HLM lines can be created.* `Current = 0` option to clarify user intention. Turn off to support Ichimoku ordinal indexing (1==1st), instead of the natural natural language / array indexing (0=1st) that users would expect to enter.
* `Into Past` option. Natural offset direction is toward future. Pinescript direction is the opposite. Use this to project into past by default (i.e. `- => Future`).
开源脚本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our 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.
开源脚本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our 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.