Murrey Math Expert
- Experts
- Rim Askarov
- 버전: 14.0
Murray Math with Volume Profile
General description
The trading advisor implements a Murray Points trading strategy with additional signal filtering based on Volume Profile and Relative Strength Index (RSI) analysis. The system is designed for the Forex market and is focused on trading during flat and corrective movements.
Trading LogicMurray LevelsThe advisor calculates 13 Murray levels based on the maximum and minimum prices over a specified number of bars. The following levels are used for trading:
-
Buy positions: levels -2/8, -1/8, 0/8, 1/8
-
SELL positions: levels 5/8, 6/8, 7/8, 8/8
-
Price Distance. A signal is generated when the price approaches a level at a distance not exceeding the set tolerance. The tolerance can be fixed in points or dynamic based on the ATR value.
-
Volume Profile Filter. When activated, the filter checks whether the Murray level matches the Point of Control (POC) or Value Area (70% of volume). The calculation is based on historical data for the specified number of periods of the selected timeframe. The system automatically determines the available volume type (real or tick).
-
RSI Filter. When activated, the filter checks the relative strength index value:
-
For BUY signals: RSI must be below the oversold level
-
For SELL signals: RSI must be above the overbought level
-
-
Stop Loss and Take Profit can be fixed or calculated based on the ATR value with customizable multipliers
-
Breakeven: moving the stop-loss to the breakeven zone when the specified profit in points is reached
-
Trailing stop: activated after the position is moved to breakeven and moves the stop loss at a specified step
-
The lot size is set fixed and automatically adjusted to the broker's minimum and maximum limits.
The advisor includes additional optional filters:
-
Analysis of trend direction on a higher timeframe (H4)
-
Checking for highly volatile news events
-
Evaluation of volume spikes
When working on a chart, an information panel is displayed containing:
-
Current market and account balance status
-
Status of active filters
-
Current signal tolerance value
-
Nearest Murray level with distance indicated
-
Information about the last completed transaction
Murray levels and Point of Control zones are visualized on the chart using color indication.
LoggingAdvisor performance information is logged (the Expert Advisors log) only when a new bar is formed. This avoids excessive logging while maintaining control over the system's operation.
Settings options Main settings-
InpPeriod — the period for calculating Murray levels
-
InpStepBack — the number of bars to shift the calculation
-
InpLotSize — fixed trading lot size
-
InpUseATRForSLTP — select the stop-loss and take-profit calculation method (ATR or fixed)
-
InpATRPeriod — ATR period
-
InpATRMultiplierSL — ATR multiplier for stop-loss
-
InpATRMultiplierTP — ATR multiplier for take-profit
-
InpUseMurreySL — using Murrey levels to set stop-loss
-
InpSLBufferSpread — additional buffer in spreads
-
InpUseVPFilter — filter activation
-
InpVPRangePeriod — timeframe for volume analysis
-
InpVPRangeCount — the number of periods to analyze
-
InpUseValueArea — using a Value Area instead of a point POC
-
InpUseRSIFilter — filter activation
-
InpRSIPeriod — RSI period
-
InpRSIOversold — oversold level
-
InpRSIOverbought — overbought level
-
InpUseTrailingStop — activates the trailing stop
-
InpUseBreakEven - activation of breakeven
-
InpBreakEvenAt — the profit level for activating breakeven
-
InpTrailingStart — distance to start trailing
-
InpTrailingStep — stop-loss moving step
-
InpUseATRForTolerance — tolerance calculation method (ATR or fixed)
-
InpATRToleranceMult — ATR multiplier for tolerance
-
InpFixedTolerance — fixed tolerance in points
-
InpUseHigherTF — filter by higher timeframe
-
InpUseVolumeSpike — filter by volume spikes
-
InpUseNewsFilter — news events filter
The advisor doesn't use averaging strategies (martingale) or grid methods. Each position is opened with a preset stop-loss and take-profit.
The Expert Advisor has no time limits, requires no connection to external servers, and does not collect personal data. All functionality is implemented using standard MQL5 language tools.
