Forum

How to add SMA on Stoch

Hi guys, I've got two functions defined, one to calculate a "manual" stochastic and another to calculate a Simple Moving Average : double CreateStoch( int Length, int Shift) { int HighestBar = iHighest ( _Symbol , _Period , MODE_HIGH ,Length,Shift); int LowestBar = iLowest ( _Symbol