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

Re: [amibroker] Advancing Stocks Scan or Exploration


  • Date: Fri, 20 Nov 2009 07:51:02 -0800 (PST)
  • From: ram vel <rvlv@xxxxxxxxx>
  • Subject: Re: [amibroker] Advancing Stocks Scan or Exploration

PureBytes Links

Trading Reference Links



Hi prashant
 
thanks for the code.
some problem
some small thing missing
can you help
regards
 
rvlv

--- On Fri, 11/20/09, Prashanth <prash454.ta@xxxxxxxxx> wrote:

From: Prashanth <prash454.ta@xxxxxxxxx>
Subject: Re: [amibroker] Advancing Stocks Scan or Exploration
To: amibroker@xxxxxxxxxxxxxxx
Date: Friday, November 20, 2009, 9:21 AM

 
Hello,

If you are looking to get the figure of Advancing Stocks (stocks that have
closed above yesterday's close) and Declining Stocks, you could use Add to
Composite to create a ticker so that you can co-relate today's figure with
historical figure.

To do this, just place the following in a AFL and hit Scan (All Symbols, All
Quotations). When the scan finishes, you should be able to get 2 tickers for
Advancing, Declining stocks.

Filter = 1;
// ============ ======== Adv Issues/Decliners= ========= ====
AddToComposite( IIf(Close - Ref(Close, -1) > 0, 1, 0), "~Adv", "X" );
AddToComposite( IIf(Ref(Close, -1) - Close > 0, 1, 0), "~Dec", "X" );

Cheers

Prashanth

----- Original Message -----
From: "Alan Northam" <alan@xxxxxxxxxxxx us>
To: <amibroker@xxxxxxxxx ps.com>
Sent: Friday, November 20, 2009 20:30 PM
Subject: [amibroker] Advancing Stocks Scan or Exploration

>
> I am new to writing Scans and Explorations. Infact I don't know if I
> want a Scan or an Exploration so I hope that you all will be patient
> with me.
>
> I want to create a Scan or Exploration (which ever is the most proper)
> to determine how many stocks are still advancing in my database.
> However, I don't have a clue as to how to write the code. Can someone
> please provide this code for me so that I can study it and learn from it?
>
> Thanks!
> Alan
>
>
>
> ------------ --------- --------- ------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroke r.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroke r.com/devlog/
>
> Yahoo! Groups Links
>
>
>




__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___