MoveTracker.efs EFSLibrary - Discussion Board
File Name: MoveTracker.efs
Description:
MoveTracker
Formula Parameters:
Notes:
The Movetracker indicator is meant to track the difference between the
current and the last bar close price. It is implemented as an oscillator
showing price changes relative to the zeroline.
Download File:
MoveTracker.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: This Indicator plots MoveTracker Version: 1.0 01/20/2009 Formula Parameters: Default: Notes: The Movetracker indicator is meant to track the difference between the current and the last bar close price. It is implemented as an oscillator showing price changes relative to the zeroline. **********************************/ var bInit = false; function preMain() { setStudyTitle("MOVETRACKER"); setCursorLabelName("PDIFF", 0); setCursorLabelName("PDPOINTS", 1); setPlotType(PLOTTYPE_LINE, 0); setPlotType(PLOTTYPE_DOT, 1); setDefaultBarFgColor(Color.darkgrey, 0); setDefaultBarFgColor(Color.blue, 1); setDefaultBarThickness(2, 1); addBand(0, PS_SOLID, 1, Color.red, "0"); } var xMom = null; function main() { if ( bInit == false ) { xMom = mom(1); bInit = true; } var nVal = xMom.getValue(0) - xMom.getValue(-1); if (nVal == null) return; return new Array (nVal, nVal); }