ZTLs Bar_Trend

680 0
Here is an adaptation of TTM_Trend I coded. It's all pretty self explanatory. Aqua = buy and red = sell.
There's only one setting to tweak and it's the look-back for highest and lowest.
I have found that this indicator gives signals at almost identical areas to the TTM_Trend but tend to actually be a little more efficient (earlier buy/sell signals), although I haven't thoroughly back-tested it.

Please comment below if you have any questions.
从收藏脚本中删除 添加到收藏脚本
study("ZTLs Bar_Trend", overlay=true)
//Adapted from TTM_Trend by Zack_the_Lego
lookback=input(6, defval=6, minval=1, title = "Bar Range")
barhigh= highest(lookback)
barlow = lowest(lookback)

avgprice= sma(close, 5)
half = (barhigh[1]-barlow[1])/2
range = barhigh[1]-half
barcolor = hl2 >= range ? aqua : red


首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 聊天 退出