OPEN-SOURCE SCRIPT
已更新 Events assistant

This script gives an ability to manually add events to your charts. There is no option to define events for different pairs. I trade only 2-3 pairs and it helps me a lot. It also draws vertical lines that separate trading period of your selection: daily, weekly and monthly. It is also possible to strictly define trading period. I use trading period every time during backtesting so it is easy to know when to start and when to finish. It also helps to remember that I already written down trading news during selected period.
版本注释
This indicator provides an ability to show events at chart. The events are typed manually, date and time is also selected manually. I use it to show news at chart: at the end of every month check the news calendar → select only important ones → add them to the indicator.Features included:
- Up to 9 events supported. This is sufficient for me because i use only NFP, CPI and IR.
- Trading period. You select daily, weekly, monthly or custom start and end of your trading period. I use it to do weekly retrospective at weekends: trading week is always visible at chart, no need to search when trading week started.
- Between dates. I use this feature when doing backtesting: enable replay mode → select trading period → do backtesting → end at the right line that shows end of the period.
- Outdated at. Shows a vertical line when events should be updated. This date and time should be selected manually. I select important news once a month → set this line to the next month → when price reaches this date and time, there are no events anymore → sync with the monthly news again → move this line to the next month.
- Candles offset. I avoid trading before and after news. This feature gives an ability to select a danger zone around every piece of news. Just select news timeframe, define width of the danger zone and you all set. This zone is selected in candles. Example: you trade M15, before candles is 2 (danger zone is 30 minutes before piece of news), after candles is 1 (danger zone is 15 minutes after piece of news).
- Skip past and/or future events. If there are some events with date and time outside the trading period, they can be hidden manually using this feature.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。