Forum

Weird mismatch using SymbolInfoTick and CopyTicksRange

Hello, I have been using CopyTicksRange to get a range of ticks to then construct 1-minute OHLC data from the raw ticks, later i tried looking through my broker and execute some testing trades and i found that CopyTicksRange returns ticks that are different from using SymbolInfoTick . To test this

I'm trying to subtract two values and it is giving me different results

Hello, Right now I have two values for the high and open for the last bar but when trying to subtract them it gives very different results and I have trying for hours to discover why this happens with no luck :(. I'm a beginner so i know I'm missing something. HIGH OPEN 113.4999999999995