OPEN-SOURCE SCRIPT
Updated

Entry Alert Bot

10080
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

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.