Yes, those indicators need AdvIssues() and DecIssues() calculated. If you have
not done that, go to the Amibroker help and search "Composite recalculation
window".
Hope you can get it to work for you. I couldn't get it to calculate
AdvIssues() and DecIssues() and ended up using AddToComposite
Jim,
I don't have a solution for your problem. But you can try this and see if it
will consistently give you the right answer.
Filter =1;
AddColumn(C,"a");
tomas
From: jim fenster
To: amibroker@yahoogroups.com
Sent: Friday, April 17,
Ed,
Yea, I noticed that the original code did not match the intent accurately.
Your updated code was not what I was planning to do, but it is definitely more
elegant. Still not
thinking in terms of array :).
Thanks for the code suggestion.
tomas
--- emp62 <[EMAIL PROTECTED]>
Ed,
tomas
--- emp62 <[EMAIL PROTECTED]> wrote:
> you can code that like:
>
> condition = BarsSince( C > Ref(C,-1)) == 3 AND MA(V,3) < MA(V,50);
>
> Buy = Ref(condition,-1); BuyPrice = O;
>
> SetChartOptions(0, chartShowDates);
> Plot(C,"C&quo
previuos, previous
day's price.
Thanks for the help in advance.
tomas
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Please note that this group is for discussion between users only.