OPEN-SOURCE SCRIPT
已更新 Hancock - Filtered Volume OBV OSC [Alerts]

This is an alert version of the strategy found here
This doesn't have the trailing stop or stop loss risk management included, i'll work on a release that has risk management included as best i can with alerts. Make sure to set a stop loss with your alert command.
Happy trading
Hancock
This doesn't have the trailing stop or stop loss risk management included, i'll work on a release that has risk management included as best i can with alerts. Make sure to set a stop loss with your alert command.
Happy trading
Hancock
版本注释
Tweaked parameter default values.Net Profit: 13690%
Total Trades: 71
Profitability: 52.11%
Profit Factor: 2.891
Max Drawdown: 38.07%
Avg Trade: 192.83%
Bars In Trade: 60
Fixed bug with opening short positions using wrong channel as confirmation.
Fixed bug closing positions where it shouldn't.
版本注释
Added functionality to specify moving average type for the calculation of OBV oscillator.General refactoring and optimizations to leverage positions section, mostly so I can calculate stop loss and trailing take for alerts on this strategy.
Added stop loss and trailing take profit alerts as best i can with tradingview.
IMPORTANT: As it stands, the above alerts will be triggered on the close of a candle which could result in a close WELL past the stop loss or trailing take profit level. Please, ensure you have an additional stop loss set in the command for the alert to prevent unexpected losses!
Performance improvements:
Net Profit: 15260%
Total Trades: 68
Profitability: 52.94%
Profit Factor: 3.836
Max Drawdown: 36.62%
Avg Trade: 224.43%
Bars In Trade: 62
Happy trading
Hancock
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。