I am trying to get a simple string showing in last tick was up or down, somehow it gets stuck in "down" position. Obviously I am missing something.. so any help will be appreciated.
Dan.
//+------------------------------------------------------------------+//| TICK UP OR DOWN |//+------------------------------------------------------------------+ string tickMove;
double NewTick = Bid;
staticdouble OldTick = Bid;
double Move = (NewTick - OldTick);
if (Move > 0) tickMove = "up";
if (Move < 0) tickMove = "dn";
if (Move ==0) tickMove = "--";
I am trying to get a simple string showing in last tick was up or down, somehow it gets stuck in "down" position. Obviously I am missing something.. so any help will be appreciated.
Dan.