Skip to content

Extracted algorithm research record

P4PatternStrategy

Detects P4 patterns and trades based on them with dynamic stop-loss and take-profit.

Record 11860 · Catalog rank 1,170 · Risk, Money Management & Portfolio Overlays · Subtype J4 · Snapshot 2026-10-31 15:46 UTC

Source & extraction context

Open original source ↗

Evidence label: source_code (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

Opacity warnings

Recorded market & execution profile

Recorded markets
XAUUSDm
Recorded timeframes
M30
Recorded sessions
any
Recorded regime
any

Recorded indicators & parameters

Extracted indicator stack
IndicatorParametersApplied to
No indicator stack was recorded. This does not establish a price-action-only strategy.

Extracted strategy rules

Recorded long-entry rules

Recorded short-entry rules

Recorded exit rules

Recorded filters

Stop loss
P0
Take profit
First P5/P6 after entry
Position sizing
InpFixedLots

Questions about this record

What entry rules are recorded for P4PatternStrategy?

Long: b1 / b2 >= InpCondAXMin a >= InpP1P2AValueSpaceMinPriceLimit pointSpans[1] + 2 >= InpP1P2AValueTimeMinKNumberLimit b1 + b2 >= InpBSumValueMinRatioOfAValue * a b1 + b2 <= InpBSumValueMaxRatioOfAValue * a Pre0 -> P0 move > InpPreCondPriorMoveMinRatioOfStructure * (a + b1 + b2) Pre0 and P0 are separated by at least InpPreCondPriorMoveMinBarsBetweenPre0AndP0 bars InpRequiredSwingExtremaSegments_Pre0P0_P0P1_P1P2_P2P3_P3P4 is true for Pre0P0 and P0P1 and P1P2 and P2P3 and false for P3P4 Short: ... These are unverified extracted rules.

Which markets and timeframes are recorded?

Markets: XAUUSDm. Timeframes: M30. These are source-recorded labels, not verified execution behavior.