Forum

MT4/MT5 trade copier

Hi, How websites like trade-copier does access MT4/MT5 account information and send orders? Is there an API provided by Metaquotes

How to get first price of day

Hi, I am doing an indicator for stock market that starts at 9 AM. So I want get the first price of day and start or restart the calculation at 9 AM. I have tried this into OnCalculate, but it is not working MqlDateTime curDate; TimeCurrent (curDate); if (curDate.hour < 9 ) return 0 ; I