Storing a value
Posted: Nov 25 2015
This may be very simple and I think it should be, but it seems to be causing a little problem. I want to do the following to store a value
If time_s <= checktime then begin;
checkprice = currentbid of data2;
end;
if time_s > checktime then begin;
checkprice = checkprice;
end;
Will this accomplish what I am trying to do, which is set checkprice to the last bid of data2 at the checktime for the rest of the day after the crossover in time.
If time_s <= checktime then begin;
checkprice = currentbid of data2;
end;
if time_s > checktime then begin;
checkprice = checkprice;
end;
Will this accomplish what I am trying to do, which is set checkprice to the last bid of data2 at the checktime for the rest of the day after the crossover in time.