PureBytes Links
Trading Reference Links
|
It works in INDICATOR.
Note however, when you run the formula in Automatic Analysis,
GetChartID() returns ZERO (since there is no chart attached to AA).
If you apply the same code in AA and want to refer to values
from indicators, you need to type actual ChartID from the indicator
you want to use.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "imorf69" <imorf69@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, July 29, 2008 9:18 AM
Subject: [amibroker] Re: Help With Study ID.
> --- In amibroker@xxxxxxxxxxxxxxx, "treatmentinprogress"
> <brian5545@xxx> wrote:
>>
>> Your reading the old help file.
>> New(er) syntax includes the chartID
>>
>> re = Study("RE", GetChartID() );
>
> that getChartId function didn't work for me in 10.1 (?) when i was
> programming for it, even though the Help was as above, I still had to
> hard code an idnumber in to "seed" it. Could work now, but doubt it.
>
>> --- In amibroker@xxxxxxxxxxxxxxx, "Mohammed" <softnews2003@>
>> wrote:
>> >
>> > Hi All,
>> >
>> > I draw my trend lien over the chart and assigned study ID "RE" for
>> it.
>> > then I wrote this code:
>> >
>> > buy = cross( close ,study( "RE" ));
>> >
>> > with bar reply I do some scan to see the formula result when the
>> price
>> > cross the trend line, but I didn't get any result for the scan?
>> >
>> > Any Suggestion Please.
>> >
>> > Regards.
>> >
>>
>
>
>
> ------------------------------------
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
>
>
------------------------------------
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|