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)

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian