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

Re: [amibroker] Re: How to Change RSI Plot (No. of Days)?



PureBytes Links

Trading Reference Links

Gerard Carey wrote:

>RSI(7) or whatever
>
I think lcdrpost may be wondering about the RSI on the default layout; 
can't remember whether it appears on the first sheet or not, as it's 
been too long since I changed it all.  In that case, the answer is that 
you need to write your own version of RSI and insert it on the page.  
Try this:

Lookback=Param("Lookback",default,minimum,maximum,step);
Plot(RSI(Lookback),"RSI",colorRed,styleLine);

For example:  Lookback=Param("Lookback",14,3,144,1);

Then check the appropriate OB/OS levels on the grid lines below the edit 
window.  Assuming they still exist; I'm working with an older version.  
Otherwise, write separate Plot() statements for each of your OB/OS 
levels:  Plot(80,"",colorBlue,styleLine);

Note that you can also use RSIa(), which will allow you to plot the RSI 
of things other than the close:  RSIa(O,Lookback) or RSIa(OBV(),Lookback).

Owen Davies


------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/