RyanMartin

Multiple MACD RSI simple strategy

Simple strategy script I've had for a while but looks like I never published.
Although it is one of my most simple it seems to have the best profitability. It is pretty rough though. the Stoch RSI has only a little weight to the trade trigger. I'll refine it more over time or you can by all means. Basically the Stoch RSI current K line has to be OVER 40 to trigger a SELL. It has no effect on buy side.

The triggers are roughly as follows:
Year- since so many assets have gone 2x, 3x, 10x+ since 2013 having a strategy that earns a 500% return from 2013 to now isn't that good if buy-and-holding would have got you 800%. This eliminates some of that noise and makes it a little easier to quickly gauge success. So buy/sell trigger need a value of greater or equal to 2018 (default)
MACD 1 - First MACD (short) needs to indicate greater than 0 to buy or less than 0 to sell.
MACD 2 - Same as MACD1 but for second MACD set (long)
Uptrend - Latest close + high divided by last periods close + high needs to be grater than 1. So if latest is 34.30 close and 34.60 high and previous interval is 34.80 close and 34.82 high, that is 0.99 and will not trigger a buy trade.
Downtrend
- Same thing but close + low and less than 1.

This script/strategy is pretty rough but if there is interest I'll polish it more since it is a pretty solid but simple strategy for most assets.
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu komut dosyasının yazarı açık kaynak olarak yayınladı, böylece yatırımcılar bunu anlayabilir ve doğrulayabilir. Yazara tebrikler! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları tarafından belirlenmektedir. Bir grafikte kullanmak için favorilerinize ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Yorumlar

Awesome indicator, thanks for the effort. I have tested it with some cryptocurrencies and it shows great results. However, I have a question. Testing this indicator in the daily BTCUSD price chart in the Bitstamp exchange shows a big losing trade starting on 28th of August 2018 and ending on 23rd November 2018. But, if I test the same indicator on a different exchange, Binance, (on the BTCUSDT pair), it will do the same 28th August trade but it will close it much earlier, having a much smaller loss. Both exchanges have almost the same closing and opening prices, so I don't really understand why this happens. Could you shed some light?. I have kept all the settings in default except the RSI lenght which I have set to 9, but this doesn't seem to affect this specific trade.
Again, thanks for the effort!
Cevap Gönder
Nice indicator Ryan. I have been trying it out its giving good results for me so far.
If you end up polishing it up more as per your post comments, be sure to let me know.
Keep up the great work
Cevap Gönder