OPEN-SOURCE SCRIPT

Entry Alert Bot

Updated
This bot is SIMPLY to trigger an external webhook. You simply enter you take profit, entry, and stop loss %, and it will auto-populate the variables listed to the calculated values. That is all this script does. It does draw the trade on the chart for you. If you want a long, and price crosses up over you entry it will trigger the webhook. If you want a short and price crosses below your entry, it will trigger the webhook.
Release Notes
cleaned up debug code
Release Notes
Added alert frequency option
Release Notes
#leverage# - This variable is the configured leverage
#symbol# - This is the symbol. I have it removing ".P" at the end of the symbol for Bybit
#tpfull# - Take profit price
#stoploss# - Percentage price movement for stoploss
#margintype# - Outputs a 1 if you want to use % of margin available in your account, and a 2 if you want to use a static amount of margin
#margin# - The percentage or static amount configured
Release Notes
Now calculates long/short whether or not take profit is above or below entry.
Release Notes
Added #stoplosspercent# to the placeholders
APICandlestick analysiswebhookwebhookbotwebhooks

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