at line it only accepts, as an offset into the future, from 2 to 31 days, otherwise an error is reported as from attached pics (Draw1 is correct, with 31, while Draw2 returned an error as soon as I incremented the variable to 32).
Is this a limit or a bug?
Making it a strategy and GRAPHing all variables, the future dates calculated are GRAPHed correctly, so there should be no error in the calculation code.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue