想在OBJ_EDIT 完成编辑(按下ENTER)时运行一段代码,有人能实现吗?
参考
https://www.mql5.com/zh/docs/event_handlers/onchartevent
其中的 CHARTEVENT_OBJECT_ENDEDIT 就表示用户输入结束事件,捕捉到该事件后插入你的业务代码。

Ziheng Zhuang:
我去试试,先谢了。
参考
https://www.mql5.com/zh/docs/event_handlers/onchartevent
其中的 CHARTEVENT_OBJECT_ENDEDIT 就表示用户输入结束事件,捕捉到该事件后插入你的业务代码。