建议你把documents通读一遍,遇到问题你至少知道去哪里找答案。
https://www.mql5.com/en/docs/constants/chartconstants/enum_timeframes
Documentation on MQL5: Constants, Enumerations and Structures / Chart Constants / Chart Timeframes
- www.mql5.com
All predefined timeframes of charts have unique identifiers. The PERIOD_CURRENT identifier means the current period of a chart, at which a mql5-program is running.
嗯嗯 我用了 在H1的圖 PERIOD_CURRENT 回傳是 16385 ??? 怎麼換算的嗎?
請問MT5如何平倉當下圖表的全部部位?
請問MT5 如何獲取目前圖表的時間框架?
如何讓 EA 得知 目前是 H1 或 H4 等圖表狀態呢?