Continuing the theme of letting you guys have random stuff I come up with, here's an early draft of a strategy designed for non-trending and trending markets. Yes, both, really. Tested with a bucket of currencies on minute bands since start of this year, and seems to work fairly well, given I wrote it in about an hour.
It was going to be Horace and the Spiders, but I figured the lines are a bit too regular for a spider. And you'd need to count price as a line to make it 8. So it's just two-way bands.
As always, the theory may not match what I've coded, but it's meant to try a trend reversal on the inner Bollinger band. If it hits the outer band, it flips the trade around, and closes on an even further out band. NinjaTrader script attached.
It was going to be Horace and the Spiders, but I figured the lines are a bit too regular for a spider. And you'd need to count price as a line to make it 8. So it's just two-way bands.
As always, the theory may not match what I've coded, but it's meant to try a trend reversal on the inner Bollinger band. If it hits the outer band, it flips the trade around, and closes on an even further out band. NinjaTrader script attached.