Since some say that the script with the security is repaint and the results too preety i decided to run the same script without it. still the best is when security set to 1 min but without the difference not so much. it just to show the concept of the strategy that based on linear regression cross hull as buy signal and the the take profit target. so maybe now its also repaint?:)