PureBytes Links
Trading Reference Links
|
Hi Rob
when you have this error, it 's because :
1/ in a variable name no space can be use : _RC Volatility I suggest:
_RC_Volatility
2/ you can put the result of your indicator in a variable that you
previously declared at the beginning :
Variables: _RC_Volatility(0):
Emmanuel
----- Original Message -----
From: Robert Cavaleri <rcavaler@xxxxxxxxxxxxx>
To: evrard_eng <evrard_eng@xxxxxxxxxxxxx>
Cc: <omega-list@xxxxxxxxxx>
Sent: Monday, October 23, 2000 6:33 AM
Subject: Re: Help with indicators
>
>
> evrard_eng wrote:
>
> > Hi Rob,
> >
> > Usually, you just call the function, that's all, you don't call the
> > indicator.
> >
> > what indicator would like to call ?
> >
>
> A user defined indicator that I made for volatility. I know I can call any
of
> the built-in functions, how do you reference one that is a user-defined
plot
> (indicator)?
>
> i.e., I have created a special volatility indicator called "_RC
Volatility",
> and I need to refer to it in another indicator that I am writing. It won't
> let me say
>
> value1 = _RC Volatility(10);
>
> It gives an error that says 'Word not recognized by easy language and the
_RC
> is highlighted.
>
> The work around is that I could duplicate all of the code in _RC
Volatility
> and put it in the new indicator I am writing, but there really *should* be
a
> way to just refer to it, as you can in Metastock. I just can't see how TS
> would only let you call the built-ins, and not allow you to refer to a
> user-defined plot/indicator from within another indicator.
>
> Thanks for your input, any other ideas?
>
> >
> > Emmanuel
> >
> > ----- Original Message -----
> > From: Robert Cavaleri <rcavaler@xxxxxxxxxxxxx>
> > To: <omega-list@xxxxxxxxxx>
> > Sent: Sunday, October 22, 2000 11:08 PM
> > Subject: Help with indicators
> >
> > >
> > > I posted this query the other day, but didn't get a response. I was
> > > hoping someone might know the answer to this question.
> > >
> > > I want to create an indicator that references another indicator
(plot).
> > > This is trivial in Metastock:
> > >
> > > myVolatility = Fml("Volatility");
> > >
> > > the fml command stands for 'formula reference', and can query any
other
> > > indicator, even if the formula you are referring to is a user defined
> > > indicator. What is the equivalent function in TS 2000i? There seems to
> > > be some sort of 'IncludeSignal' feature, but it does not appear to
work
> > > from within an indicator (only a signal).
> > >
> > >
> > > Thanks for any help or ideas on this subject.
> > >
> > > Regards
> > >
> > > robert
> > >
> > >
> > >
> > >
>
|