Forum

How to write code run file script when pressed button?

I'm a beginner. I create EA I want create button click to run the script. How to write? Help me please. Thank you

Help me please about code MT4 Button

Help me I'm writing code. Create a button to close all orders and Close only Profit order Button close all button is working but close only profit not working. void OnChartEvent(const int id, const long &lparam, const double &dparam, const string &sparam) { int