[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Vertical lines



PureBytes Links

Trading Reference Links

Herman,
thanks a lot! 
You are a genius!

Werner


--- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen" 
<psytek@xxxx> wrote:
> Try this:
> 


> // Exploration
> Buy=Sell=Short=Cover=0;
> SetOption("NoDefaultColumns",False);
> New10DayHigh = H>Ref(H,-10);
> CloseUp3 = C>1.03*Ref(C,-1);
> VolumeUp = V>Ref(V,-1);
> ConditionTrue = New10DayHigh AND CloseUp3 AND VolumeUp;
> Filter = ConditionTrue;
> AddToComposite(Filter,"~NumQualifyingStks","X",1|2|4|16);
> AddColumn(ROC(H,10),"%10DayHi",1.2);
> AddColumn(ROC(V,1),"%Vup",1.2);
> AddColumn(ROC(C,1),"%Cup",1.2);
> // Indicator
> QStocks = Foreign("~NumQualifyingStks","X");
> Plot(QStocks,"QStocks",1,1);
> 
> 
> Best regards,
> Herman.
> To boldly go where no trader has gone before...
> 
>   -----Original Message-----
>   From: WKRAG@xxxx [mailto:WKRAG@x...]
>   Sent: Monday, March 01, 2004 5:52 AM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: [amibroker] New High / New Low count possible with AB ?
> 
> 
>   Good day,
> 
>   I was wondering if the following is possible with AB:
> 
>   I want to count the number of stocks depending on my own criteria,
>   like, something like:
>   Number of stocks which:
> 
>   made a new 10 day high and
>   closed up more than 3% and
>   had increased volume
> 
>   Now, I want a list of dates (let's say for the last 2 years) and 
the
>   corresponding NUMBER of STOCKS that qualify. The list should look
>   like this:
> 
>   01/01/2003  100
>   01/02/2003  110
> 
>   and so forth.
> 
>   Is this possible with AB ?
> 
>   Thank you,
> 
>   Werner
> 
> 
> 
> 
> 
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
>   (Web page: http://groups.yahoo.com/group/amiquote/messages/)
>   --------------------------------------------
>   Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> 
>         Yahoo! Groups Sponsor
>               ADVERTISEMENT
> 
> 
> 
> 
> 
> --------------------------------------------------------------------
--------
> --
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
> 
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> 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/