Stochastic Crossover
Stochastic Crossover
30 Jul 2017, 18:36
Hi,
Can someone help me with the following code? Need the Stochastic crossover below or above the oversold and overbought line.
Thank you
private List<bool> _isParUp = new List<bool>();
private List<bool> _isParDown = new List<bool>();
private void UpdateIndicators()
{
isStochUp = stochastic.PercentK.LastValue > stochastic.PercentD.LastValue;
isStochDown = stochastic.PercentK.LastValue < stochastic.PercentD.LastValue;
isParUp = parabolic.Result.IsRising();
isParDown = parabolic.Result.IsFalling();
_isParUp.Add(isParUp);
_isParDown.Add(isParDown);
}