wbburgin

MTF Diagonally Layered RSI - 1 minute Bitcoin Bot [wbburgin]

wbburgin Cập nhật   
This is a NON-REPAINTING multi-timeframe RSI strategy (long-only) that enters a trade only when two higher timeframes are oversold. I wrote it on BTC/USD for 1min, but the logic should work on other assets as well. It is diagonally layered to be profitable for when the asset is in a downtrend.

Diagonal layering refers to entry and exit conditions spread across different timeframes. Normally, indicators can become unprofitable because in downtrends, the overbought zones of the current timeframe are not reached. Rather, the overbought zones of the faster timeframes are reached first, and then a selloff occurs. Diagonally-layered strategies mitigate this by selling diagonally, that is, selling once the faster timeframe reaches overbought and buying once the slower timeframe reaches oversold.

Thus this strategy is diagonally layered down. I may create a separate script that alternates between diagonal-up and diagonal-down based off of overall trend, as in extended trend periods up this indicator may not flash as frequently. This can be visualized in a time series x timeframe chart as an "X" shape. Something to consider...

Let me know if you like this strategy. Feel free to alter the pyramiding entries, initial capital, and entry size, as well as commission regime. My strategies are designed to maximize average profit instead of flashing super frequently, as the fees will eat you up. Additionally, at the time of publication, all of my strategy scripts are intended to have profitable Sharpe and Sortino ratios.

Timeframes, RSI period, and oversold/overbought bounds are configurable.
Phát hành các Ghi chú:
Altered to align with Tradingview's method of non-repainting, see the link inside the script.
Phát hành các Ghi chú:
Added another way to prevent repaint. The "Manual Calculation" will use the multiple between your current timeframe and your higher timeframes to calculate the RSI. Compare it with tradingview's default RSI - it is practically the same!

I set this new RSI setting as default. It should not repaint at ALL now because all higher TF RSI's are being calculated from the group up using timeframe multiples.
Phát hành các Ghi chú:
Added short capabilities.
Phát hành các Ghi chú:
Added timeframes above 4 hours to the manual calculation method.
Phát hành các Ghi chú:
Changed tooltip message.
Phát hành các Ghi chú:
Updated strat settings.
Phát hành các Ghi chú:
I didn't have the input for the ema actually link to the ema calculation. Now it does.
Phát hành các Ghi chú:
Option to go both long and short vs. just long is now in settings (for those in the comments wondering about changing the code).
Phát hành các Ghi chú:
Added title to short trades.

PM me to test any of my strategies free for 7 days.

Invite-only indicators: www.patreon.com/wbburgin/membership
Test my strategies on CryptoRobotics: cryptorobotics.co/?trade=f23b09
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

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