HighRR
- Uzmanlar
-
Sandip R Pawar
Professional software developer since 2007 turned full-time algorithmic trader. Specializing in custom automated infrastructure, data-driven market strategies, and precision execution across derivatives, XAUUSD, and crypto. - Sürüm: 1.0
- Etkinleştirmeler: 5
OVERVIEW
========
HighRR EA is an institutional-grade quantitative Expert Advisor built on Combinatorial Price Action (Pingala Binary Encoding) and Matrameru (Fibonacci) State Alignment. Instead of relying on lagging traditional oscillators, HiFy classifies every candle into binary volatility states—Laghu (normal contraction) and Guru (ATR-validated expansion)—to measure true market momentum, directional pressure, and pattern rarity in real time.
Trades are managed through a dedicated Virtual PnL ($) Exit Engine that calculates net profit/loss (including broker swap and commission) and can execute exits strictly on Candle Close to protect your account from intrabar stop-hunting spikes and temporary spread widening.
KEY HIGHLIGHTS
==============
* Pure Quantitative Logic: Powered by a 5-factor composite Pingala Score (Directional Strength, Fibonacci State Alignment, Pattern Strength, Meru Binomial Concentration, and Higher-Timeframe Confirmation).
* Stealth Virtual PnL ($) SL/TP: Manage exits in exact US Dollar ($ amount) targets hidden from the broker server.
* Candle-Close Exit Protection: Option to evaluate Virtual SL/TP strictly on completed bars, avoiding premature exits caused by intrabar wicks.
* True Net PnL Accounting: Automatically factors in Broker Swap and Round-Turn Commissions when calculating virtual dollar targets.
* Dynamic Pressure-Flip Exit: Optional smart early exit if market directional pressure flips against the open position for consecutive closed bars.
* Prop-Firm Ready Risk Guardrails: Built-in Daily Loss Limit (%), Maximum Consecutive Losses blocker, Spread Filter, ATR Volatility Filter, and Broker Server Session Filter.
* 100% Safe Execution: Strictly ONE strategy logic — No Martingale, No Grid, No Averaging, and No Arbitrage.
HOW THE CORE ALGORITHM WORKS
============================
1. Pingala Binary Classification: Evaluates a rolling window of N candles. Candles with a body movement greater than or equal to the ATR threshold are weighted as "Guru" (Expansion), while smaller candles are weighted as "Laghu" (Contraction).
2. Meru Concentration Score: Uses binomial combinatorics C(N, k) to detect high-probability momentum clustering and filter out random choppy market noise.
3. Matrameru (Fibonacci) Alignment: Computes the cumulative pattern weight and checks alignment or active progression toward Fibonacci equilibrium levels (1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144).
4. Multi-Timeframe Confirmation: Confirms that the higher timeframe (e.g., M15) directional pressure aligns with the primary signal timeframe (e.g., M5) before authorizing trade execution.
5. Risk-Normalized Lot Sizing: Calculates position size dynamically based on Account Balance Risk % and structural Stop Loss distance (ATR + Protective Swing High/Low), or uses a user-defined Fixed Lot.
RECOMMENDED SETUP
=================
* Recommended Symbols: XAUUSD (Gold), BTC, EURUSD, GBPUSD, USDJPY, US30.. work on any symbol just backtest first
* Signal Timeframe: M5 or any (Configurable in inputs)
* Confirmation Timeframe: M5 or any
* Account Type: ECN, Raw Spread, or Standard / Cent Accounts
* Minimum Deposit: $100 (or $10 on Cent accounts with 0.01 lot)
* Leverage: 1:100 or higher recommended
INPUT PARAMETERS GUIDE
======================
[Virtual PnL ($) & Exit Settings]
* InpVirtualProfitUSD: Virtual Take Profit target in USD (0 = Disabled).
* InpVirtualLossUSD: Virtual Stop Loss limit in USD (0 = Disabled).
* InpVirtualExitCandleClose: If true, Virtual USD SL/TP triggers only on candle close; if false, triggers on every tick.
* InpIncludeSwapCommission: Includes broker swap and commission in net Virtual PnL calculation.
* ExitOnPressureFlip: Closes the position early if Pingala directional pressure flips against the trade.
* PressureFlipBars: Number of consecutive closed bars required to confirm a pressure flip.
[1. General / Timeframes]
* MagicNumber: Unique identifier for EA orders.
* SignalTF: Primary timeframe for pattern and entry calculation (Default: M5).
* ConfirmTF: Higher timeframe for trend pressure confirmation (Default: M15).
* OnlyClosedBars: Evaluates entry signals strictly on completed bars.
* PatternLengthN: Number of candles in the Pingala rolling window (Default: 8).
* GuruThresholdATR: Minimum candle move as a fraction of ATR to qualify as an expansion (Guru) bar.
[2. Entry Filters / Signal Quality]
* MinDirectionalPressure: Minimum bull/bear pressure imbalance required for entry.
* MinMeruConcentration: Minimum binomial concentration score (0 to 100).
* MinPingalaScore: Minimum composite quality score (0 to 100) required to trigger a trade.
* RequireGuruExpansion: Requires recent volatility expansion in the trade direction.
* ExpansionLookback: Number of recent bars checked for expansion.
* RequireMatrameruAlign: Requires Fibonacci state alignment.
* RequireHigherTFConfirm: Requires higher timeframe pressure confirmation.
[3. ATR / Volatility / Spread]
* ATRPeriod: Period used for ATR volatility measurement (Default: 14).
* MinATR / MaxATR: Minimum and maximum ATR filter in price units (0 = Disabled).
* MaxSpreadPoints: Maximum allowed broker spread in points (0 = Disabled).
[4. Stop Loss / Targets]
* StopATRMultiplier: ATR multiplier used for internal risk sizing calculation.
* SwingLookback: Number of bars used to identify recent protective swing high/low.
* UseMinimumSL: Enforces a minimum stop distance for risk calculation.
[5. Money / Risk Management]
* UseRiskPercent: Enables dynamic lot sizing based onRiskPerTradePercent.
* RiskPerTradePercent: Percentage of account balance risked per trade.
* FixedLot: Fixed lot size used when UseRiskPercent is set to false.
* MaxDailyLossPercent: Halts new trades for the day if realized daily loss reaches this percentage (0 = Off).
* MaxConsecutiveLosses: Halts new trades for the day after reaching this number of consecutive losing trades (0 = Off).
* MaxOpenPositions: Maximum simultaneous open positions allowed.
[6. Trading Session (Broker Server Time)]
* UseSessionFilter: Restricts trading to active market hours.
* SessionStartHour / SessionEndHour: Start and end hours in broker server time (0-23).

