Skip to content

Extracted algorithm research record

Pine Script – Strategy

A basic strategy using MACD, RSI, and Stochastic with breakout conditions for long and short entries.

Record 2328 · Catalog rank 1,029 · Mean Reversion & Counter-Trend · Subtype B8 · Snapshot 2026-10-31 15:46 UTC

Source & extraction context

Open original source ↗

Evidence label: source_code (source claim, not independent verification). Recorded completeness: 80.0/100. Neither is a performance result.

Names identify source records. Inclusion is not an endorsement or a claim of authorship, ownership or reuse permission. Check the source license before reusing any implementation.

Extraction warnings

No automated warnings are recorded in this snapshot. This does not establish that the extraction or system is sound.

Recorded market & execution profile

Recorded markets
XAUUSD
Recorded timeframes
any
Recorded sessions
any
Recorded regime
trending|ranging|volatile

Recorded indicators & parameters

Extracted indicator stack
IndicatorParametersApplied to
EMA{"period": 21}close
Bollinger Bands{"deviations": 2, "period": 20}close
MACD{"fast_period": 12, "signal_period": 9, "slow_period": 26}close
RSI{"period": 14}close
Stochastic{"period": 14}close

Extracted strategy rules

Recorded long-entry rules

Recorded short-entry rules

Recorded exit rules

Recorded filters

Stop loss
500 - deltaTPSL
Take profit
1000 + deltaTPSL
Position sizing
2 contracts per trade

Questions about this record

What entry rules are recorded for Pine Script – Strategy?

Long: mymacdLine > 0 AND rsiValue < 30 AND stochD < 20 Short: mymacdLine < 0 AND rsiValue > 70 AND stochD > 80 These are unverified extracted rules.

Which markets and timeframes are recorded?

Markets: XAUUSD. Timeframes: any. These are source-recorded labels, not verified execution behavior.