drother

Entry Alert Bot

drother Aktualisiert   
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.
Versionshinweise:
cleaned up debug code
Versionshinweise:
Added alert frequency option
Versionshinweise:
#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
Versionshinweise:
Now calculates long/short whether or not take profit is above or below entry.
Versionshinweise:
Added #stoplosspercent# to the placeholders
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?