I need these two indicators to be modified so that they do not modify past bars balues i.e. become "non-repainting". I interested in having each bars final value and have it stay as it for backtesting purposes. Only bar(0) is allowed to be "changing".
I want a highly skilled math-oriented develop that will not mess up the calculations and has a good grasp on what these regression indicators aim at doing.
I will need the modified indicators to have an extra "NumberOfBarsToShow" parameter that will define how many bars back it will be plotting its values.
Should be easy if you have the skills and experience.
Very urgent (max 1 or 2 days).
EDIT: I actually only need ONE of them (CHT_Regression_COG). The other indicator I already have found it online.