PureBytes Links
Trading Reference Links
|
Hi Ara,
I have tried this with the same results that you report....not sure
why it does not work....the help says that it returns an array...but
I think it means to say that it is an array holding the same number
in every position. You could do something like this as a possible
work-around:
my_month = Month();
Plot(mm,"this month",colorWhite);
Plot(mm-1,"last month",colorGreen);
best regards,
Tom
--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxx> wrote:
>
> I am having problems with using:
>
> _TRACE(" Month " + Month() + " Last month " + Ref(Month(),-1));
>
> Used above statement in 2 different indicators, after fresh reboot.
>
> Both Month() and Ref(Month(),-1) give the same result. Correct
result for Month(), but incorrect for Ref(Month(),-1).
>
> Would someone test this on your system? / or point out any eror you
see.
>
>
>
> Thanks
>
> Ara
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.10/624 - Release Date: 1/12/2007 2:04 PM
|