INVITE-ONLY SCRIPT
Updated

Crazy IBS

856
This is a mean reversion strategy using the IBS indicator, which calculates ratios of h/l/c/o. It does well particularly on NQ and VXX, but try it on other things! It tends to outperform other R2M strategies like RSI and BB mean reversion, at least in early 2022.
Release Notes
Added support for trading session limitations (i.e. time/day)
Release Notes
Added a kind of longitudinal stop, or a "trade better work within the next hour, or I'm cutting bait" option. You need to leave a lot of rope for r2m algorithms like this, but it can help to hit a stop, or at least call out to the operator that there's trouble happening.
Release Notes
Added take-profit support. It isn't as effective as with trend followers, but it can still make a 10% difference to returns and avoid turning wins to losses.
Release Notes
Added support for ADX-based filter and separate ADX-based early exit.
Release Notes
Switched ADX filter from "inverse" back to regular ... sorry about that, that was silly.
Also added a SECOND ADX filter! This one is for longer time periods, ie longer DI length, to skip bad trades if a trend reversal is happening and it's going to go bad.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.