1 Installation and Usage
Chiki Bum edited this page 2026-09-17 09:07:10 +07:00

Installation and Usage

Installation

  1. Copy the indicator files into the MetaTrader 5 MQL5 directory:
    • Indicators\MarketStateBoard_MTF_PATCH19_NEWS_DYNAMIC_9TF_FINAL_v1.190.mq5 into MQL5\Indicators\ (the published .ex5 can be used without compiling);
    • MarketStateBoard_Fuzzy.mqh, MarketStateBoard_MDM_PATCH19.mqh and MarketStateBoard_Weights.mqh into MQL5\Include\.
  2. If you use the source, open it in MetaEditor and compile. Frozen compile gate: 0 errors, 0 warnings.
  3. Attach the compiled indicator to a chart. The board is rendered in a separate window as chart objects with the MSB_ prefix.

Inputs (as declared in the frozen source)

Input Default Meaning
InpCandleSource CLOSED CURRENT = current bar; CLOSED = last completed bar
InpAtrPeriod 14 ATR period
InpBodyLookback 14 Body lookback window
InpVolumeLookback 14 Tick-volume lookback window
InpAlerts false Alert on alignment change
InpPanelX / InpPanelY 10 / 10 Panel position
InpLabelColor clrSilver Label color
InpBullColor clrLime Bullish color
InpBearColor clrRed Bearish color
InpNeutralColor clrGoldenrod Neutral color
InpConflictColor clrOrange Conflict color
InpUnavailColor clrDimGray Unavailable color

Usage notes

  • The nine-timeframe universe is fixed (M1…MN1); there are no per-timeframe switches. See Timeframes-and-State-Modes.
  • The board caption shows the active state mode (CLOSED or CURRENT).
  • Oscillator parameters and fixed thresholds in the source are fixed by the specification and are not user inputs.