Bollinger Bands


System Description:

This system enters long/short when the close has been below/above and then crosses above/below the lower/upper Bollinger band. Long/short positions are closed when the close crosses above/below the opposite band.
Long Entry Code(copy and paste into the Enhanced System Tester):
Cross(CLOSE, BBandBot(CLOSE, 20, SIMPLE, 2))
Long Exit Code(copy and paste into the Enhanced System Tester):
Cross(CLOSE, BBandTop(CLOSE, 20, SIMPLE, 1))
Short Entry Code(copy and paste into the Enhanced System Tester):
Cross( BBandTop(CLOSE, 20, SIMPLE, 2), CLOSE)
Short Exit Code(copy and paste into the Enhanced System Tester):
Cross( BBandBot(CLOSE, 20, SIMPLE, 1), CLOSE)