Test_TimeUs

Author: Copyright 2021, MetaQuotes Ltd.
0 Views
0 Downloads
0 Favorites
Test_TimeUs
ÿþ//+------------------------------------------------------------------+

//|                                                  Test_Time¼s.mq5 |

//|                                  Copyright 2021, MetaQuotes Ltd. |

//|                                             https://www.mql5.com |

//+------------------------------------------------------------------+

#property copyright "Copyright 2021, MetaQuotes Ltd."

#property link      "https://www.mql5.com"

#property version   "1.00"

#include <TimeUs.mqh>



CTime¼s t;



void OnStart() {

   while(!IsStopped()) {

      Comment("Local   - "       + string(t.GetTimeLocal()) +

              " µs\nGMT   - "    + string(t.GetTimeGMT()) +

              " µs\nServer - "   + string(t.GetTimeTradeServer()) + " µs");

   }

   Comment("");

}

//+------------------------------------------------------------------+

Comments