--- inst/bolling.m.old 2018-11-16 09:59:29.707825000 +0200 +++ inst/bolling.m 2024-03-27 06:00:35.000000000 +0200 @@ -61,7 +61,7 @@ varargout{1} = avg; else x = 1:length (avg); - h = plot (x, asset, x, avg, x, avg .+ [-s, s], "-r"); + h = plot (x, asset, x, avg, x, avg + [-s, s], "-r"); cls = get (gca, "colororder"); set (h(4), "color", cls(3,:)); endif --- inst/candle.m.old 2018-11-16 09:59:29.707825000 +0200 +++ inst/candle.m 2024-03-27 06:04:33.000000000 +0200 @@ -124,8 +124,8 @@ endif # end of nargin >= 5 && ischar (color) && size (color, 1) == 1 if statement x = 1 : num_points; - wicks = HighPrices .- LowPrices; - body = ClosePrices .- OpenPrices; + wicks = HighPrices - LowPrices; + body = ClosePrices - OpenPrices; up_down = sign (body); scaling = 10 / num_points; body_width = max(20 * scaling, 1);