PureBytes Links
Trading Reference Links
|
Is it possible for
Ref(CLOSE,-2) to be lower than the LLV on that day [ <
Ref(LLV(CLOSE,14),-2)]?
At 10:25 PM 10/23/98 -0700, 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)
|