30 Minute Open alert indicator/EA..

 

Ok,

I don't know jack about programming EA's or custom indicators..here's what I'm looking for.

I'd like to specify where an email is sent that contains the open of 30m candles, I'd like for this to run as long as connectivity to the platform exists.

Is it possible?

..I'll share more once I know more about whether this is possible or not...

TIA, and may your pips be many and mighty!!

 

Bueller? Bueller? anyone? anyone?

 

hai, any one help me how to use EA indicator in MT4

 
autolox:
Ok, I don't know jack about programming EA's or custom indicators..here's what I'm looking for.I'd like to specify where an email is sent that contains the open of 30m candles, I'd like for this to run as long as connectivity to the platform exists.Is it possible?..I'll share more once I know more about whether this is possible or not...TIA, and may your pips be many and mighty!!

Yes, it's possible. Try this:

//+------------------------------------------------------------------+
// BarMailAlert |
//+------------------------------------------------------------------+
#property indicator_chart_window

int iNumBars;

int init()
{
iNumBars = 0;
return(0);
}

int start()
{
if (iNumBars == 0)
iNumBars = Bars;
if (Bars > iNumBars)
SendMail("New Bar has Opened", StringConcatenate("Open = ", Open[0]));
return(0);
}

 
Tantalus:
Yes, it's possible. Try this:
//+------------------------------------------------------------------+
// BarMailAlert |
//+------------------------------------------------------------------+
#property indicator_chart_window

int iNumBars;

int init()
{
iNumBars = 0;
return(0);
}

int start()
{
if (iNumBars == 0)
iNumBars = Bars;
if (Bars > iNumBars)
SendMail("New Bar has Opened", StringConcatenate("Open = ", Open[0]));
return(0);
}

selvam..ea is nt indi..its automated robot which wil do d biz when u r nt around.

raj

 

What would you need such an indicator for, simply check your charts on your phone/mobile device every 30 minutes.

Reason: