Why does this hedge rule produce "UnhandledExceptionHandler: EXCEPTION_ACCESS_VIOLATION"
(LinReg('SMA(6,CTR,getseries("CAPE-MA35"))',8,1) & R2>0.90 & SLOPE<0)
Why does this hedge rule produce "UnhandledExceptionHandler: EXCEPTION_ACCESS_VIOLATION"
(LinReg('SMA(6,CTR,getseries("CAPE-MA35"))',8,1) & R2>0.90 & SLOPE<0)
Thank you for reporting this. A bug report has been created.
The LinReg() function does not appear in the Reference on the Hedge page, so it is not supported there. But it does need to handle the error message correctly.
OK, good to know that the LinReg function is not supported in the hedge module.