TradingView
Bitduke
Dec 17, 2019 11:08 PM
Simple RSI Strategy Buy/Sell at a certain level
BITMEX:ETHUSD
180
Description
⋅
Dec 17, 2019 11:08 PM
Simple Strategy based on RSI, using overbought or oversold levels, defined by us, sell or buy an asset.
Backtest: ETHUSD (Bitmex) - 3h
Relative Strength Index (RSI)
levels
Comments
csevinctav
⋅
Mar 28, 2021 2:35 PM
Thanks. How can I add take profit and stop loss to this strategy?
Bitduke
⋅
Mar 28, 2021 8:41 PM
@csevinctav
, I think it will be better to create the extended version with SL/TP, thanks
csevinctav
⋅
Mar 28, 2021 8:43 PM
@Bitduke
, It would be great. i can't wait to try. Thanks for everything
Bitduke
⋅
Apr 11, 2021 9:23 AM
@csevinctav
, finally created an improved version with SL / TP
Link:
tradingview.com/script/dCUPcQNh-Improved-simple-RSI-Buy-Sell-at-a-level-SL-TP/
csevinctav
⋅
Apr 11, 2021 9:59 AM
@Bitduke
, thanks. I will try now.
Swing_Trader_
⋅
Aug 29, 2021 10:53 AM
Your entries should be reversed shouldn't they?
strategy("Simple RSI Buy/Sell at a level", shorttitle="Simple RSI Strategy", overlay=true,calc_on_every_tick=false,pyramiding=0, default_qty_type=strategy.cash,default_qty_value=1000, currency=currency.USD, initial_capital=1000,commission_type=strategy.commission.percent, commission_value=0.075)
overbought = input(70, title="overbought value")
oversold = input(33, title="oversold value")
sellRsi = rsi(close, 14) > overbought
buyRsi = rsi(close, 14) < oversold
barcolor(sellRsi ? color.red : na)
barcolor(buyRsi ? color.green : na)
strategy.entry("Buy Signal", strategy.long, when = buyRsi)
strategy.entry("Sell Signal", strategy.short, when = sellRsi)
kindBird21
⋅
Oct 8, 2022 2:06 AM
Shouldn't you buy when stock is oversold and sell when overbought?
Joeanucha
⋅
Jan 24, 2021 8:22 AM
thanks!
More