Hello,
I am new to Zorro, have followed the instruction to create a basic strategy as DLL,
https://zorro-project.com/manual/en/dlls.htmin particular this: "VC++ setup for a DLL project (free Zorro version)"
It is (see bottom of the post) building alright from my VS2022 then invokes Zorro64.
I do then select my script (by click on New Folder...) click Trade and get this log print,
Zorro64 2.72.1
(c) oP group Germany 2025
Error 063: C++ direct start requires Zorro SAccount: demo / Mt4/5
Couldn't find any reference to this error in the forums, except for something I am using included only in paid "S" version. It does work when I load Zorro64 and add the generated DLL. I'd imagined cpp files would work from VS so I could debug them, etc.
Feels like I am missing out on something very basic?
This is the strategy,
DLLFUNC void run()
{
vars Prices = series(price(0));
vars SMA100 = series(SMA(Prices, 100));
vars SMA30 = series(SMA(Prices, 30));
if (crossOver(SMA30, SMA100))
enterLong();
if (crossUnder(SMA30, SMA100))
enterShort();
}
Appreciate any guidance! Cheers