freqtrade-strategies
freqtrade-strategies copied to clipboard
Stochastic and RSI Strategy
For requestion a new strategy. Please use the template below.
Any strategy request that does not follow the template will be closed.
I am using 3 indicators in trading view and i found out that when the StochRSI StochK crossing over StochD when the StochRSI value of under 20 and the RSI over 50 and the MACD with these settings over 0 there is a trend change to the upside.
Step 1: What indicators are required?
Please list all the indicators required for the buy and sell strategy. Timeframe 1D Stochastic RSI stoch_fast = ta.STOCHF(dataframe, 14, 3, 0, 3, 0) dataframe['fastd'] = stoch_fast['fastd'] dataframe['fastk'] = stoch_fast['fastk'] dataframe['rsi'] = ta.RSI(dataframe, timeperiod=14) dataframe['macd'] = macd['macd']
Step 2: Explain the Buy Strategy
Please explain in details the indicators you need to run the buy strategy, then explain in detail what is the trigger to buy. fastk crossing fastd under value of StochRSI-20 & RSI > 50 & (dataframe['macd'] > 0)
Step 1: Explain the Sell Strategy
Please explain in details the indicators you need to run the sell strategy, then explain in detail what is the trigger to sell. The sell trigger will be based on trailing stop loss with 2% target and 1% increments
Source
What come from this strategy? Cite your source:
- http://
@pampos79 Hi I'm looking into this one, can you please explain what exactly do you mean with the 20 in this sentence, what needs to be under 20? "when the StochRSI StochK crossing over StochD when the StochRSI value of under 20"
@cyberjunky StochRSI is a technical analysis term for stochastic relative strength index and implies an stock or security is over bought or over sold is based on a rolling period of usually two weeks. This is a potentially high compute request as this has to be redone on a frequency basis. Feel free to ask questions on this if you need more.
If @pampos79 can supply another formula other than the standard. I could also assist with writing this but as @cyberjunky already said there is more data needed.
StochRSI = RSI - |min|[RSI] (all over) max[RSI] - |min|[RSI] Where RSI = present value Where RSI = any non zero decimal value between 0 and 1 Where RSI = .50 is center datum, .90 is over bought, .10 is oversold Where RSI period > 1 day but within specific limits of 30 days or 1 quarter etc Where RSI is tracked with highest and lowest periods over n number of days