OPEN-SOURCE SCRIPT
Updated 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
Release Notes
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.
Release Notes
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
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.