Welcome Features News Download Registration Support FAQ Wish list Links
Advanced stock charting and analysis program

AFL Library

This is read-only version of AFL library entry. Ability to add user formulas and comment is only available from members-only area.

Details:

Formula name: RSI styleClipMinMax
Author/Uploader: Geoff Lamb - Geoff [at] GeoffLamb.com
Date/Time added: 2007-08-16 09:59:18
Origin: Plot RSI
Keywords: RSI styleClipMinMax
Level: basic
Flags: indicator

DISCLAIMER: Most formulas present in AFL on-line library are submitted by the users and are provided here on an "as is" and "as available" basis. AmiBroker.com makes no representations or warranties of any kind to the contents or the operation of material presented here. We do not maintain nor provide technical support for 3rd party formulas.
Description:

Plots RSI using styleClipMinMax to get graph above and below values coloured in.

Formula:

SetChartOptions(0,0,chartGrid30|chartGrid50|chartGrid70);
periods = Param( "Periods", 12, 1, 200, 1 );
maxClip = Param( "maxClip", 70, 1, 100, 1 );
minClip = Param( "minClip", 30, 1, 100, 1 );

Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ),
ParamStyle("Style")  );

r = RSI(periods);
PlotOHLC( r,r,50,r, "", IIf( r > 50, colorRed, colorBrightGreen ), styleCloud |
styleNoLabel | styleClipMinMax, minClip, maxClip ); 

Comments:

Mubashar Virk
mavirk [at] gmail.com
2007-08-17 03:13:49
Beautiful, Geoff!


About | Privacy | Terms of Use | Contact information
Copyright © 2001 AMIBROKER.COM