Yes, I can define VARLIST either by modify the evaluation script or add an extra #define VARLIST in my strategy.
But it's not dynamic.

What I was looking for is a variable containing the path to the currently selected strategy folder (which can be configured for startup in ZorroFix.ini or changed after via [Change Folder] in the Action menu). Zorro clearly knows this path, but doesn't expose it through trading.h and variables.h, so I have no way to access it and change the eval script to load VARLIST from the current strategy folder, not a hardcoded one.

As far as I can tell, the most recent release is 3.11.2 (I get this on email). I made a fresh installation in a different folder, and it has eval2.c in the include directory.

Code
PS C:\zorro2\include> dir

    Directory: C:\zorro2\include

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-----       2004. 01. 26.     3:58           1317 com.h
-----       2026. 03. 07.    13:00          21106 contract.c
-----       2017. 02. 05.    11:08         142829 d3d9.h
-----       2026. 01. 03.    11:37           4396 default.c
-----       2012. 04. 06.     9:41              0 empty.h
-----       2026. 06. 27.    13:09          51119 eval.c
-----       2026. 01. 11.    13:36            390 eval.h
-----       2026. 06. 05.    10:03          49845 eval2.c
-----       2026. 06. 21.    17:41           1754 evars.h
-----       2026. 05. 07.    12:40           9686 func_list.h
-----       2026. 05. 07.    12:40          32331 functions.h
-----       2022. 10. 23.    10:44           2132 legacy.h
-----       2026. 05. 10.    10:56           3691 litec.h
-----       2017. 02. 04.    15:52          78372 opengl.h
-----       2026. 04. 25.     8:54          10595 profile.c
-----       2024. 06. 02.    12:07           1505 pynet.cpp
-----       2024. 08. 21.    14:11          12031 r.h
-----       2022. 06. 09.    15:20           9801 stdio.h
-----       2026. 04. 05.    16:22          49660 trading.h
-----       2026. 04. 06.    12:13          20829 variables.h
-----       2022. 01. 10.    13:47         361294 windows.h
-----       2026. 03. 08.    13:23          19733 zorro.h

Last edited by NorbertSz; Yesterday at 08:23.