This simple script draws the previous higher timeframe candle high/low to your chart.

You can also make the script paint the zone between the low/open and the high/close.
版本注释: Minor improvements
版本注释: -
- Converted to Pine Script v4
- Fixed repainting
版本注释: -
- Added alert functionality!
版本注释: -
- Fixed fill zone colors overlapping
- Added alert functionality (detects breakouts)
版本注释: -
- Fixed long alerts (they were triggering off the HTF close, not the high - whoops!)
开源脚本

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
If you want to master Pine Script coding, watch my free YouTube lessons or get the source code to my scripts then check out my Pine Script Mastery Course website: https://www.pinescriptmastery.com

评论

Wonderful indicator
回复
It is a wonderful indicator.
My suggestion is to have in the settings the possibility to remove the segments from htf high to high and low to low.
Thumbs up
回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 私人消息 在线聊天 退出