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

Re: [amibroker] writing last RSI to file



PureBytes Links

Trading Reference Links

Title: AFL Function Reference - RSI


Filter=1;

AddColumn( rsi(param("rsi",14,7,200,7)), "rsi",1.2,1);

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  and scan ...

 read help file in amibroker .

RSI
- relative strength index

Indicators


SYNTAX RSI( periods = 14 )
RSIa( array, periods = 14 )
RETURNS ARRAY
FUNCTION Calculates the RSI indicator using periods range
Second version RSIa accepts input array so it RSI can be applied to other arrays than close.
EXAMPLE RSI( 12 )
RSIa( High, 12 );
SEE ALSO  


On 5/10/09, nunopires2001 <nunopires2001@xxxxxxxxx> wrote:


Hi,

I want to calculate the RSI for all my stocks, and write last RSI value for each stock on a file.
So, my afl script, should loop through every stock, retrieve last RSI, and write "stock rsi" to a file.

Anyone can give me some ideas on how can this be done?

Many thanks!




--
    Warm Regards;
      ``````  Natasha !!!
Capitalism is a law established by God. Its foundation is in the 9th Commandment,
      "Thou shalt not covet."
   “When you see that trading is done, not by consent, but by compulsion - when you see that in order to produce, you need to obtain permission from men who produce nothing – when you see money flowing to those who deal, not in goods, but in favors – when you see that men get richer by graft and pull than by work, and your laws don't protect you against them, but protect them against you – when you see corruption being rewarded and honesty becoming a self-sacrifice – you may know that your society is doomed.”  ~ 1957 Ayn R. ~ Atlas Shrugged

__._,_.___


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

__,_._,___