PureBytes Links
Trading Reference Links
|
In a message dated 3/25/02 11:53:51 AM Pacific Standard Time, Jdev02@xxxxxxx
writes:
<< {{{ Function }}}
inputs: Length(NumericSimple);
var: x(1);
X = IFF (H - L <> 0,H - L,1) ;
If Length > 0 Then
WillSentiment18 = Average( (c - l)/x,18)
else
WillSentiment18 = 0;
--------------------------------------------------------------
{{{{ Indicator }}}}
plot1(WillSentiment18(18));
--------------------------------------------------------------
{{{ Signal }}}
{ I can't figure out how to use the "MRO" (most recent occurance) so I just
used a previous value of the WillSentiment.}
If WillSentiment(18)[5] < 35 and SlowK(10) crosses over 60
then buy high stop:
Any help would be appreciated.........thanks/John D.
>>
JohnD,
Just glanced at your code and saw what seems to be a problem. Look at
WillSentiment(18)[5]. I think you want WillSentiment18[5] rather than what
you wrote. But if it IS in error, the code should not have 'verified' if I
understand what you've done.
Regards,
Lee Scharpen
|