vdemydiuk / mtapi

MetaTrader API (terminal bridge)
http://mtapi4.net/
MIT License
514 stars 277 forks source link

Close/Open Market #189

Open arl26 opened 4 years ago

arl26 commented 4 years ago

Hi, How can i get the Market Status? That Market is Open or Close?

Thanks

vdemydiuk commented 4 years ago

Hi, I am not sure that MQL (and MtApi) has functions to check Market Status. I have looked for existing solutions in MQL forums and found discussion of this: https://www.mql5.com/en/forum/140033

Please check last answer in the thread.

KptKuck commented 4 years ago

Hi, I am not sure that MQL (and MtApi) has functions to check Market Status. I have looked for existing solutions in MQL forums and found discussion of this: https://www.mql5.com/en/forum/140033

Please check last answer in the thread.

These MQL5 functions are helpful. https://www.mql5.com/en/docs/marketinformation/symbolinfosessionquote https://www.mql5.com/en/docs/marketinformation/symbolinfosessiontrade