what does sig.Price != -1 mean? why would we compare a signal price to 
negative one? this bit of code was included in the following:

        for ( sig=bo.GetFirstSignal(bar); sig; sig=bo.GetNextSignal
(bar) ) 
        {     
           // first handle exit signals 
           if (sig.IsExit() AND sig.Price != -1 ) 
           { 
            // Exit Signal 
               bo.ExitTrade(bar,sig.symbol,sig.Price); 
           } 
        } 
Thanks in advance

Reply via email to