I am trying to display a backgroung color change based on the slope change of the Linear Regression Slope code generated by the Wizard. The code works but tThe background color change seems at best to respond with a 4 to 5 bar delay. Could you advise how best to correct the code to respond within the following bar of a slope change or at a max within 2 bars of a slope change?
I have tried to increase the offset to -2 and -3 but to no better results. The plotting of the LinearRegression value seems to be correct. Please advise how to accomplish if possible. The Wizard generated efs is attached.
Thanks
kenac
I have tried to increase the offset to -2 and -3 but to no better results. The plotting of the LinearRegression value seems to be correct. Please advise how to accomplish if possible. The Wizard generated efs is attached.
Thanks
kenac
Comment