PureBytes Links
Trading Reference Links
|
Just add:
Plot(50,"",colorBlue,1);
(Do the same for Oversold and Overbought lines if you like.
Then use Param function if you need to define different values for these.)
Regards
ChrisB
dralexchambers wrote:
>
>
> I am using the standard RSI indicator AFL as below. What code do I
> need to add to draw a horizontal line at the 50% RSI level?
>
> Thanks.
>
> _SECTION_BEGIN("RSI");
> SetChartOptions(0,0,chartGrid30|chartGrid70);
>
> periods = Param( "Periods", 2, 1, 200, 1 );
>
> Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle
> ), ParamStyle("Style") );
>
> _SECTION_END
> <http://groups.yahoo.com/group/amibroker/messages;_ylc=X3oDMTJlZmJlMGhnBF9TAzk3MzU5NzE0BGdycElkAzEwMTA2OTIEZ3Jwc3BJZAMxNzA1NjMyMTk4BHNlYwNmdHIEc2xrA21zZ3MEc3RpbWUDMTE4NDc2OTI0NA-->
> | Files
> <http://grhoo.com/group/amibroker;_ylc=X3oDMTJlazJuYWZzBF9TAzk3MzU5NzE0BGdycElkAzEwMTA2OTIEZ3Jwc3BJZAMxNzA1NjMyMTk4BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTE4NDc2OTI0NA-->
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|