Without going into the syntax, I
see some basic defect in this code. It if referencing the RSI into the future.
The ref(rsi(9),1) and ref(rsi(9),2) are the culprits.
----- Original Message -----
Sent: Tuesday, May 24, 2005 8:03 PM
Subject: [EquisMetaStock Group] RSI
Fractal coding question
Hi,
Can anyone see a problem with this code ?
Metastock states that "this variable or expression must contain only
constant data". Thanks in advance.
ValueWhen(1
,(RSI(9)>Ref(RSI(9),1) AND RSI(9)>Ref(RSI(9,2) AND
RSI(9) >Ref(RSI(9),-1) AND
RSI(9)>Ref(RSI(9),-2),RSI(9))
Yahoo! Groups Links
Yahoo! India Matrimony: Find your life partner
online. |