- void Print(...) Prints a message to the experts log.
- you could use Comment instead
Get rid of the for loop and just print and return. Nothing will be changing until start() is called again.
thnk you guys.
Start() executes any ttime or just when the tick rate changes?
bests,
Have a read here: https://docs.mql4.com/runtime/start
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have this simple script that print the tick ask rate in the expert window
in start(){
double r=MarketInfo("EURUSD", MODE_ASk);
for(;;){
Print("EURUSD=",r);
r=MarketInfo("EURUSD", MODE_ASK);
}
return(0);
}
1. How to prevent loging the data into ../experts/logs/ date.txt file, this file gets really big for obvios reasons?
2. I have a dll function that prints in the stdout (console). I would like to print the ask tick price in the console or a file instead of in the experts window in mt4 ? I want to analize the tick rates with other tools I have, it is ok if the file is huge.
thnks in advance