[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Price - RSI divergence exploration



PureBytes Links

Trading Reference Links

bijan,
change your price exploration to REF(C,-2) = REF(LLV(C,14),-2);
hope this helps,
al

Bijan Khezri wrote:
> 
> I have been trying to write a fairly simple exploration for a
> divergence between price and RSI.  The standard divergence indicator
> does not do the job.  The conditions are as follows:
> 
> - RSI has been going up for three days.
> - RSI three days ago was higher than lowest RSI in past 14 days
> - close of three days ago was lower than lowest close of the prior 14
> days
> 
> While the RSI part seems to be working, the price part does not make
> any hits at all, even when run independently.  Can anyone figure out
> what is wrong?  All help is appreciated.  TIA.
> 
> {RSI exploration}
>  Ref(RSI(14),0) > Ref(RSI(14),-1) AND
> Ref(RSI(14),-1) > Ref(RSI(14),-2)AND
> Ref(RSI(14),-2) > Ref( LLV(RSI(14),14),-2)
> 
> {Price exploration}
> Ref(CLOSE,-2) < Ref(LLV(CLOSE,14),-2)
>