-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stochastic and RSI Strategy #176
Comments
@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? |
@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] |
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:
The text was updated successfully, but these errors were encountered: