nonhuman:
hi,
i'm trying to learn mql using a book. but still have a couple of very basic questions;
so I wrote a very simple ea that alerts the digit of a chart. how do I run the ea on a chart?
<CODE DELETED>
Please read some other posts before posting . . .
Please edit your post . . . please use the SRC button to post code: How to use the SRC button.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi,
i'm trying to learn mql using a book. but still have a couple of very basic questions;
so I wrote a very simple ea that alerts the digit of a chart. how do I run the ea on a chart?
#include <stdlib.mqh>
#include <WinUser32.mqh>
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{Alert(Digits);
//----
//----
return(0);
}
//+------------------------------------------------------------------+