Sitemap

ALL-Elder-RSI Mean Reversion Strategy

Beat Buy and Hold with 2 Simple Indicators

6 min read10 hours ago
Press enter or click to view image in full size

Disclaimer: The backtest results in this article are based solely on historical data and do not guarantee future performance. Anyone wishing to use this trading system should conduct their own research and testing before applying it.

Strategy Overview

The BICORE strategy is a systematic mean-reversion approach applied to the daily chart of Allstate Corporation (ALL). It combines the Elder Impulse System — a dual-condition momentum filter based on EMA slope and MACD Histogram slope — with a classic RSI oversold reclaim exit.

The strategy enters a long position the moment momentum transitions from neutral or bullish into a fully bearish state (the Elder “red bar” cross), then exits once the market demonstrates recovery from oversold conditions as measured by RSI crossing back above 30 with a 5-day lag confirmation window.

import pandas as pd
import numpy as np
import yfinance as yf
import vectorbt as vbt

# -------------------------
# Download Data
# -------------------------

symbol = "ALL"
start_date = "2000-01-01"
end_date = "2026-01-01"
interval = "1d"

df = yf.download(symbol, start=start_date, end=end_date, interval=interval, multi_level_index=False)
df.to_csv("ALL_clean.csv", index=False)
df

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web
Already have an account? Sign in
Kryptera
Kryptera

No responses yet

Write a response

Recommended from Medium

See more recommendations