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

RiskGuard Lite - Percent-Risk EMA/ATR EA - MetaTrader 5용 expert

Muh Aidyl Fadly Bahtiar
Muh Aidyl Fadly Bahtiar
MT4/MT5 Expert Advisors, indicators, fixes and Pine Script to MT5 conversions.
What I build:
- EAs from your written rules: entries, exits, SL/TP, break-even, trailing, time and session filters
조회수:
81
평가:
(1)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

RiskGuard Lite is a small, readable Expert Advisor that shows how to build a trade with controlled risk in MQL5. The entry idea is deliberately simple (an EMA crossover) so the code can focus on the parts that usually go wrong: stop placement, position sizing and order checks.


How it works: on each new bar it checks the last two closed bars for a crossover of the fast and slow EMA. The stop loss is placed at a multiple of ATR, never closer than the broker stop level, and the take profit is a fixed reward:risk multiple of that distance. The lot size is calculated with OrderCalcProfit so that hitting the stop loses the chosen percent of equity, then rounded to the broker volume step and limits. Before sending, the EA checks the spread and that it has no open position on the symbol with its magic number, and it prints the server return code if an order is rejected.

Inputs: Fast EMA period (20), Slow EMA period (50), ATR period (14), Stop loss distance in ATR (2.0), Take profit as a multiple of the stop distance (1.5), Risk per trade in percent of equity (0.5), Max spread to enter in points (25), Max slippage in points (10), Magic number.

Suggested use: any liquid symbol on H1, for example EURUSD. Works on netting and hedging accounts. This is an educational template, not a finished strategy: realized loss can differ from the set risk because of commission, slippage and gaps, and there is no claim of profitability. Test it on a demo account first.

Session Candle Counter: candles numbered from the cash open, DST aware Session Candle Counter: candles numbered from the cash open, DST aware

Numbers every candle of the current trading day starting at the cash open of Frankfurt, London, New York or Tokyo. The anchor is converted from exchange local time to broker server time with automatic daylight saving, so the first candle after the open is always number one, in summer and in winter.

PropFirm Equity Protector – Institutional Risk Manager (Open Source) PropFirm Equity Protector – Institutional Risk Manager (Open Source)

Professional Utility EA for prop firm risk management. It features daily equity monitoring, phased mitigation of losing positions, and absolute hard stops via a self-healing graphical dashboard.

Spread Monitor for Scalpers Spread Monitor for Scalpers

Spread histogram in a sub-window with current/avg/max/min stats, cost per trade, and threshold alerts for scalpers.

MACD Signals MACD Signals

Indicator edition for new platform.