거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Market Watch Mini Scanner: RSI Overbought/Oversold Across Symbols - MetaTrader 5용 지표

조회수:
69
평가:
(2)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Market Watch Mini Scanner: RSI Overbought/Oversold Across Symbols

The idea behind it

The Relative Strength Index (RSI) measures the speed and size of recent price changes on a scale from 0 to 100. Values above 70 are traditionally read as overbought, values below 30 as oversold. Checking the RSI of many symbols by opening one chart after another is slow. This indicator does it in one place: it creates an RSI for every symbol of the Market Watch (or for a list you enter), reads the values at a regular interval and shows them in a small panel in the corner of the chart.

The panel answers three questions at a glance: which symbols are currently stretched, in which direction, and how far. The symbols can be sorted so that the most extreme ones are at the top, or filtered so that only overbought and oversold symbols are shown. The scanner can be attached to any chart; the symbol of that chart does not matter.

How to interpret it

  • Symbol – the scanned symbol.
  • RSI – the RSI value of the symbol on the selected timeframe (the last closed bar by default).
  • Gauge – a horizontal bar whose length is proportional to the RSI (full length = 100). Its color shows the status.
  • Status – Overbought when the RSI is at or above InpOverbought, Oversold when it is at or below InpOversold, otherwise Neutral. Default colors: overbought red, oversold green, neutral gray. n/a means that no data is available yet for that symbol.
  • Order of the rows – depends on InpSort: as in the source list, highest RSI first, lowest RSI first, or the most extreme first (largest distance from 50). Symbols without data are placed at the end.
  • Title – shows the timeframe and the period of the RSI.
  • Alerts (optional) – a message is shown (and optionally sent as a push notification or e-mail) when a symbol changes from neutral into the overbought or oversold zone.


Fig. 1. RSI scanner with ten symbols sorted by the distance of the RSI from 50: overbought and oversold symbols on top; black & white image per Code Base image guidelines (colors are configurable).

External variables (inputs)

Input Default Purpose
InpSource SCAN_MARKET_WATCH Source of the symbols: the symbols shown in the Market Watch, or the custom list InpSymbols.
InpSymbols "EURUSD,GBPUSD,USDJPY,AUDUSD,XAUUSD" Symbols separated by commas; used when InpSource is SCAN_CUSTOM_LIST. Symbols that do not exist are skipped.
InpMaxSymbols 20 Maximum number of symbols scanned and shown (1–50).
InpTimeframe PERIOD_H1 Timeframe of the RSI (PERIOD_CURRENT = chart timeframe).
InpRSIPeriod 14 Period of the RSI (2 or more).
InpOverbought 70.0 Overbought level; must be greater than the oversold level and not above 100.
InpOversold 30.0 Oversold level; must be greater than 0.
InpUseClosedBar true true: RSI of the last closed bar (stable); false: RSI of the forming bar (changes with every tick).
InpSort SORT_EXTREME Order of the rows: SORT_NONE, SORT_RSI_DESC, SORT_RSI_ASC or SORT_EXTREME.
InpOnlyExtremes false Shows only the overbought and oversold symbols.
InpRefreshSeconds 5 Refresh interval of the scan in seconds (1–3600).
InpEnableAlerts false Shows an alert when a symbol becomes overbought or oversold.
InpAlertPush false Also sends a push notification (requires InpEnableAlerts).
InpAlertEmail false Also sends an e-mail (requires InpEnableAlerts).
InpShowTitle true Shows the title row.
InpX 10 Distance of the dashboard from the left chart edge, in pixels.
InpY 20 Distance of the dashboard from the top chart edge, in pixels.
InpFontSize 9 Font size (7–14); the whole dashboard scales with it.
InpBackColor C'20,24,32' Background color of the panel.
InpTextColor clrWhiteSmoke Color of the symbol names and values.
InpColorOB clrTomato Color of the overbought status and gauge.
InpColorOS clrLimeGreen Color of the oversold status and gauge.
InpColorNeutral clrGray Color of the neutral status and gauge.

Recommended use

  • Symbols: in the Market Watch mode the list is taken when the indicator starts. After you add or remove symbols in the Market Watch, reload the indicator (or change one of its inputs). The scanner creates one RSI handle per symbol, so keep InpMaxSymbols reasonable; the default 20 is fine for most terminals. If your broker uses prefixes or suffixes, use the custom list with the exact symbol names.
  • Timeframes: the RSI timeframe is independent of the chart. A higher timeframe (H1–D1) gives fewer and more significant signals; a lower one gives more frequent signals.
  • Closed or forming bar: with the closed-bar mode the status of a symbol changes only when a new bar of the RSI timeframe is completed, so alerts do not flicker. The forming-bar mode reacts faster, but a symbol can enter and leave the zone before the bar closes.
  • Refresh: the dashboard is refreshed by a timer, so it also works when the symbol of the chart has no ticks (for example, on a weekend chart of another market). It is refreshed as well on the first call and on every new bar of the chart.
  • First start: the terminal has to calculate the RSI for every symbol and may need to load its history; until then a symbol shows "--" and "n/a". Alerts are not sent for the first readings.
  • Caveats: overbought does not mean "sell" and oversold does not mean "buy": in strong trends the RSI can stay in an extreme zone for a long time. The scanner shows where to look, not what to do; use it with your own entry rules and risk management.
  • Efficiency: there is no price history to recalculate; each refresh reads one value per symbol from the RSI handles. The panel objects are created once and only their texts, colors and sizes are updated.
  • Account types: the indicator does not trade and works identically on netting and hedging accounts.
  • All objects of the panel carry a unique prefix and are removed, the timer is stopped and the indicator handles are released, when the indicator is deleted or reinitialized.
Devil Trader AI Lite -Gold M30 and H1 Exclusive Devil Trader AI Lite -Gold M30 and H1 Exclusive

Devil Trader AI Lite is an automated Smart Money & Liquidity Expert Advisor engineered exclusively for GOLD (XAUUSD) on M30 and H1 timeframes. It maps Major Demand and Supply Order Blocks, waits for confirmed rejection candles, and applies dynamic ATR Stop-Loss, auto-lot sizing, and trailing stop protection with zero Martingale.

Break-even and Trailing Stop Manager in R Break-even and Trailing Stop Manager in R

Break-even and trailing stop for open positions, measured in R (distance to the first stop loss). Respects stops level and freeze level, only moves the stop in profit direction.

Trade History Export to CSV with Summary (win rate, profit factor, drawdown) Trade History Export to CSV with Summary (win rate, profit factor, drawdown)

Exports the closed positions of the account to a CSV file (one row per position) and shows a summary: trades, win rate, profit factor, net result, max drawdown and results per symbol. Read-only.

Prop Firm Daily Loss and Drawdown Monitor Prop Firm Daily Loss and Drawdown Monitor

Free panel indicator for funded / prop-firm accounts: shows the room left before the daily loss limit and the static maximum drawdown, and alerts when you get close. Monitor only: it never opens, closes or blocks trades.