I checked and compiled in v4. Redraw is not noticed. The strategy is excellent. You need to test in real time, on the daily chart. The author of a huge request to enter the scaling function in the script of the trading system. What could be put in the strategy timeframe: day! and look at the hourly chart . Example: timeframe = input (title="Timeframe", type=resolution, defval='1D' )... by the fact that it is almost impossible to catch a signal on the daily chart. Thanks CredibleHulk.