ScrewTurn

Active Trader Strategies API Community ChartStyles Community Commissions Community Components Community Indicators Community Providers Community Visualizers Knowledge Base Misc Optimizers PosSizers Standard Indicators TASC Traders Tips TASCIndicators Tutorial Videos
RSS

Navigation







Quick Search
»
Advanced Search »

PoweredBy

RSIBand

RSS
Modified on 2008/03/17 23:09 by Administrator Categorized as TASCIndicators

Template: Indicator Documentation

====Syntax====
public RSIBand(DataSeries ds, int period, double rsiTargetLevel, string description)
public static RSIBand Series(DataSeries ds, int period, double rsiTargetLevel)

Parameter Description

ds  Source DataSeries
period  RSI period
rsiTargetLevel  Typically 70 and 30 are used as overbought/oversold levels

Description

RSI bands provide an intuitive way of visualizing the RSI in the Price pane and are drawn for levels that are considered overbought and oversold (typically 70 and 30, respectively). The bands are calculated by answering the question, “What price should the stock have to reach today to be considered overbought/oversold, given yesterday’s RSI?”

Example

/* Create and plot the overbought and oversold bands in the PricePane*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;
using TASCIndicators;

namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { DataSeries obought = new RSIBand(Close, 14, 70, "Overbought(70)"); DataSeries osold = new RSIBand(Close, 14, 30, "Overbought(30)"); Color fill = Color.FromArgb(50, Color.Gray); PlotSeriesDualFillBand(PricePane, obought, osold, fill, fill, Color.Gray, LineStyle.Solid, 1); } } }

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes.

Used under license from FMR Corp. Copyright 2008 FMR Corp. All rights reserved.


ScrewTurn Wiki version 3.0.2.509. Some of the icons created by FamFamFam.