Forex
Google

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-31-2006, 04:13 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Cool Alert Once (Brain Damage)!

Hi folks,

Please give this aerticle a look and tell me what do you think? :
http://www.metatrader.info/node/173
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-31-2006, 04:33 PM
elihayun's Avatar
elihayun elihayun is offline
Senior Member
 
Join Date: Jan 2006
Posts: 350
elihayun is on a distinguished road
Nice article. A lot of people asking this question.

U can use the following code to make it easier.

PHP Code:
void AlertOnce(string alert_msgint ref)
{
    if (
ref 10)
        return;
 
  
ref--;
  static 
int LastAlert[10];
 
  if( 
LastAlert[ref] == || LastAlert[ref] < Bars)
  {
       
Alert(alert_msg); 
       
LastAlert[ref] = Bars;
  }

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-31-2006, 05:00 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Talking Great code!

Quote:
Originally Posted by elihayun
Nice article. A lot of people asking this question.

U can use the following code to make it easier.

PHP Code:
void AlertOnce(string alert_msgint ref)
{
    if (
ref 10)
        return;
 
  
ref--;
  static 
int LastAlert[10];
 
  if( 
LastAlert[ref] == || LastAlert[ref] < Bars)
  {
       
Alert(alert_msg); 
       
LastAlert[ref] = Bars;
  }

Thank you very much for reading the artilce!

Your code looks very great I have to give it a try!

A good programmer is the programmer who uses less lines of code and your code seems a good code!
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-17-2006, 12:22 AM
ZTrader ZTrader is offline
Member
 
Join Date: Mar 2006
Posts: 91
ZTrader is on a distinguished road
Thanks for the help, CG!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-17-2006, 01:02 AM
zed2002 zed2002 is offline
Member
 
Join Date: Dec 2005
Posts: 30
zed2002 is on a distinguished road
Great!

Great and very useful article...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
MTF Brain Trading Plus stevenali Suggestions for Trading Systems 5 12-27-2007 11:40 AM
My BRAIN is FRIED!!!! spiritbreezer Indicators - Metatrader 4 0 05-21-2007 06:01 PM
e-Brain Trend EA jpsdyb Metatrader 4 1 01-12-2006 07:31 AM


All times are GMT. The time now is 09:58 PM.