If you have trading view and like RSI - I have scripted an RSI strategy where you can be alerted when RSI hits oversold or overbought. Just paste it in Pine Script area and click on save.
/@version=5
strategy("RSI Strategy", overlay=true)
length = input( 14 )
overSold = input( 30 )
overBought = input( 70 )
price = close
vrsi = ta.rsi(price, length)
co = ta.crossover(vrsi, overSold)
cu = ta.crossunder(vrsi, overBought)
if (not na(vrsi))
if (co)
strategy.entry("RsiLE", strategy.long, comment="RsiLE")
if (cu)
strategy.entry("RsiSE", strategy.short, comment="RsiSE")
//plot(strategy.equity, title="equity", color=color.red, linewidth=2, style=plot.style_areabr)
Good win rate and equity curve profit fact is on the soft side but with some tweaks can improve it.
Sharpe and Sortino Ratio not great but it's just a base system one can work on and improve on it.
..at least I did something productive for the day.
- Forums
- ASX - By Stock
- XJO
- 9/10 Indices
9/10 Indices, page-113
-
- There are more pages in this discussion • 84 more messages in this thread...
You’re viewing a single post only. To view the entire thread just sign in or Join Now (FREE)
Featured News
Add XJO (ASX) to my watchlist
(20min delay)
|
|||||
Last
8,081.4 |
Change
-78.600(0.96%) |
Mkt cap ! n/a |
Open | High | Low |
8,160.0 | 8,160.0 | 8,063.2 |
Featured News
XJO (ASX) Chart |