a couple of very basic questions pls

 

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);
  }
//+------------------------------------------------------------------+ 

 
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. 

Reason: