Sorry, I meant to include the Parabolic Stop code that I use. It is Tradestation's "EasyLanguage" code which is not easy.
inputs: AccFactorStep( .02 ), AccFactorLimit( 0.2 ), ATRLength( 21 ), NumATRs(6.0) ;
variables: ATR(0),MP(0), LX(0), SX(0), AF(0), TradeHH(0), TradeLL(0) ...