Skip to content

Extracted algorithm research record

ptr-strategy-ea

Automated Expert Advisor based on Peter Johansson's 4-indicator trading system for MetaTrader 4

Record 11264 · Catalog rank 1,741 · Mean Reversion & Counter-Trend · Subtype B2 · Snapshot 2026-10-31 15:46 UTC

Source & extraction context

Open original source ↗

Evidence label: backtest_shown (source claim, not independent verification). Recorded completeness: 50.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

Build warnings

Recorded market & execution profile

Recorded markets
GBPCHF, EURCHF
Recorded timeframes
H1, H4
Recorded sessions
Not specified
Recorded regime
any

Recorded indicators & parameters

Extracted indicator stack
IndicatorParametersApplied to
Ptr Mega Trend{"applied_to": "close", "mode": "LWMA", "period": 48}close
Yellow Ptr Arslan{"applied_to": "close", "deviation": 1.8, "half_length": 21, "repaint": false, "timeframe": 60}close
Norepaint zone 3 green{"applied_to": "close", "deviation": 1.8, "half_length": 40, "repaint": false, "timeframe": 60}close
White Ptr Arslan{"applied_to": "pr_weighted", "half_length": 32, "multiplier": 2.8, "period": 100}pr_weighted

Extracted strategy rules

Recorded long-entry rules

Recorded short-entry rules

Recorded exit rules

Recorded filters

Stop loss
Fixed Stop Loss in pips (InpStopLossPips = 50)
Take profit
Fixed Take Profit in pips (InpTakeProfitPips = 50)
Position sizing
Not specified

Questions about this record

What entry rules are recorded for ptr-strategy-ea?

Long: MegaTrend fast Hull MA (48) crosses slow Hull MA (78) in Ptr Mega Trend.mq4 (MODE_LWMA, PRICE_CLOSE) Yellow and Green have crossed or aligned past the White Dotted line within a lookback window (InpConfirmLookbackBars, default: 8 bars) Yellow lower band crosses / dips below Lower White band or Yellow TMA crosses up through White TMA Short: Yellow upper band crosses / pushes above Upper White band or Yellow TMA crosses down through White TMA These are unverified extracted rules.

Which markets and timeframes are recorded?

Markets: GBPCHF, EURCHF. Timeframes: H1, H4. These are source-recorded labels, not verified execution behavior.