Stocks & Commodities Traders' Tips · October 2026
A Low-Risk ETF Trading Strategy.
Markos Katsanos's October 2026 strategy buys ETFs that have pulled back, then keeps only the ones already outperforming the S&P 500 again. Here it is coded for TradingExpert Pro's Expert Design Studio, ready to download and run. Applied to a diversified ETF universe and rebalanced every 30 business days (6 weeks), the strategy generated long-term annualized returns approaching 15% while maintaining substantially lower drawdowns than a passive buy-and-hold approach.
EDS summary report · 4/22/2026
9 of 9 conditions
- Liquidity con1 ✓
- Relative strength vs SPY con2–5 ✓
- Correlation regime con6 ✓
- RSI oversold, turning up con7–8 ✓
- Price turning up con9 ✓
Entered 4/23/2026 at the open · Exited 6/05/2026
XLK signaled the same day
The idea
Buy the Pullback. Keep Only the Leaders.
The strategy combines two complementary concepts. One finds ETFs that have recently declined. The other makes sure they are worth buying.
Wilder's RSI finds the pullback
A 10-bar relative strength index identifies ETFs that have recently declined and may be emerging from a short-term oversold condition. RSI has to have dipped below 35 within the last 20 bars and then turned back up.
lowresult(RSI,20) < 35 and RSI > highresult(RSI,2,1)
RSMK narrows it to the strong ones
A custom relative strength indicator measures each ETF against SPY over 35 bars. Only ETFs whose relative strength is positive, rising, and above its own 50-bar average stay on the list.
RSMK = expavg( ln(C/SPY) − ln(C/SPY 35 bars ago), 4 ) × 100
Running it: run the EDS file against a list that contains only ETFs. Richard Denning tested the list supplied by the author as well as a longer list, and both performed about the same.
The rules
Nine Conditions In. Three Ways Out.
A buy needs all nine entry conditions on the same bar. Any one of the three exits closes the trade. The labels match the condition names in the EDS file.
Entry: all nine must be true
- con1The ETF is liquid
5-bar average volume > 100,000 - con2Relative strength is above its average
RSMK > 50-bar simple average of RSMK - con3It is outperforming SPY
RSMK > 3 - con4Relative strength is at a new 3-bar high
RSMK > highest RSMK of the prior 3 bars - con5But it is not overextended
RSMK < 25 - con6Its correlation fits the market regime
SPY 6-bar ROC > −6 and 100-bar correlation to SPY > 0.6, or SPY ROC < −6 and correlation < −0.6 - con7RSI was recently oversold
lowest RSI(10) of the last 20 bars < 35 - con8RSI has turned up
RSI > highest RSI of the prior 2 bars - con9Price has turned up
5-bar EMA of close > 15-bar SMA of close from 5 bars ago
Exit: any one closes the trade
- ex1Relative strength fails
RSMK < −3 and correlation to SPY > 0.8 - ex2Time is up
position days ≥ 30 - ex3Profit target is hit
gain from entry price ≥ 25%
Inputs you can change
| timeExit | 30 | Time exit, days |
| RSBARS | 35 | RSMK lookback |
| RSCRIT | 3 | RSMK threshold |
| MAR | 50 | RSMK average |
| RSIBARS | 10 | RSI length |
| MABARS | 15 | Price average |
| RSIOS | 35 | RSI oversold level |
| CORMIN | 0.6 | Minimum correlation |
| PRFTGT | 25 | Profit target, % |
| MinVol | 100000 | Minimum volume |
The code
The Complete EDS File.
Download it and open it in Expert Design Studio, or copy it from below. It is also available on request from rdencpa@gmail.com.
katsanosetf.EDS · AIQ Expert Design Studio
! A low-Risk ETF Trading Strategy, TASC Oct 2026
! Author: Markos Katsanos
! Coded by: Richard Denning, 08/11/2026
!ABBREVIATIONS:
C is [close].
V is [volume].
!INPUTS:
timeExit is 30.
RSBARS is 35.
RSCRIT is 3.
MAR is 50.
RSIBARS is 10.
MABARS is 15.
RSIOS is 35.
CORMIN is 0.6.
PRFTGT is 25.
MinVol is 100000.
!INDICATORS:
!RSMK:
IND is tickerUDF("SPY",C).
RS is ln(C/IND) - ln(valresult(C/IND,RSBARS)).
RSMK is expavg(RS,4)*100.
!RSI:
U is C-valresult(C,1).
D is valresult(C,1)-C.
L1 is 2 * RSIBARS - 1.
AvgU is ExpAvg(iff(U>0,U,0),L1).
AvgD is ExpAvg(iff(D>=0,D,0),L1).
RSI is 100-(100/(1+(AvgU/AvgD))).
!ROC:
ROC is (C / valresult(C,6) - 1).
RSMKavg is simpleavg(RSMK,MAR).
hiRSMK is highresult(RSMK,3,1).
SPYroc is tickerUDF("SPY",ROC).
!PEARSON CORRELATION:
N is 100.
! 1 BAR RETURNS
rC is (C / val([close],1) - 1).
SPYc is TickerUDF("SPY",C).
SPYrc is (SPYc / valresult(SPYc,1) - 1).
! MEANS
meanX is simpleavg(rC,N).
meanY is simpleavg(SPYrc,N).
! STANDARD DEVIATIONS
stdDx is sqrt(variance(rC,N)).
stdDy is sqrt(variance(SPYrc,N)).
! COVARIANCE
covXY is simpleavg((rC - meanX) * (SPYrc - meanY),N).
! PEARSON CORRELATION
r is covXY / (stdDx * stdDy).
!ENTRY CONDITIONS:
con1 if simpleavg(V,5) > MinVol.
con2 if RSMK > RSMKavg.
con3 if RSMK > RSCRIT.
con4 if RSMK > highresult(RSMK,3,1).
con5 if RSMK < 25.
con6 if (tickerUDF("SPY",ROC) > -6 and r > CORMIN)
or (tickerUDF("SPY",ROC) < -6 and r < -CORMIN).
LLVrsi is lowresult(RSI,20) .
con7 if lowresult(RSI,20) < RSIOS.
HHVrsi_1 is highresult(RSI,2,1).
con8 if RSI > highresult(RSI,2,1).
esa5 is expavg(C,5).
sma15_5 is valresult(simpleavg(C,MABARS),5).
con9 if expavg(C,5) > valresult(simpleavg(C,MABARS),5).
!EXIT CONDITIONS:
ex1 if RSMK < -RSCRIT and r > 0.8.
ex2 if {Position days} >= timeExit.
ex3 if (C / {Position Entry Price} -1) >= 0.25.
!ENTRY RULE:
Buy if con1 and con2 and con3 and con4 and con5
and con6 and con7 and con8 and con9.
!EXIT RULE:
Sell if ex1 or ex2 or ex3.
In TradingExpert Pro
The Signal, Then the Trade.
Build your own
If You Can Write the Rule, You Can Test It.
This strategy runs on a custom relative strength indicator and a correlation measure that you won't find on a standard indicator menu. Both were written in a few lines of Expert Design Studio code, combined with RSI into one system, and run across a list of ETFs.
That is the point of TradingExpert Pro. Build your own indicators, turn them into a trading system, and backtest it against decades of market data before a real dollar is on the line.
$1 / 30 days
- The full TradingExpert Pro platform, with end-of-day data
- Expert Design Studio, to run this file and write your own
- A free 30-minute Kickstart call with AIQ's CEO
- Cancel anytime
$1 for 30 days · Cancel anytime · Windows 10 or higher
This page is for educational purposes only and is not investment advice. Trading involves risk of loss. Past performance, whether actual or shown by backtests, is not a guarantee of future results.