Hi,
I have made a simple EA just to check if it works correctly.
But, although the functions "init()" and "deinit()" are executed, the function "start()" is not executed.
I have Windows Vista Home Premium Service Pack 1.
This is the EA I have made:
//+------------------------------------------------------------------+
//| test1.mq4 |
//| Copyright © 2009, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2009, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
//----
Print("Entering init()");
//----
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
Print("Entering deinit()");
//----
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
//----
Print("Entering start()");
//----
}
//+------------------------------------------------------------------+
Try attaching it to an M1 chart. Then wait for incoming ticks. The start() function should be executed each time an incoming tick arrives (whilst it is idle).
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have made a simple EA just to check if it works correctly.
But, although the functions "init()" and "deinit()" are executed, the function "start()" is not executed.
I have Windows Vista Home Premium Service Pack 1.
This is the EA I have made:
//+------------------------------------------------------------------+
//| test1.mq4 |
//| Copyright © 2009, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2009, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
//----
Print("Entering init()");
//----
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
Print("Entering deinit()");
//----
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
//----
Print("Entering start()");
//----
}
//+------------------------------------------------------------------+