hi, is there anyway to get todays opening price and apply it to the callback stream from main? I would like to apply todays open to the processing of all bars. If there is a property or method I can get inside of preMain that would be great, like:
var gTOP;
preMain( )
{
// get Todays Opening Price, just for today
gTOP = SomehowGetTodaysOpeningPrice( );
}
main( )
{
// do things here that apply gTOP to all bars we process
return result
}
thanks, I appreciate any insights -mark
var gTOP;
preMain( )
{
// get Todays Opening Price, just for today
gTOP = SomehowGetTodaysOpeningPrice( );
}
main( )
{
// do things here that apply gTOP to all bars we process
return result
}
thanks, I appreciate any insights -mark
Comment