OPEN-SOURCE SCRIPT
Updated

[TradersPost] Confluence of Alerts

2 578
This tool provides users the ability to generate alerts based on a confluence of up to four (4) indicators. These indicators must already be on the chart, and have values that are accessible to other indicators.

SETTINGS

Events:

  • Crossing
  • Crossing Up
  • Crossing Down
  • Greater Than
  • Less Than
  • Rising
  • Falling


Session + Expiration:
Limit alerts to particular session windows, or have them expire at a certain date/time.

Message Placeholders:
When using the indicator's message field, the following placeholders are available:

{{ticker}}, {{exchange}}, {{interval}}
* interval will return the chart's timeframe in a user readable format (e.g., 4h)

{{open}}, {{high}}, {{low}}, {{close}}

{{time}}, {{timenow}}

{{volume}}, {{volume_ui}}
* volume_ui returns the volume in a user readable format (e.g., 56K)

{{when_1}}, {{source_1}}
{{when_2}}, {{source_2}}
{{when_3}}, {{source_3}}
{{when_4}}, {{source_4}}

{{syminfo.currency}}, {{syminfo.basecurrency}}
Release Notes
- Upgrade to pine script v6
- Added Condition Any to the alerts
- Added bars since setting
- Added pine logs

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.