MiguelFTCurado

stratRsi_Miguel

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

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?