TradingView
QuantNomad
8 juin 2019 11:56

QuantNomad - RSI Strategy - LTCUSDT - 5m 

Litecoin / TetherUSBinance

Description

Really nice performance of Simple RSI Strategy for LTCUSDT ( Binance ) 5m chart.
Params: RSI Length: 3, RSI OverSold level: 47, RSI OverBought Level: 56
Performance: 391% profit, 2400 trades, 42% prof, 14.6% dd , 0.65 sharpe.

I think this strategy can be a really nice base for a pretty good strategy. We have quite a lot of trades here you can add additional filters that will improve strategy a bit.

And remember:
Past performance does not guarantee future results.

Notes de version

Cleaning the code
Commentaires
FellowRadek
horrible strat like everything from quant nomad, just look at the back test results above. i have never seen worse strat
Buyeverything1000
amazing
adambreitkreuz
I'd like to make this script work with stop order entries; would probably get better fills rather than waiting for the following candle. Can't figure out the code, however. Does anyone know how to do this?
QuantNomad
@adambreitkreuz, no idea how to get stop orders entries on RSI.
aruncena1234567
Hello i am hitting stop loss very fast what should i do?
QuantNomad
@aruncena1234567, Hi, I'm not sure what are you asking. This strategy doesn't have a stop loss.
Buyeverything1000
foudid
Hi, Thanks for the script ! Do you know if you have the study version ? I'm trying to change it but I don't have the same plots on my study. I'm certainly doing something wrong! Thanks for your help
foudid
I have this on my side :

//@version=3
study("RSI", overlay=true)

length = input(14)
overSold = input(40)
overBought = input(60)

price = close

vrsi = rsi(price, length)

sell = crossover(vrsi, overSold)
buy = crossunder(vrsi, overBought)

plotshape(buy, title = "Buy", text = 'Buy', style = shape.labelup, location = location.belowbar, color= green, textcolor = white, transp = 0, size = size.tiny)
plotshape(sell, title = "Sell", text = 'Sell', style = shape.labeldown, location = location.abovebar, color= red, textcolor = white, transp = 0, size = size.tiny)

alertcondition(buy, "Long", "Long")
alertcondition(sell, "Short", "Short")

Seems to be OK but how to manage to plot only one long and one sell at time like in the strategy ? If possible

Thanks
QuantNomad
@foudid, Hi, you need to filter signal of the same type.
you can find similar stuff in this script: tradingview.com/script/yv6iSTgG-Kozlod-Pivot-Reversal-Strategy-Alerts-V2/

last_signal = 0

long_final = long and (nz(last_signal[1]) == 0 or nz(last_signal[1]) == -1)
short_final = short and (nz(last_signal[1]) == 0 or nz(last_signal[1]) == 1)

last_signal := long_final ? 1 : short_final ? -1 : last_signal[1]

so you remember what was the last signal, and based on it filter out signals of the same type
Plus