Log in to see Cloud of Tags

Wealth-Lab Wiki

Elder SafeZone Stop Short

RSS

ElderSafeStopShort: Indicator Documentation

Syntax


public static ElderSafeStopShort(Bars bars, int period, int lookback, double coefficient)
public ElderSafeStopShort(Bars bars, int period, int lookback, double coefficient, string description)

Parameter Description

bars A Bars object
period The EMA period defines the trend
lookback The lookback period
coefficient This factor is typically ranging between 2 and 3

Description

SafeZone is a method for determining stop placement outside of the level of market noise as defined by the current volatility. It can be found in Dr. Alexander Elder's book "Come Into My Trading Room". According to Dr. Elder, noise in a downtrend is the portion of the current bar extending above the previous bar's high, hence going against the prevailing trend. For short trades, the average noise level, multiplied by a trader-selected coefficient, is added to the current high. The stop value is calculated by multiplying the SafeZone factor (typically ranging from 2 to 3 and which ultimately depends on the security and trader's preference) by the noise level. Stops are moved only in the direction of the trade, never against.

See also: Elder SafeZone Stop Long.

Example

This example illustrates creating and visualizing the Safe Zone stop series:


using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;
using Community.Indicators;

namespace WealthLab.Strategies { public class SafeZoneDemo : WealthScript { protected override void Execute() { ElderSafeStopLong SafeLong = ElderSafeStopLong.Series( Bars, 22, 10, 2.0 ); ElderSafeStopShort SafeShort = ElderSafeStopShort.Series( Bars, 22, 10, 2.0 ); PlotSeries( PricePane, SafeLong, Color.Blue, LineStyle.Dots, 4 ); PlotSeries( PricePane, SafeShort, Color.Red, LineStyle.Dots, 4 ); } } }

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. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.


ScrewTurn Wiki. Some of the icons created by FamFamFam.