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: Volatility
Author/Uploader: Avi ben a - avi111a [at] yahoo.com
Date/Time added: 2009-01-28 02:22:11
Origin:
Keywords:
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:

simple Volatility indicator based on Standard Deviation.
you can find potential breaks when the std cross above
its EMA.
also try different periods for breakout and STD.

Formula:

/***************************************/
/*Volatility  written by Avi b*/
/***************************************/
time = Param( "time",21, 1, 100, 1 );
std = StDev( Close, time); 
Plot(std ,"Standard Deviation",32,1);

breaktime = Param( "breaktime",25, 1, 100, 1 );
stdavg = EMA(std,breaktime);
Plot(stdavg ,"Standard Deviation Avarage ",23,1);

Cross1  = Cross(std,stdavg); 
PlotShapes( IIf( Cross1 , shapeDigit1 + shapePositionAbove, shapeNone ),
colorGreen ); 

 

Comments:


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