i posted an example on this, see:
then use: sellDelay =
Optimize("sellDelay",
5, 1, 50, 1);
but in this specific case I guess sell =
barssince(buy) == 5; will do.
rgds, Ed
----- Original Message -----
Sent: Tuesday, November 20, 2007 7:49
PM
Subject: Re: [amibroker] Re: volume
hello ,
suppose i want to sell after 5 days how do i
code the sell ....
buy=cross ( macd(), 0
);
sell = after 5 days ; ?????
Thanks .....
-------------------------------------------
On 11/20/07, areehoi <areehoi@xxxxxxcom> wrote:
Try this Exploration. Sort by Volume (or preferably MA Vol) then
move the stocks lower than 75,000 to a watch list and remove
using "Organize Assignments". You can do sme with low price
stocks.
Dick H.
basis = C; // ema(C, 9);
perf1 = basis
/ Ref(basis, -1) * 100 - 100; perf5 = basis / Ref(basis, -5) * 100 -
100; perf30 = basis / Ref(basis, -30) * 100 - 100; perf250 = basis /
Ref(basis, -250) * 100 - 100;
AddColumn (Close,
"Close",1.2); AddColumn (Ref(Close,-1),
"Close-1",1.2); //AddTextColumn( FullName(), "FullName"
); //AddTextColumn(IndustryID(1) ," Industry Sector ",
25.0, colorWhite, colorBlue); AddColumn(perf1, "perf1%",
1.2); AddColumn(perf5, "perf5%", 1.2); AddColumn(perf30, "perf30%",
1.2); AddColumn(perf250, "perf250%", 1.2); AddColumn(Volume,
"Volume", 1.0); AddColumn(MA(V,10),"MA(V10",1.0);
--- In amibroker@xxxxxxxxxps.com, "Tim" <raven4ns@xxx>
wrote: > > Hello, > I want to eliminate all the low
volume stocks in my database. As an > example if a stock is trading
less than 75,000 shares I would > eliminate it. Has anyone developed a
scan that would list those shares > and wouldn't mind sharing it with
me? Thank you for any and all help. > > Kindest
regards, > > Tim >
-- Warm
Regards; `````` Natasha
!!! To achieve, you need thought. You have to know what you are doing and
that's real power.
__._,_.___
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
__,_._,___
|