double ticksize = MarketInfo(Symbol(),MODE_TICKSIZE); if(ticksize == 0.00001|| 0.001) t = ticksize*10; if(ticksize == 0.0001|| 0.01) t = ticksize;