OPEN-SOURCE SCRIPT

RSI Alligator Strategy

Hello trading family! Just wanted to give a quick write up and share the new code for the RSI Alligator Strategy. I amended it to show every crossover signal, weak and strong, so we can accurately gauge its effectiveness.

Having played with this for a couple hours now I have learned a few things
-Using Heikin Ashi seems to smooth it out a bit and provides about 20% fewer signals, leading to overall more accuracy. However, it can be misleading as the Heikin Ashi opening price doesn't always line up with the market price, especially in cases of large moves. Overall though it didn't seem too far off except for a few instances.
-Also, using the Heikin Ashi gives you a better idea of the trend, which this indicator is primarily used to detect and exploit.
-Having tested on TF of 1H-1D, overall profitability is found to be highest between 4H-12H, with 1D giving the "safest" longer term signals, and lower TF's generating many more signals due to volatility.
-Instead of waiting for the next signal in order to close, you can often use a crossover/crossunder of the 5 and 13 to close the previous trade, especially if paired with a Heikin Ashi of opposite color (green to close a short, red to close a long)
-You will also notice several instances where the Green 5 period show divergences that aren't visible on the regular RSI, another handy little feature

So far I have still only tested this on BTCUSD. Feel free to apply it to any coin and let me know what you find.

Here is the script. If you have any ideas or suggestions please let me know!
Alligator IndicatorRelative Strength Index (RSI)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明