在Forex Tester中调试delphi策略步骤:
1. 将所有策略文件(strategy *.dpr 和 StrategyInterfaceUnit.pas、TechnicalFunctions.pas)复制到 <ForexTester>\Strategies\ 文件夹。
2.启动 ForexTester 之前编译策略文件 (注意不要通过文件菜单安装策略,直接在IDelphi中编译即可)。在 Project -> Options -> Compiler 中启用所有调试选项。
3.启动 ForexTester
4.在 Delphi 中,找到菜单 Run -> Attach to process 并选择 ForexTester.exe。
5.现在可以设置断点,一步一步地查看变量。