Skip to content

Instantly share code, notes, and snippets.

@bennotti
Created November 4, 2022 13:19
Show Gist options
  • Save bennotti/927bf434885b671a4e4e4f17dddd5a7a to your computer and use it in GitHub Desktop.
Save bennotti/927bf434885b671a4e4e4f17dddd5a7a to your computer and use it in GitHub Desktop.
//+------------------------------------------------------------------+
//| sample.mq5 |
//+------------------------------------------------------------------+
#property copyright "Copyright 2021, xyz"
#property link "https://www.xyz.com.br"
#define TESTE_VERSAO "1.000"// xxx.yyy
#property version TESTE_VERSAO
#property description "xyz."
#property description "xyz. "
#property description "xyz"
int OnInit() {
EventSetTimer(1);
return(INIT_SUCCEEDED);
}
void OnDeinit(const int reason) {
EventKillTimer();
::Comment("");
}
void OnTick(){
}
void OnTimer() {
}
void OnTradeTransaction(const MqlTradeTransaction& trans,
const MqlTradeRequest& request,
const MqlTradeResult& result)
{
}
void OnChartEvent(const int id,
const long &lparam,
const double &dparam,
const string &sparam)
{
}
void OnBookEvent(const string &symbol)
{
}
double OnTester() {
}
void OnTesterInit() {
}
void OnTesterPass() {
}
void OnTesterDeinit() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment