| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Use of Comment() when backtesting https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=457 |
Page 2 of 2 |
| Author: | sonik [ Sat May 05, 2012 3:53 pm ] |
| Post subject: | Re: Use of Comment() when backtesting |
Sounds to me like the backtester is changing between ticks too fast or your comment is too long. Basically, the comment doesn't have time to output before the next comment is requested (start() function iterates every tick). I have this issue in REALTIME trading, as my main system outputs well over a hundred lines of information (ideally). I've since had to cut it right down, because the comment wouldn't show because it was too long and not fast enough. |
|
| Author: | dietcoke [ Fri Jun 01, 2012 12:22 pm ] |
| Post subject: | Re: Use of Comment() when backtesting |
I use this function Code: Select all Code: Select all To use it call the log function where you want a comment or Print. I make the call conditional on a debug flag being set so it's easy to switch on and off. eg. Code: Select all This will wrk regardless of the mode you are working in. I cannot code any more without this in place. |
|
| Author: | garyfritz [ Fri Jun 01, 2012 2:05 pm ] |
| Post subject: | Re: Use of Comment() when backtesting |
DC, how is this any better than just doing a FileWrite() with the desired parameters? That's what I've been doing... |
|
| Author: | dietcoke [ Fri Jun 01, 2012 3:51 pm ] |
| Post subject: | Re: Use of Comment() when backtesting |
Nothing at all, i imagine. It's probably a tiny bit less intense on the system as it uses an api call, there are no huge log files to manage. Once you quit debugview, the logging is lost unless you save it Debug view allows you to tail the log outout, apply filters etc. However, these thing are also available in a decent text editor. This was just the first decent debug method I'd seen for Empty4. |
|
| Author: | AnotherBrian [ Tue Sep 18, 2012 2:20 am ] |
| Post subject: | Re: Use of Comment() when backtesting |
I 2nd the vote for debugview - I used it when I was using Amibroker - it is very helpful, and real time rally mean real time scrolling. |
|
| Author: | Big Be [ Sat Nov 24, 2012 5:59 am ] |
| Post subject: | Re: Use of Comment() when backtesting |
Comments Flickering A Comment will stay up until a new Comment replaces it, whether from an EA or from an indicator. New means next one executed Big Be |
|
| Author: | MrPip [ Sat Dec 01, 2012 2:31 am ] |
| Post subject: | Re: Use of Comment() when backtesting |
I have been using text labels for many years after getting a coding request from a cliet with poor eyesight. As mentioned in a prior post, you can then control font size and color. I do not see where I can add an attachment of a code stubb or indicator I have written that can be used as an example. Robert Hill aka MPip |
|
| All times are UTC | Page 2 of 2 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|