magnetar513
New member
According to the guide, StochasticRSI and FullStochastic functions create plots FullK & FullD, but I'm having trouble referencing the plots to create conditions such as:
def stoch= StochRSI(14, 80, 20,, AverageType.Wilders, close, 14, 5, 2, AverageType.Wilders, no);
Signal= FullK crosses above FullD;
or
Signal= Stoch(RSIFullK) crosses above StochRSI(FullD);
or even
Signal= stoch crosses above StochRSI(FullD);
The info for StochRSI from TDA's website is as follows:
If anyone has any advice it would be greatly appreciated.
def stoch= StochRSI(14, 80, 20,, AverageType.Wilders, close, 14, 5, 2, AverageType.Wilders, no);
Signal= FullK crosses above FullD;
or
Signal= Stoch(RSIFullK) crosses above StochRSI(FullD);
or even
Signal= stoch crosses above StochRSI(FullD);
The info for StochRSI from TDA's website is as follows:
Parameter | Description |
---|---|
rsi length | The number of bars with which the RSI is calculated. |
over bought | The overbought level value. |
over sold | The oversold level value. |
rsi average type | The type of moving average to be used in the calculation of the RSI: simple, exponential, weighted, Wilder's, or Hull. |
rsi price | The type of price with which the RSI is calculated. |
k period | The period on which the highest and the lowest price values are to be found. |
d period | The length of the moving average to be applied to FullK. This produces the FullD plot. |
slowing period | The length of the moving average to be applied to %K. This produces the FullK plot. |
average type | The type of moving average to be used in calculations: simple, exponential, weighted, Wilder's, or Hull. |
show breakout signals | Controls indication of Stochastic RSI crossovers above and below the overbought/oversold levels. Specify for which of the main plots the crossovers are to be indicated. |
Plots
Plot | Description |
---|---|
FullK | FullK value, 'slowing period' moving average of %K. |
FullD | FullD value, 'd period' moving average of FullK. |
OverBought | The overbought level. |
OverSold | The oversold level. |
If anyone has any advice it would be greatly appreciated.