molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Sun May 12, 2024 1:14 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: too many alerts for same signal
PostPosted: Thu Jul 26, 2012 1:32 pm 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
Ooops. :oops: MolanisAlert is tied to else and a bunch of other code that I'm not going to mess with, but the standard mql4 Alert command is compiling ok.

_________________
I'm not a programmer, but I play one on TV.


Top
 Profile  
 
 Post subject: Re: too many alerts for same signal
PostPosted: Thu Jul 26, 2012 5:00 pm 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
Aaand... after some searching I found how to count alerts in alert mode: http://forum.mql4.com/35011.

_________________
I'm not a programmer, but I play one on TV.


Top
 Profile  
 
 Post subject: Re: too many alerts for same signal
PostPosted: Fri Jul 27, 2012 9:26 pm 
Offline

Joined: Wed Jul 04, 2012 9:41 pm
Posts: 7
I used the approach of setting execution mode to trade and max position of 1. Not most elegant solution but I do get just 1 email when conditions are met.


Top
 Profile  
 
 Post subject: Re: too many alerts for same signal
PostPosted: Sat Jul 28, 2012 11:05 am 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
Well, I would too but:

My email can't receive alerts,
I prefer pop-up alerts anyway, and
I'm trading 26 pairs, 2 positions per pair (hard coded 52 max).

This is why I want one alert per trade. I'm sure this can be done, but I'm having other issues since IBFX updated to MT4 build 4.32:

Sometimes one CheckTrailingStop line gets omitted from the code (given 26 BUY blocks, I get 25 CheckTrailingStop lines instead of 26),
Sometimes currency pairs are transposed (LS, SL, TP, or TS symbol doesn't match BUY/SELL symbol), and
Find & Replace in MetaEditor is a mess. For example, when I replace EURUSD with EURUSDm, I sometimes get EURUSDmmm, and
Formattng from MetaEditor no longer carries over to MS Word for advanced editing.

Every day, I like CrapT4 a little bit less.

_________________
I'm not a programmer, but I play one on TV.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009