Flawless Victory Strategy - 15min BTC Machine Learning Strategy

Hello everyone, I am a heavy Python programmer bringing machine learning to TradingView. This 15 minute Bitcoin Long strategy was created using a machine learning library and 1 year of historical data in Python. Every parameter is hyper optimized to bring you the most profitable buy and sell signals for Bitcoin on the 15min chart. The historical Bitcoin data was gathered from Binance API , in case you want to know the best exchange to use this long strategy. It is a simple Bollinger Band and RSI strategy with two versions included in the tradingview settings. The first version has a Sharpe Ratio of 7.5 which is amazing, and the second version includes the best stop loss and take profit positions with a Sharpe Ratio of 2.5 . Let me talk a little bit more about how the strategy works. The buy signal is triggered when close price is less than lower Bollinger Band at Std Dev 1, and the RSI is greater than a certain value. The sell signal is triggered when close price is greater than upper Bollinger Band at Std Dev 1, and the RSI is greater than a certain value. What makes this strategy interesting is the parameters the Machine Learning library found when backtesting for the best Sharpe Ratio. I left my computer on for about 28 hours to fully backtest 5000 EPOCHS and get the results. I was able to create a great strategy that might be one of TradingView's best strategies out on the website today. I will continue to apply machine learning to all my strategies from here on forward. Please Let me know if you have any questions or certain strategies you would like me to hyper optimize for you. I'm always willing to create profitable strategies!

P.S. You can always pyramid this strategy for more gains! I just don't add pyramiding when creating my strategies because I want to show you the true win/loss ratio based buying one time and one selling one time. I feel like when creating a strategy that includes pyramiding right off the bat falsifies the win rate. This is my way of being transparent with you all. Have fun trading!
Phát hành các Ghi chú: I re-optimized the script for version 1 and was able to get a Sharpe Ratio of 13.5 on tradingview backtest results! I also included a version 3 of the script. It includes a combination of MFI and RSI parameters. Hope you guys like it!
Mã nguồn mở

Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Bình luận

Bunghole! This looks amazing. Please convert this in to a study with alerts :)
100 xu
+40 Phản hồi
kheechun CryptoHisser
@CryptoHisser, You can have alerts in strategy too without converting it to study, I just did for mine using customised {{strategy.order.alert_message}}
+20 Phản hồi
@kheechun, Didn't know that. Thanks. Will have to try it out then.
Phản hồi
@CryptoHisser, or {{strategy.order.action}}
+3 Phản hồi
CryptoHisser TradingStrategyCheck
@TradingStrategyCheck, Yep thanks. I managed to solve it.
Phản hồi
FahadWaliany CryptoHisser
@CryptoHisser, hi Crypto, hope you are well. did you solve how to put email alerts on this strategy? could you share the full code? Appreciate it. Thank you
Phản hồi
iffijee kheechun
@kheechun, would you mind putting hte complete code line here? so that a newbie like us can add it?
+8 Phản hồi