Tr0sT

Zig Zag High Low

Zig Zag script that uses local minimums and maximums as pivot points . It can be used as a source for pattern recognition.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,因此交易者可以理解和验证它。为作者加油! 您可以免费使用它,但是在发布中重复使用此代码受网站规则的约束。您可以收藏它以在图表上使用。

想在图表上使用此脚本?

评论

Does it account for different timeframes?
+5 回复
Tr0sT Virking_online
@Virking_online, it uses only "current" timeframe
回复
Here's the Enhancement I made based on your ZigZag Script.



Thanks again for your help! I love the community... Strength in numbers!

Trade well, and trade Long!

-Anthony
+4 回复
Will this change the final leg after price moves?
+4 回复
Tr0sT colibribull
@colibribull, yes, it can
+2 回复
Hello,

I first want to say I love your script Tr0sT . I've use it alot.

I'm not much into proraming but i have thought of something, if we have such a good trend patern recognition with this . Can't we implement in it Fibonaci values too and also create alarms based on it ?

For example once a new high or low is made and the price goes in the opposite direction, We get an alarm on that asset when the price reache 38% retracement on the movement.

What do you guys think of this ?
回复
Hello Tr0sT
I'm a fan of your script. I found it through a mention by ocaptain, who you helped expand your script with RSI.

I'm trying to learn how your script works. It appears that when Price-Direction is UP (dirUp), your f_drawLine() function sets the line-color to Teal and otherwise sets it to Orange. However, the line-colors on the chart appear reversed. The line is set to Orange when Price-Direction is UP, and otherwise it's set to Teal. Can you explain where this logic gets reversed or what I'm missing? Thanks
回复
Tr0sT veepy
@veepy, hi, it's just bad variable naming by me. dirUp is true when we are looking for new high (price direction in those moments usually dow), so last drawed line is down. when we found new high - we set dirUp to false and draw a line, so colors are messed up
回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 关于 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 私人消息 在线聊天 退出