v0.01 CURSOR

Simpleton v0.01 CURSOR

Multi-Strategy Backtesting Engine for Crypto

Overview

Simpleton v0.01 CURSOR is a TradingView strategy() script with 12 strategies (11 individual + 1 consensus mode). It generates Buy/Sell signals with strength levels 1–5, has toggleable TP/SL, and is non-repainting by default.

Files Included

FileTypePurpose
Simpletonv0.01_CURSOR.pinePine Script v6 StrategyMain TradingView tool — add to chart to backtest
backtest_cursor.pyPython ScriptBatch backtesting across symbols + timeframes
simpleton-cursor-quickstart.htmlHTML DocumentationThis guide

Quick Start (5 Steps)

  1. Open TradingView — go to any crypto chart (BTCUSDT recommended)
  2. Open Pine Editor — click the Pine Editor tab at the bottom
  3. Paste the script — copy entire contents of Simpletonv0.01_CURSOR.pine into the editor
  4. Click "Add to Chart" — the strategy loads with default settings (Connors RSI-2)
  5. Open Strategy Tester — click the "Strategy Tester" tab to see backtest results immediately
To test different strategies, open Settings → Inputs → change "Active Strategy" dropdown. Each strategy runs independently so you can compare win rates directly.

Signal Strength Guide (1–5)

LevelNameConditionsPosition Sizing
L1WeakStrategy fires alone — no confirmationsPaper trade only
L2Moderate+ HTF 4H alignment OR volume > 1.5x avgSmall position (25%)
L3Strong+ HTF aligned AND volume confirmedStandard position (50%)
L4Very Strong+ 2 or more consensus votesIncreased position (75%)
L5Maximum+ 4 consensus + volume surge + regime fitFull conviction (100%)
L1–L2 signals have lower reliability. Use the "Min Signal Strength" setting to filter them out (set to 3 for production trading).

Strategy Reference

#StrategyTypeBest ForWR%Status
1Connors RSI-2Mean RevSPY, BTC75.7%PROVEN
2Z-Score MRMean RevBTC, ETH62–77%Research
3EMA + RSITrendETH, BNB~60%Research
4MACD + RSITrend4H Crypto73%Research
5Bollinger SqueezeVolatilitySOL, Ranging55–60%Research
6VWAP ReversionMean RevIntraday62–68%Research
7SupertrendTrendLINK, Trending55–60%Research
8Ichimoku CloudTrendForex, 4H+~62%Research
9HMA TrendTrendSPY, QQQ59.1%Research
10Swing Failure (SFP)Reversal1H-4H Crypto58–65%Research
11Liquidity SweepReversal1H-4H Crypto73%Research
12ConsensusMultiAll pairsVariesComposite

Crypto Pair Recommendations

PairBest TFStrategyWR%RiskCap Tier
BTCUSD4H / 1DRSI-2 / Z-MR62.5%MedLarge
ETHUSD4H / 1HEMA+RSI / MACD64.2%MedLarge
SOLUSD1H / 4HBB Squeeze58.3%HighMid
BNBUSD4HEMA+RSI65.5%MedLarge
XRPUSD4H / 1DRSI-2 / Trend60.1%MedLarge
AVAXUSD1HMACD+RSI55.8%HighMid
DOGEUSD15m / 1HConsensus52.8%V.HighMeme
ADAUSD4H / 1DZ-MR / VWAP59.4%MedLarge
LINKUSD4HSupertrend57.2%HighMid
MATICUSD1H / 4HIchimoku56.5%HighMid

Risk Management by Cap Tier

Meme coins and low-cap tokens have extreme volatility. Use the Consensus mode (3+ strategies agreeing) and strict stop losses. Check market cap and token legitimacy before trading.

Risk Management Settings

TP/SL Modes

Non-Repainting

When Non-Repainting Mode = ON (default), signals only appear after the bar closes. This means:

Keep non-repainting ON for honest backtesting. You can turn it OFF for live scalping, but be aware signals may flip intra-bar.

Python Backtesting Tool

Use backtest_cursor.py to test all strategies against crypto pairs programmatically:

# Test all strategies on all pairs
python backtest_cursor.py

# Single pair
python backtest_cursor.py --symbol BTCUSDT

# Single strategy
python backtest_cursor.py --strategy rsi2

# Single timeframe
python backtest_cursor.py --timeframe 4h

# Save best strategy per symbol
python backtest_cursor.py --save-best

# Download data if not cached
python backtest_cursor.py --fetch

Results are saved to backtest_results/cursor_results.json and cursor_best.json.

FAQ

Which strategy should I start with?

Connors RSI-2 — it's the only strategy with statistically significant backtest proof (75.7% WR on SPY, p=6e-06, 992 trades). Auto-Detect defaults to this.

Is this tool profitable?

Past backtest results do not guarantee future performance. Market conditions change. Paper trade for 3–6 months before risking real capital.

Can I use this for stocks/forex?

Yes, but the crypto pair recommendations table is crypto-focused. Strategies like Connors RSI-2, EMA+RSI, and MACD work across asset classes.

What does non-repainting mean?

Signals only appear after the bar closes (barstate.isconfirmed). They will never disappear or change retroactively. This gives honest backtest results.

How do I mix strategies (consensus mode)?

Select "Multi-Strategy Consensus" from the dropdown. Set "Min Strategies Agreeing" (default 3). The engine counts how many of the 11 strategies agree on direction, with correlation caps to prevent redundant signals.

Understanding Strong Consensus Across Timeframes

Based on the Pine Script code for Kimi Claw Pro v6.5, the phrase "strong bullish consensus across timeframes" (or "strong bearish") is a specific tooltip message that appears on the chart when certain conditions are met. It's not a standalone strategy but a summary insight from the Multi-Timeframe (MTF) Consensus Engine. Here's exactly what it means, how it's calculated, and what drives it:

What It Means

Which Timeframes?

Which Statistical/Strategy Models Are Used?

This system is inspired by ensemble methods (combining multiple models for better accuracy) and statistical agreement (like in machine learning voting classifiers).

Simple Explanations of the Current Strategy (Kimi Claw Pro v6.5)

The overall strategy is a "multi-tool" trading indicator that combines many ideas to spot buy/sell opportunities. It looks at trends, momentum, volume, risk, and more to give scores and signals. I'll explain each major part like I'm talking to a high-school student—think of it as tools in a toolbox, each doing one job, and the indicator uses them together to decide "buy now" or "sell now."

1. Adaptive Moving Averages (KAMA and HMA)

What it does: These are like "smart lines" on the chart that follow price but smooth out noise. KAMA adjusts based on how wild the market is (fast in trends, slow in choppy times). HMA is quick to spot turns.

How it works in the strategy: If price is above these lines, it's bullish (buy signal boost). Below = bearish. It's like checking if a river is flowing uphill or downhill.

Why simple? Imagine averaging your test scores but weighting recent ones more—helps see if you're improving.

2. Regime Detection (Hurst, Volatility, ADX)

What it does: Figures out if the market is "trending" (steady up/down), "ranging" (bouncing around), or "normal" (mixed).

How it works in the strategy: Uses math like Hurst (checks if prices are random or patterned) and ADX (measures trend strength). Adjusts other tools—e.g., in trends, it favors following the flow; in ranges, it looks for bounces.

Why simple? Like weather: Sunny (trending) = go outside and run with it; rainy (ranging) = stay inside and wait for breaks.

3. Quantitative Enhancements (RSI-2, RVOL-T, Choppiness, SFP)

RSI-2: Measures if something is "overbought" (too expensive, sell) or "oversold" (cheap, buy) over just 2 periods. Quick for short-term flips.

RVOL-T: Checks if trading volume is unusually high for the time of day (like a sudden crowd at school—something's happening).

Choppiness: Scores how "jumpy" prices are (high = messy, low = smooth trend).

SFP (Swing Failure Pattern): Spots when price pokes beyond a recent high/low but snaps back (like a fake-out in sports).

How they work in the strategy: Add points to buy/sell scores. E.g., extreme RSI-2 + low choppiness = strong mean-reversion buy.

Why simple? RSI-2 is like checking if a toy is too popular (sell) or ignored (buy). SFP is spotting a trick play that fails.

4. Elton's Strategies (Ichimoku, Supertrend, Liquidation Cascade, etc.)

Ichimoku Cloud: A "cloud" on the chart—price above = buy, below = sell. Like a weather cloud forecasting rain or sun.

Supertrend: A line that flips colors for buy/sell. Combines trends with volatility.

Liquidation/Flash Crash/Sweep: Detects big price drops with volume spikes (buy the dip) or fake-outs.

How they work in the strategy: Each "votes" on buy/sell. Combined into "Elton Net" score (e.g., +20 = bullish bias).

Why simple? Think of a team vote: If most players say "pass the ball," you do it. Each strategy is one player.

5. Scalping Module (Z-Score MR, Absorption, CVD, TTM Squeeze, Cointegration, Kyle's Lambda)

Z-Score MR: Checks if price is too far from average (buy low, sell high).

Absorption/Climax: Spots when big trades are "absorbed" without moving price much (hidden buying/selling).

CVD (Volume Delta): Estimates if buyers or sellers are stronger by looking at candle shapes.

TTM Squeeze: Detects "squeezed" low volatility before big moves (like a spring uncoiling).

Cointegration: For BTC/ETH, checks if their prices are out of sync (buy the cheap one).

Kyle's Lambda: Measures how easily price moves (high = low liquidity, risky).

How they work in the strategy: Short-term signals for quick trades. Combined into "Scalp Net" score.

Why simple? Z-Score is like grading on a curve—if your score is way below average, it's a comeback opportunity. Squeeze is like pressure building in a balloon before it pops.

6. MTF Consensus Engine (The "Consensus" Part)

What it does: Checks trend agreement across 3 timeframes (short, medium, long).

How it works in the strategy: Averages EMA, MACD, and price signals per timeframe, then weights them (longer TFs count more). Score >80% bullish = "strong consensus" message.

Why simple? Like asking friends in different grades if a movie is good—if most say yes, it's probably worth watching.

7. Volume Analysis

What it does: Scores volume strength (spikes, trends) to confirm signals.

How it works in the strategy: High volume boosts buy/sell scores. Required for signals if enabled.

Why simple? Volume is like crowd noise at a game—loud means excitement, quiet means boring.

8. Momentum & Statistical Indicators (RSI, MACD, Z-Score, Bollinger %B)

What it does: Measures speed and extremes (e.g., RSI >70 = overbought).

How it works in the strategy: Adds to confluence scores. E.g., bullish MACD = +10 points.

Why simple? Momentum is like a ball's speed—if rolling fast uphill, it might keep going.

9. Fear & Greed Proxy

What it does: Combines RSI, volatility, momentum, and volume into a "mood" score (0=extreme fear, 100=greed).

How it works in the strategy: Extreme fear boosts buy scores (contrarian).

Why simple? Like gauging if people are panicking (buy cheap) or too excited (sell high).

10. Doomsday Factor (Risk Score)

What it does: Calculates overall danger (0-100) from volatility, liquidity, size, etc.

How it works in the strategy: High score tightens TP/SL to reduce risk.

Why simple? Like a "danger meter" in a video game—high danger means play safer.

11. Signal Generation & Risk Management

What it does: Combines all above into buy/sell signals if scores > threshold (e.g., 75).

How it works in the strategy: Checks trend/momentum/volume/MTF, adds bonuses (e.g., from Elton/Scalp). Uses Kelly for sizing, ATR for stops.

Why simple? Like a recipe: Mix ingredients (scores), bake if hot enough (threshold), serve with safety (stops).

12. Double Ignite & ALT-ELT

What it does: Spots when multiple groups "ignite" (agree) for high-confidence alerts. ALT-ELT gives a final "buy/sell/wait" recommendation.

How it works in the strategy: Counts agreeing groups (e.g., trend + momentum = ignite). Boosts scores.

Why simple? Ignite is like multiple friends shouting "go!" at once. ALT-ELT is the final vote.

Overall How the Strategy Works

It's like a voting committee of 9+ tools. Each tool votes buy/sell based on its specialty (trends, bounces, volume). In "Dynamic" mode (recommended), votes are weighted by market type (trend vs range). If enough agree (e.g., 4+ votes) and filters pass (volume, trend bias), it signals. Risk tools (stops, sizing) keep you safe.

For High-School Analogy: Imagine planning a party. Tools check weather (regime), crowd excitement (volume/momentum), budget (risk), and friend opinions (votes). If most say "yes" and it's sunny, party on—but with a backup plan (stops) if it rains.