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

ORB Risk Managed - Opening Range Breakout with Account Protection - MetaTrader 5용 expert

Matas Kerys
Matas Kerys
MQL5 developer focused on prop-firm-compliant Expert Advisors and risk management tools.
What I build:
Expert Advisors from clear trading rules
Risk controls: daily loss limits, max drawdown protection, risk-based position sizing, session-based trade closing
조회수:
224
평가:
(1)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Idea
The EA marks the high and low of the first minutes after the session open (the "opening range"). It then places a Buy Stop above and a Sell Stop below the range. When one order is filled, the other is deleted (OCO). Only one trade is taken per day, and all positions are closed before the session end.

Example

Recommended symbol and timeframe
Built and tested on a US100 / Nasdaq 100 index CFD. Works on any chart timeframe, since the range is always calculated from M1 data. Default times assume a GMT+3 server (US session open 16:30 server time). Adjust the time inputs to your broker's server time.

Main inputs

  • Range start, range length, last entry time, close-all time (server time)
  • Trade direction: both, long only, short only
  • Risk per trade (% of balance), take profit as R multiple, stop distance as a fraction of the range
  • ATR filter: skip days with an unusually small or large range
  • Daily loss limit (%), maximum total drawdown (%), initial balance

Account protection

  • Position size calculated from risk and stop distance. If even the minimum lot exceeds the allowed risk, the trade is skipped.
  • Daily loss limit: closes all positions and stops trading for the day.
  • Maximum drawdown limit: closes all positions and stops the EA.
  • Positions are never carried into the next day.

Important
This is an educational template showing breakout logic and risk management structure. It is not a profit-guaranteed system. Always test in the Strategy Tester and on a demo account before any live use.


Broker Profiler Broker Profiler

Displays the symbol properties that cause the same EA to behave differently on a different broker: trading hours, contract size, tick value, spread statistics, swap cost and real-session coverage. Read-only; does not execute trades.

Closed Trades Exporter MAE MFE Closed Trades Exporter MAE MFE

Exports closed trades to CSV with Maximum Adverse Excursion (MAE) and Maximum Favorable Excursion (MFE) in points and money, calculated from M1 history, plus the percentage of the available move each trade captured.

Memory Sequence Memory Sequence

A specified moment in time can be analyzed through multiple synced timeframes from 1 host chart for a symbol.

MACD Signals MACD Signals

Indicator edition for new platform.