PROTECTED SOURCE SCRIPT

stratRsi_Miguel

408
This strategy was created with the aim of trying to predict upper moves and to protect from falling prices. It is intended to out perform going from bottom to top and to bottom again (ex: BTC from 10k to 20k to 10k again and remain with substancial profit from the rise). It will not outperform from bottom to top. It is advised to do not enter short positions with this strategy. Only long and close.
Adjust "Period in minutes" to your time frame. ex: 60 for 1h, 240 for 4h, 1440 for 1D.
This will adjust the lengh of ema (RSI).
Default value is 1440 for 1D time frame.
Long condition is triggered when a FastEma(RSI) is bigger then a MeddiumEma(RSI), the MeddiumRSI is bigger than the SlowerEma(RSI), the FastRSI is larger then the Highest(FastRSI) with a length equal to input "High Length"(default value=6) and ema(close) is rising.
The short Condition is triggered when rsi(close,14) is lower then lowest(FastRSI) with a lenght equal to input "Low Length" (default value=3) and ema(close) is falling.
You can set up the time range to evaluate the strategy from "Start date" (default: year=2018, month=1, day=1) to "End date" (default: year=2050, month=1, day=1). Default commission=0.075%. Default Initial capital = 100 USD

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。