Download MetaTrader 5

how to control function ?? ( example Alert function )

To add comments, please log in or register
Philip
30
Philip  

hi,

I am testing my e.a, so i am using lots of Alert function for checking any situation...

now i dont need to see any alert message,

is there any way to control alert message ? too many to delete alert message, looking for other way by other function or other way....

thanks ~

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI  
Show us your code. Somebody will help you if they have their spare time.
smimon
165
smimon  
wctmiami:

hi,

I am testing my e.a, so i am using lots of Alert function for checking any situation...

now i dont need to see any alert message,

is there any way to control alert message ? too many to delete alert message, looking for other way by other function or other way....

thanks ~


If you use the Print function instead of Alert, your output messages will show up on the Experts tab of the terminal.

If you right-click and select "Open" on any line, the folder containing the log files will be shown, and you can review your messages in a text editor.

Keith Watford
Moderator
10371
Keith Watford  

If like me, you always put Alert on its own line

You can use find and replace (Ctrl H)

Find Alert(

and replace with

//

qjol
3243
qjol  
GumRai:

If like me, you always put Alert on its own line

You can use find and replace (Ctrl H)

Find Alert(

and replace with

//


Find Alert(

and replace with

//Alert(

Keith Watford
Moderator
10371
Keith Watford  
qjol:

Find Alert(

and replace with

//Alert(



Good point
To add comments, please log in or register