INVITE-ONLY SCRIPT
Trend-following Alert E v2.6

Hi All,
Welcome to my first published Trend-following strategy for bitcoin , designed specifically for BITMEX:XBTUSD.
This script is the Alert script to use for settings up Alerts on Tradingview.
The accompanying strategy script and explanations/caveats you can find here:
In this script you will find the "active_long" and "active_long" variables (red and blue lines) that show which positions are being taken by the strategy script.
You can set 'Once per bar close' alerts for this to get your alerts on TV.
For instance, I use 'crossing up @ 0.1' on "active_long" to set an 'Open Long" alert and a 'crossing down @ 0.9' to set a 'Close Long' alert.
The same holds for the 'Open Short' and the 'Close Short' alerts but then for the 'active_short' variable.
Please let me know if you have any questions.
Welcome to my first published Trend-following strategy for bitcoin , designed specifically for BITMEX:XBTUSD.
This script is the Alert script to use for settings up Alerts on Tradingview.
The accompanying strategy script and explanations/caveats you can find here:

In this script you will find the "active_long" and "active_long" variables (red and blue lines) that show which positions are being taken by the strategy script.
You can set 'Once per bar close' alerts for this to get your alerts on TV.
For instance, I use 'crossing up @ 0.1' on "active_long" to set an 'Open Long" alert and a 'crossing down @ 0.9' to set a 'Close Long' alert.
The same holds for the 'Open Short' and the 'Close Short' alerts but then for the 'active_short' variable.
Please let me know if you have any questions.
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。