Hancock - Filtered Volume OBV OSC [Alerts]

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
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.
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
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.