Download MetaTrader 5

pop up window comes up upon timeframe change

To add comments, please log in or register
Do you want to write a technical indicator? Find solution in MQL5 Reference!
gericooper
26
gericooper 2016.08.10 18:43 

Hello

 

My expert contains a notification code (email/popup/push)  but every timeframe change (back and forth e.g: H1>> D1 >> H1) it sends out a message however this is an unwanted behaviour, since conditions not met or already met

 

How to solve this? 

Marco vd Heijden
Moderator
4706
Marco vd Heijden 2016.08.10 18:51  
gericooper:

Hello

My expert contains a notification code (email/popup/push)  but every timeframe change (back and forth e.g: H1>> D1 >> H1) it sends out a message however this is an unwanted behaviour, since conditions not met or already met

How to solve this? 

You can solve it by setting flags.

Some code could be handy.

Osama Shaban
1448
Osama Shaban 2016.08.10 23:23  

Search for Alert( ) command and change it to ...

//Alert("xxxxx"); 

Jose Francisco Casado Fernandez
2407
Jose Francisco Casado Fernandez 2016.08.12 01:30  

Without the code it's impossible to help.

Regards.

To add comments, please log in or register