crisp99 / Publications
Forum
Hidden Divergence with EMA filter
int hiddenDivergence( int BarsShift) //BarsShift is the shift in bars { double currLowRSI = iRSI ( NULL , 0 , 14 , 0 , iLowest ( NULL , 0 , 3 , 10 , 0 )); //Current RSI (Lowest in the last 10 bars) double currHighRSI = iRSI ( NULL , 0 , 14 , 0