In this set of files, I propose a simple CPPI (Constant Proportion Portfolio insurance) implementation. One can run the backtesting of such a strategy, playing with the parameters of the strategy such as Multiplier (Risk Exposure), or Smoothing factor.
A set of slides brifly reminf the basics of a CPPI strategy.
This package offer 2 versions (with of course the same underlying strategy) : A script M-file, intended to be published (CPPI.m) and a version with a user interface, but less visualization. This UI version could typically be compiled using MathWorks deployment tools.