Zorro version 1.04 is now available for beta testing. The following was changed in is version:
- The 3 bugs reported for 1.03 have been fixed.
- Fuzzy logic functions have been added.
- The EndDate variable can be used to determine a fixed backtest period.
- The sortData / sortIdx function can be used for sorting series and arrays.
- Examples for converting MQL4 EAs, EasyLanguage scripts and NinjaScripts to Zorro were added to the manual.
- Phantom trades are now displayed with winged brackets { } for better distinction from normal trades.
- exitLong/Short now also cancels pending trades. Previously the only way to cancel pending trades was a loop over all trades.
- The number of pending trades can now be evaluated with the NumPendingLong/Short system variables.
- Open and closed trades can be enumerated with the forOpenTrades and forAllTrades macros.
- The AssetsList file can be changed in the script for simulating a different broker or account.
- A Grid Trading strategy was added to the Get Rich Quick section of the Tips&Tricks page.
- If some assets are not found or could not be subscribed, as with certain UK accounts, Z1 and Z2 now just continue with the rest of the assets. Previously the strategy was aborted with an error message. If all components of an asset are excluded in the Z12.fac file, the asset is now not downloaded from the broker anymore, thus allowing a faster start of the strategies.
- A new system Z12 / Z12nfa was added that is a combination of Z1 and Z2.
- The dst() function calculates the daylight saving time.
- The day() functions now automatically skip weekends, making them easier to use without the need to check the current day of the week.
- The strvar() function reads a variable from a string.
- The Zorro setup program is now Windows 8 compatible. Previously it had to be started in Win7 compatibility mode under Windows 8.
If you're interested in testing this version, please send me a PM and I'll open the Zorro beta test forum for you.