OPEN-SOURCE SCRIPT
已更新 Entry Alert Bot

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.
版本注释
cleaned up debug code版本注释
Added alert frequency option版本注释
#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
版本注释
Now calculates long/short whether or not take profit is above or below entry.版本注释
Added #stoplosspercent# to the placeholders免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。