OPEN-SOURCE SCRIPT

Trade Ideas to Discord Webhook

By godzcopilot
Updated
Takes basic user inputs for entries, exits, stop loss and leverage.
Converts all inputs (removing unused ones) to an alert message.

Intended for use as a single alert / message.
Alert will fire as soon as activated - after that you should delete the alert to prevent multiple alerts being fired on subsequent candles.
Release Notes
Converted to pinescript v5.

Added the option to define whether the signal is Entry / Exit only, or a combined Entry & Exit Signal.
Suggest to use the "Other Notes" field to define a trade ID when posting separate Entry / Exit Signals.

If Entry / Exit is selected, only the relevant parts will be constructed in the message, other fields will be ignored.
Release Notes
Fixed a bug in that Entry / Exit wasn't working
Added the option to define if a trade is a Long or a Short.

Added color formatting to the message - Green for Long, Red for Short.
alertsetupdiscordPine utilitieswebhook
godzcopilot

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer