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. קרא עוד ב־תנאי השימוש.