// catch value of bid if no order is opened.
double line_of_trades( )
static double the_line=0; // save value btwn repeated calls.
if(total<1 && the_line>0)
Print("The Line is There");
Please enable the necessary setting in your browser, otherwise you will not be able to log in.