Hello saurabh, and welcome to Amibroker.
Here's short exploration that will let you know if a stock has crossed it's 20
day moving average within the last 10 bars. A key concept to remember as you
work with AB is that operates on arrays.
Hope this helps.
Joe L.
Buycond = Cross(Close,MA(Close,20));
MetCondition = Sum(Buycond,10);
Filter = LastValue(metcondition)AND Status("Lastbarinrange");
AddColumn(Close,"Close");
AddColumn(LastValue(MetCondition),"BUY");
----- Original Message -----
From: saurabh
To: [email protected]
Sent: Sunday, October 14, 2007 10:16 AM
Subject: [amibroker] hello friends
Hello friends
hi, i am saurabh from india and have just installed amiobroker on my
system.I think it is a great software.I use it for end of day analysis
only.
I have a few questions
1. what is the exploration thing in AA used for ?
2. when i tried an AFL and scaned my stocks the resulting arrows for
buy or sell signals were present whereever it existed for that stock
in the time period which was taken as default.is there any way to tell
amibroker that "please show the buy or sell signals that have been
geneated using the given AFL and to scan the stocks for a period of
say 1 week ?
please help me out
things i have done to solve are
1.I changed the value of n
2. i tried selecting the date range