AmiBroker Users’ Knowledge Base » DebugView_ Introduction and Setup | Debugging | Parameter (Computer Programming)

Please download to get full document.

View again

All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Share
Transcript
  Users' Knowledge Base Share your experience, code and everything with otherAmiBroker Users’. January 21, 2007 DebugView: Introduction and Setup DebugView is an essential development, debugging, and trading tool.When developing Automated Trading Systems, you need to know when orders have gone out, what theirparameters were, whether they were accepted and processed, what error messages were received, etc.When you place an automated order, you cannot simply assume that your order was executed and filled.You must always verify order and system status and be able to act on irregularities.Debugging techniques reflect personal working habits, and the examples you’ll find in the DebugCategory of the Users’ Knowledge Base are intended to help you develop your own debugging strategies,not to provide the perfect debugging setup for you.Using _TRACE() statements will slow down the speed of code executions somewhat, and you shouldexercise care when using them. For example, you should never permanently embed _TRACE() statementsinside a loop with a thousand iterations. This would result in thousands of lines being output to DebugViewand noticeably slow down your AFL execution. Another option is to selectively enable and disable_TRACE() output by using the Param() user input; this topic is covered under the heading of  DebugView:_TRACE() Statements and Logging. You can use DebugView to create a detailed logging file that will show you exactly what happened, whenit happened, and in what sequence. To reject output from other programs on your computer, all _TRACE()output strings start with a “#” character. This is done so that you can set up your DebugView -> Edit ->Filter/HighLight to pass only your statements that begin with “#”:To install DebugView, download, unzip, and copy the dbgview.exe program to the C:\ProgramFiles\AmiBroker\DebugView  folder. Then, in AmiBroker, go to Tools -> Customize -> Tools -> New  andchange  MenuItem  to  DebugView . Next, click on the three dots inside the Command box and browse forthe DebugView program, which is located at C:\Program Files\AmiBroker\DebugView\Dbgview.exe, andclick on it . Finally, click the Close  button, and you are finished. From now on, you can start upDebugView from AmiBroker by simply clicking Tools -> DebugView . AmiBroker Users’ Knowledge Base » DebugView: Introduction and Setuphttp://www.amibroker.org/userkb/2007/01/21/debugview/ 1 of 36/19/2014 1:50 PM  It cannot be stressed enough that DebugView is an indispensable tool in the development of Real-TimeAutomated trading systems.DebugView is free, and you can download it from http://www.microsoft.com/technet/sysinternals/utilities /debugview.mspxEdited by Al Venosa Filed by Herman at 12:55 am under Debugging AFLComments Off  ( 1  votes, average: 5.00  out of 5)Comments are closed. Info Table Of ContentsContributor AgreementAboutAuthor GuideContactsFAQTerms of Use Recent Posts EOD Gap-Trading Portfolio systemA Long-only EOD Gap trading ideaBollinger Band ZigZag IndicatorA Subliminal Intraday Trading Tool AmiBroker Users’ Knowledge Base » DebugView: Introduction and Setuphttp://www.amibroker.org/userkb/2007/01/21/debugview/ 2 of 36/19/2014 1:50 PM  Using IIF(), IF() and Switch() functions Recent Comments Richard Dale on Data Resources – ForexHerman on Request Real-Time Topics hereMike B on Request Real-Time Topics hereTomasz Janeczko on US-Stocks Database (v2)brian_z on Setup A Custom Database – Nasdaq CategoriesArchives October 2011 (1)September 2011 (1)August 2011 (1)July 2011 (1)April 2011 (2)March 2011 (6)February 2011 (2)January 2011 (2)February 2009 (2)August 2008 (1)April 2008 (1)March 2008 (20)February 2008 (6)January 2008 (1)December 2007 (4)November 2007 (18)October 2007 (17)September 2007 (17)August 2007 (26)July 2007 (20)June 2007 (17)May 2007 (8)April 2007 (16)January 2007 (1) Meta Log inEntries RSSComments RSSWordPress.orgCopyright (C)2006 AmiBroker.com.This site uses WordPress Page generated in 0.436 seconds. AmiBroker Users’ Knowledge Base » DebugView: Introduction and Setuphttp://www.amibroker.org/userkb/2007/01/21/debugview/ 3 of 36/19/2014 1:50 PM
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x