# MACrossRiskEA

Bot trading otomatis menggunakan crossover dua MA dengan SL/TP otomatis dan ukuran lot berdasarkan risiko.

Canonical: https://prismaticalgos.com/compendium/algo/11601-macrossriskea
Record ID: 11601
Catalog rank: 381 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://github.com/alexistdev/auto-trader-bot
Evidence label (unverified): backtest_shown

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

Claim warnings: THIN SAMPLE: 97 trades - below the ~100 needed before a win rate or profit factor carries much information.

## Recorded profile

- symbols: XAUUSD
- timeframes: H1
- sessions: any
- market_regime: trending|ranging|volatile

## Indicators

- MA: {"period": 20}; applied to: close
- MA: {"period": 50}; applied to: close
- RSI: {"period": 14}; applied to: close

## Recorded long-entry rules

- MA fast crosses above MA slow
- RSI > 50

## Recorded short-entry rules

- MA fast crosses below MA slow
- RSI < 50

## Recorded exit rules

- Take Profit hit
- Stop Loss hit
- Signal reverses

## Recorded filters

- Filter spread: reject entry if spread > 0.30 pips
- Batas rugi harian: stop entry if equity drops 5% in a day
- Batas rugi total: stop permanently if cumulative loss reaches a certain value
- Magic number: bot does not interfere with manual positions or other EA
- Batas posisi: maximum 1 position open
- Skip lot terlalu kecil: do not trade if calculated lot is below broker's minimum

## Risk controls

- Stop loss: 1400 pips = $14.00
- Take profit: 2 * Stop Loss = $28.00
- Position sizing: lot = (modal × risiko%) ÷ (jarak SL × nilai kerugian per lot)
