INVITE-ONLY SCRIPT
Updated

TTP ADB Plugin: Events

38
This ADB plugin allows users to define sequence of events.

A signal is triggered if the sequence of events occur in the order specified by the user.

Loopback settings are provided to relax or restrict how many candles can happen in between events or how long in the past the full sequence could have happend.

Release Notes
Events now plots the events in the chart panel to make it much easier to identify the sequence of events and confirm the accuracy of the signals triggered by the indicator.
Release Notes
Two really cool additions:

1) UI improvements to the chart timeline of events.
You can now see each event number and when the loopback is still active for each of the conditions. It just became way easier to understand how the events are

2) You can now disable chronological order in settings allowing for all conditions to happen within the provided loopback window. Example: if using event loopback of 10, events will only trigger as long as in the past 10 candles there was at least one occurrence of each of the selected conditions.
Release Notes
chart update
Release Notes
Added max_bars_back = 300 to prevent the error: "Pine cannot determine the referencing length of a series" tradingview.com/chart/?solution=43000587849

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.