INVITE-ONLY SCRIPT
已更新

Trend-following Alert E v2.7 4H

470
Hi All,

Welcome to my third published Trend-following strategy for bitcoin, designed specifically for BITMEX:XBTUSD on 4H
This is an improvement of my second script (v2.6) to try and reduce 'chop' in consolidating ranges.

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:
Trend-following Strategy E v2.7 4H


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.

I've also added start and end dates to test specific time periods.

Please let me know if you have any questions.
版本注释
Please contact me via PM to gain access

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。