Skip to content

Instantly share code, notes, and snippets.

@rf0444
Last active October 9, 2016 02:49
Show Gist options
  • Save rf0444/7031810944ae743b389f3c31a3bec5ef to your computer and use it in GitHub Desktop.
Save rf0444/7031810944ae743b389f3c31a3bec5ef to your computer and use it in GitHub Desktop.
MT4 Dialog
// property省略
#include <Controls\Dialog.mqh>
CAppDialog dialog;
int OnInit() {
dialog.Create(ChartID(), "Test Dialog", 0, 100, 100, 600, 400);
dialog.Run();
return INIT_SUCCEEDED;
}
void OnDeinit(const int reason) {
dialog.Destroy(reason);
}
void OnTick() {}
void OnChartEvent(const int id, const long &lparam, const double &dparam, const string &sparam) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment