OPEN-SOURCE SCRIPT
Legacy Alert Builder

Legacy Alert Builder is a fully customizable TradingView strategy framework designed for traders who want to automate their favorite indicators through platforms like TradersPost. Unlike standard indicators, this script is a strategy — meaning it can backtest performance, generate alerts, and manage trades directly.
With this tool, you can:
Combine up to three independent signal sources (single, dual, or triple confirmation).
Define long and short entry conditions for each source.
Enable or disable take-profit, stop-loss, and trailing stop management.
Adjust position sizing, tick values, and risk settings directly in the inputs.
Generate ready-to-use JSON alert messages for automation systems.
With this tool, you can:
Combine up to three independent signal sources (single, dual, or triple confirmation).
Define long and short entry conditions for each source.
Enable or disable take-profit, stop-loss, and trailing stop management.
Adjust position sizing, tick values, and risk settings directly in the inputs.
Generate ready-to-use JSON alert messages for automation systems.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.