This MATLAB function implements a simple band trading strategy. A band consists of two lines that form the upper and lower boundaries of the band. The upper and lower boundaries are used to to enter and exit trades. For example, if prices fall below the lower boundary a buy signal is generated.
Please refer to http://www.tadeveloper.com/docs/80-matlab-algo-trading
for a full description of the strategy.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.