OPEN-SOURCE SCRIPT
已更新 Key Distances (Weekly, Daily Open, & EMA)

This indicator provides the pip value from various key levels I've found important in my trading system.
The results are graphed. I suggest that you choose the 2 most important ones you want to graph otherwise the indicator gets difficult to read.
The important data is the actual numbers but I've found it helpful to understand how a ticker moves in regards to weekly open and distance from 200EMA to be most helpful.
Here is the order of the data listed:
Future Possible Updates:
- customized EMA
- Distance from weekly low/high
The results are graphed. I suggest that you choose the 2 most important ones you want to graph otherwise the indicator gets difficult to read.
The important data is the actual numbers but I've found it helpful to understand how a ticker moves in regards to weekly open and distance from 200EMA to be most helpful.
Here is the order of the data listed:
- Distance from weekly open (green if above open, red if below open, also paints color on line)
- Distance from last week opening price
- Distance from daily open
- Distance to 200EMA
Future Possible Updates:
- customized EMA
- Distance from weekly low/high
版本注释
Wanted to add some customization and zero line. Here's details to this update:- Zero Line added. Now you can turn on and plot the zero line.
- Added slow EMA input that can be changed (default is 200)
- Added fast EMA input that can be changed (default is 20)
The numbers are what I feel are most important but graphing 1-3 of these numbers can help in possibly getting a good feel of how a ticker moves from these distances or in creating alerts.
版本注释
Added Daily high, low and close.You can turn off or customize all plots. This indicator is primarily used to visually backtest other indicators to look for patterns in price action. So usually just turn on a few plots or use the information panel to get the raw numbers.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。