Hancock - Filtered Volume OBV OSC [Strategy]

Trading strategy based on Donchain channel price breakouts confirmed by an optionally configurable volume filtered OBV oscillator.

Colored diamonds on charts represent signals where top side is buy side and bot side is sell side - green indicates open and red indicates close.

Pretty simple but nicely demonstrates the volume filtered OBV oscillator found here.

Happy trading
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.

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
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Looking great. Does trail stop threshold mean at what price (in percentage) trailing starts?
ahancock robertocrypto
@robertocrypto, That's correct
is this legit? Why would you share this stuff?
Freaking Genius!
ahancock dpanday
@dpanday, Thanks! I've improved the default strategy parameters for bitstamp exhange. They may need tweaking for other exchanges though.
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out