Daily Range

ICE Data Services -

DailyRange.efs  
EFSLibrary - Discussion Board  

File Name: DailyRange.efs

Description:
Daily Range

Formula Parameters:

Notes:

The Range Indicator shows when the intraday high to low ranges exceed the interday close to close ranges. This approach proves useful in identifying the start and end of trends.

Download File:
DailyRange.efs


EFS Code:

/*********************************
Provided By:  
    eSignal (Copyright c eSignal), a division of Interactive Data 
    Corporation. 2008. All rights reserved. This sample eSignal 
    Formula Script (EFS) is for educational purposes only and may be 
    modified and saved under a new file name.  eSignal is not responsible
    for the functionality once modified.  eSignal reserves the right 
    to modify and overwrite this EFS file with each new release.

Description:        
    Daily Range 

Version:            1.0  11/10/2008

Formula Parameters:                     Default:

Notes:
    The Range Indicator shows when the intraday high to low ranges exceed
    the interday close to close ranges.
    This approach proves useful in identifying the start and end of trends. 

**********************************/

function preMain() {
    setStudyTitle("Daily Range");
    setCursorLabelName("Daily Range", 0);
    setDefaultBarFgColor(Color.red, 0);
}

function main() {
var nLow = low(0);
	return 	(close(0) - nLow) / (high(0) - nLow) * 100;
}