MQL4 - automated forex trading   /  

Forum

Login | Register | Language: ru cn en
Read Financial Magazines in MetaTrader 4 and MetaTrader 5!

indicator debugging

Back to topics list To post a new topic, please log in or register
avatar
13
tazz90 2013.02.27 19:36
 

how can i debug an indicator code? is there any way to stop incoming ticks for a while so that i can have a look at values that i have displayed in experts tab from indicator code ?

thanks

 
10 Friday Reads
10 Friday Reads
Sergey Golubev | 31 October 2014, 14:26 | Views: 76
The U.S. Recovery Is Frustrating -- but It’s the Envy of the Advanced World (Wonkblog) see also U.S. Economy Up 3.5% in 3rd Quarter, Capping Best 6 Months in Over a Decade (Bloomberg) How This Investment Firm Hopes to Revolutionize Litigation in America (Mimesis Law) Value Trap Underneath Gold Miner Fund GDX (ETF) see also Charts Suggest Gold Will Keep on Falling (Barron’s) Solar Flair: How Do You Make Ray-Soaking Roof Panels a Hot Investment?
avatar
14169
RaptorUK 2013.02.27 19:38 #
 
tazz90:

how can i debug an indicator code? is there any way to stop incoming ticks for a while so that i can have a look at values that i have displayed in experts tab from indicator code ?

thanks

Open the log and read it at your leisure.

avatar
13
tazz90 2013.02.27 20:00 #
 
RaptorUK:
Open the log and read it at your leisure.


that files contains return/ error messages from scripts and other file ... it do not contains any information that could help me to debug my code
 
avatar
14169
RaptorUK 2013.02.27 20:24 #
 
tazz90:

that files contains return/ error messages from scripts and other file ... it do not contains any information that could help me to debug my code
If it's in the experts tab it's also in the experts log file.

avatar
11
FlatFap 2013.02.27 20:59 #
 

Experts tab is rubbish and i was fortunate enough to stumble across this EXCELLENT post by 7bit; it's made debugging so much more powerful :)

Addendum: Writing to Experts tab also creates log files, which over time can slow down the terminal. To optimise speed, go to Tools->Options->Charts and change both Max bars to 500, so the terminal isn't constantly pulling thousands of candles from the server and delete old log files.




 
Back to topics list  

To add comments, please log in or register