Hidden Markov Model

Markov Inbuilt Scalper EA - Product Overview

📊 Core Concept

This Expert Advisor combines Markov Chain probability analysis with ATR-based risk management to identify high-probability trading opportunities. It uses historical price patterns to predict market direction and executes trades with built-in protection mechanisms.

🚀 Key Advantages

1. Intelligent Market Prediction

  • Uses a Markov Transition Matrix to analyze price patterns over a rolling window

  • Calculates the probability of bullish/bearish continuation based on recent market behavior

  • Only executes trades when confidence exceeds your specified threshold (default: 55%)

2. Dual-Strategy Approach

  • Momentum Following: When strong trends are detected, trades in the direction of momentum

  • Mean Reversion (Fade): When probabilities suggest reversal, can trade against the prevailing move

  • Automatically adapts to changing market conditions

3. Dynamic Risk Architecture

  • ATR-based Stop Loss: Uses Average True Range to set stop-loss distances that adapt to market volatility

  • Risk Bracket System: Stop-loss placed as a separate pending order for superior execution control

  • Fixed Risk-to-Reward: Maintains a 1.5:1 reward ratio (adjustable) for consistent expectancy

4. Robust Safety Features

Feature Protection
Spread Gatekeeper Halts trading when spread exceeds threshold
Time Decay Liquidation Automatically closes positions exceeding maximum open time
Position Neutralization Prevents hedging on netting accounts
Single Position Policy Only one position at a time (reduces exposure)

5. Live Performance HUD

Displays real-time information directly on your chart:

  • Current spread status

  • ATR value

  • Markov probability percentages

  • Net profit/loss

  • Win/loss statistics

⚙️ Input Parameters

Gatekeepers (Risk Controls)

Parameter Default Description
maximum spread 35 Maximum allowable spread in points. Trades are blocked when spread exceeds this value to protect against unfavorable conditions.
Probability threshhold  55.0% Minimum confidence level required to execute a trade. Higher values = fewer but higher-quality signals.

Execution Engine

Parameter Default Description
InpLotSize 0.01 Fixed position size per trade (in lots).
InpWindow 200 Number of candles used to build the Markov transition matrix. Larger windows = more stable but slower adaptation.

Risk Architecture

Parameter Default Description
InpATRPeriod 14 Period used for ATR calculation (14 candles).
InpATRMultiplier 1.5 Multiplier applied to ATR to determine stop-loss distance. Higher = wider stops.
InpRewardRatio 1.5 Ratio of take-profit to stop-loss. TP = SL × RewardRatio.
InpMaxBarsOpen 10 Maximum number of 15-minute bars before automatic position closure (time decay).
InpMagicNumber 8803 Unique identifier for this EA's trades. Prevents interference with other EAs.

🧠 How It Works

  1. Every 5-minute candle close, the EA analyzes the last 200 candles

  2. Builds a Markov matrix tracking transitions between bullish and bearish states

  3. Calculates probabilities for the next candle direction based on current state

  4. Checks gatekeepers: spread, existing positions, confidence threshold

  5. Executes trade with market entry and separate stop-loss pending order

  6. Monitors position: time decay, take-profit hits, pending order management

  7. Displays live statistics in the chart's upper-left corner

💡 Best Use Cases

  • Timeframes: Optimized for 5-minute chart analysis (M5)

  • Instruments: Works best on major forex pairs with good liquidity

  • Conditions: Performs well in trending and ranging markets due to dual-strategy approach

  • Risk Preference: Suitable for traders who prefer fixed-ratio risk management

⚠️ Important Notes

  • Netting Accounts: Position management automatically closes opposite positions to maintain net-zero exposure

  • Pending Orders: Stop-loss is placed as a separate pending order for execution reliability

  • History Tracking: Performance statistics only track trades with the EA's Magic Number

  • No Martingale/Grid: Each trade is independent with fixed risk


Altri dall’autore
Quant MAR
Robert Davis Waweru Mugure
I have been using this product for a while and although martingale strategies pose great risk this product shows great results with proper discipline and strict rules. 1. use sent account min deposit 1000 usd which translates to 100000 cents.  2. if you dont have a cent account recommeded broker link.   https://one.justmarkets.link/a/ljruy08oml&nbsp ; 3. use 1:3000 leverage. 4. be free to share results and comments 
Prop firms Destroyer
Robert Davis Waweru Mugure
PROP FIRM DESTROYER    EA – Built for Prop Firm Challenges & Consistent Profits A simple, rule-based scalping robot that trades any Forex pair or Gold (XAUUSD) with zero guesswork. It uses a proven 5-indicator filter system and never uses dangerous methods like martingale, grid, or trailing stops. Why Traders Love It 100% Mechanical – No emotions, no manual decisions. Every trade follows exact rules. Ultra-Strict Filters – Only trades during good market hours, low spread, and when you actually h
Gold sculper
Robert Davis Waweru Mugure
GoldScalper is a simple, reliable Expert Advisor (EA) for MetaTrader. It is a Pure Price Action Mean-Reversion Scalper made especially for XAUUSD on the M1 timeframe , but it works safely on any symbol. Advantages (Why traders love it) Pure price action only – no lagging indicators, no complicated settings. It reads the previous candle and waits for a clean pullback. Exact $2 risk & $2 profit every trade – fixed dollar risk/reward (1:1). You always know exactly how much you can lose or win. Supe
Kalman Filter EA
Robert Davis Waweru Mugure
Kalman Filter EA  Core Concept This EA is a   strict  combining   Kalman filtering ,   Rate of Change (ROC) ,   Stochastic oscillator , and   Triple Exponential Moving Average (TEMA)   to generate high‑confidence entry signals. It works exclusively on   closed candles   and manages each trade independently with fixed Stop Loss and Take Profit. How It Works (Step‑by‑Step) Kalman Filter   – Smooths price data to reduce market noise, producing a filtered series ( kfilt ) and its velocity. Rat
RSI Trendline Breakouts EA
Robert Davis Waweru Mugure
RSI Trendline Breakout EA  This EA is a   highly specialized breakout strategy   that ignores price levels entirely—it draws and trades   trendlines directly on the RSI oscillator , detecting breakouts before they happen on the price chart. Core Concept Instead of standard support/resistance on price, this EA: Identifies   pivot highs   and   pivot lows   on the RSI line. Connects   consecutive lower highs   to form a   descending resistance   line. Connects   consecutive higher lows   to for
Filtro:
Nessuna recensione
Rispondi alla recensione