sym()

eSignal EFS 2

sym()

Top  Previous  Next

 

sym( symbol )

 

New in EFS2. Converts string representation of symbol or symbol,interval into a Series object. It is used in conjunction with all other series-type functions and is an important aspect of EFS2's multi-timeframe support.

 

Parameters

 

symbol

the symbol or symbol,interval to convert

 

Usage

 

function main() {

var myVar;

 

       ...

       ...

 

       //get the open price from the prior bar (at the current bar interval)

       //for QQQ

       myVar = open( -1, sym("QQQ") );

 

       //get the current close from the IBM 15-min series

       myVar = close( 0, sym("IBM,15") );

 

       //get the ema value (at the current bar interval) from the MSFT series

       myVar = ema( 10, sym("MSFT" );

 

       //get the atr from the SP Emini 5-min series

       myVar = atr( 5, sym("ES #F,5") );

       

 

}