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

Prop Firm Daily Profit Lock - MetaTrader 5용 expert

Keanu Robin Kyle Jetha Alexander
Keanu Robin Kyle Jetha Alexander
Data Science student and algorithmic trading developer. I build, test and run my own live MT5 Expert Advisor (GoldORB), focused on XAUUSD, with multi-timeframe logic, session-based execution and strict risk management.
조회수:
95
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Daily Profit Lock: Close Trades at a Daily Profit Cap

Most traders don't blow accounts on bad days. They give back good days. Daily Profit Lock watches today's profit and, once it reaches your cap, closes your trades, deletes pending orders and keeps the account flat until the next trading day. It never opens a trade by itself.

How it measures today's profit

  • It adds up today's closed deals, including profit, swap, commission and fees.
  • It also counts the floating profit or loss of open positions. You can switch this off.
  • The day starts at a server hour you choose, 00:00 by default.

Three ways to set your cap

  1. Fixed amount: for example, 500 per day.
  2. Percent of the day's starting balance: for example, 1%.
  3. Share of total profit: the cap grows with the account. This suits prop-firm consistency rules that limit how big your best day can be compared with total profit.

When the cap is hit

  • Matching positions are closed at market.
  • Matching pending orders are deleted.
  • Any new position opened later that day is closed again.
  • The lock survives a terminal restart and resets at the next day's start.

Control what it guards

  • It can watch every position, or only the magic numbers and symbols you list. Manual trades use magic 0.
  • You can run several copies with different instance names.

Safe to try

  • Dry run is on by default, so it only alerts and closes nothing until you set Dry run = false.
  • It can send popup and push alerts.
  • A chart dashboard shows:
    • closed profit, open profit or loss, and today's total;
    • your cap, a progress bar, and how much room is left;
    • open positions and pending orders;
    • when the next day starts;
    • a warning if Algo Trading is switched off.

Who it's for

  • Prop-firm traders protecting daily targets and consistency rules.
  • Discretionary traders who want to stop overtrading after a strong day.
  • EA users who want a hard daily ceiling on top of any strategy.

Notes

  • Positions close at market, so slippage or gaps can make the final profit land slightly above or below the cap.
  • It can't stop another program from sending an order, but it closes the new position right after it opens.
  • Algo Trading must be enabled for closing to work.
  • Test it on a demo account first. Trading involves risk, and this tool doesn't guarantee results.

More prop-firm tools are available on my profile.


One-Click Buy Sell Close Panel with Pip Stops One-Click Buy Sell Close Panel with Pip Stops

Chart panel Expert Advisor with BUY, SELL and CLOSE buttons. Market orders use a fixed lot with stop loss and take profit in pips, and the panel shows the floating profit of its trades.

Equity Drawdown and Daily Loss Guard Equity Drawdown and Daily Loss Guard

Utility Expert Advisor that closes all open positions when equity falls a set percentage below its peak or when today's loss reaches a limit. It never opens trades.

EA Validation Guard - Pre-Trade Request Checker EA Validation Guard - Pre-Trade Request Checker

Reusable MQL5 pre-trade validation library that checks margin, volume, trading permissions, symbol restrictions, stop levels and broker OrderCheck results before an order is sent.

Round Number Levels Round Number Levels

Auto-scaled round-number (psychological) levels with major, half and quarter lines, plus a panel showing the nearest levels and their distance in price, points and % of daily ATR.