Forum

Tick time is sometimes ahead of local time

I'm trying to compare the tick's server time with the local arrival time inside OnTick() . datetime tick_server_time = TimeCurrent (); datetime tick_local_time = TimeLocal (); After stringifying with TimeToString() and printing out: "server_t" : "11:39:14" , "local_t" : "11:39:13" "server_t"

MqlTick time property: server or client

Is the time of Mqltick object coming from the broker/data provider server or it's just a timestamp taken by the client (metatrader) on every incoming new tick

Show pips and amount above stop levels

Hi there, How to display the pips and the volume within the labels of stop loss and take profit line? Attached is a screenshot of what I'm looking to achieve