To access general preferences, choose Environment > Settings.
Settings are divided into two sections: Appearance and Sounds.
Set up general properties for PTL Builder here:
- Autoinclude Variables to Watch - if the checked Watch panel contains all variables used in a Script any time it's opened.
- When Automatic reconnection is checked, PTL Builder automatically tries to reconnect to the server after a loss of connection.
- Handle debug events - every time a BreakPoint is met in your code while debugging, a debug event appears. Remove this checkbox if you don't want to handle this event.
- Use "Foldings" in editor - if this function is checked you can use the "-" symbol to collapse the function source in the editor.
- Use "Intellisense" in editor - when checked, auto-completion is applied to the source code.
- Use visual tester - uncheck this setting if you don't want to see the emulation progress in the visual tester while debugging the history.
- Minimize to tray - minimize PTL Builder program as icon into the system tray.
- Cipher method - choose cipher method for your scripts to protect your intellectual property. Following methods are used for protection of executable files (*.pcm):
- ZIP is the fastest method; it makes your scripts very compact. It is a good choice for working with all open-source scripts.
- MD5 method works slowely and makes your scripts larger. But you can use it to protect a lot of your own scripts.
- RSA is slowest method and generates biggest scripts. But it use a very strong algorithm (keysize=1024) that able to protect your major scripts.
Note: If you change the .NET Framework version, you may receive error messages if your code contains references to a different version. To resolve these errors, you must manually modify the references.
- Intrrface language - specifies the default language of the user interface. It's better to restart PTL Builder to apply all changes.
- Ninja Script Repository - specify the a source code repository for Ninja Scripts.
Note: NinjaTrader builds all indicators into one dll. PTL Builder does the same: it builds all files from repository into one combined dll.
Comments