기능 설명

터치 및 스윕 계산 방식 (마감된 봉만 해당)
알림
버퍼 (iCustom)
| 버퍼 | 내용 |
|---|---|
| 0-5 | PDH, PDL, PWH, PWL, PMH, PML (가격) |
| 6-11 | 동일 레벨의 터치 횟수 |
시프트 0을 읽습니다. 이 값은 마감된 봉만 대상으로 해당 봉의 시가 시점에 계산되며, 이후에는 변경되지 않습니다. 이전 봉들은 현재 봉이었던 시점에 기록된 값을 유지하므로, 지표가 적용되기 전의 기록은 비어 있습니다 (EMPTY_VALUE). 차트에는 표시되지 않으며(DRAW_NONE), 값은 데이터 창에서 확인할 수 있습니다.
int h = iCustom(_Symbol, PERIOD_M15, "KeyLevelsTouch");
double pdh[1], t[1];
if(CopyBuffer(h, 0, 0, 1, pdh) == 1 && CopyBuffer(h, 6, 0, 1, t) == 1)
Print("PDH ", pdh[0], " touches ", t[0]); 참고
테스트
전략 테스터에서 검증됨(EURUSD M15, 2026년 8월~10월, 브로커 데이터). 모든 막대마다, 막대 개장 시 실시간으로 읽은 지난 6일/주/월의 레벨과 해당 레벨에 도달한 횟수를 원시 시세 데이터에서 독립적으로 재구성한 값과 비교한 결과, 37,416개의 레벨 값과 37,416개의 도달 횟수가 모두 일치했습니다. 스윕 횟수와 둥근 숫자 레벨은 동일한 규칙에 따라 그려지지만 버퍼에는 노출되지 않으므로, 시각적으로만 확인했습니다.
MetaQuotes Ltd에서 영어로 번역함.
원본 코드: /en/code/79039
History Gaps: find missing bars before you backtest
Checks the chart's history against the symbol's trading sessions and separates real holes from holiday short sessions and days without bars. Marks the holes on the chart, shows coverage and the largest hole, warns when the history stops short of now, and can write a CSV report.
Prop Firm Equity Guard daily loss and max drawdown protector
Prop Firm Equity Guard protects prop-firm challenges and funded accounts. It monitors live equity against your daily loss and max drawdown limits, then closes all positions, deletes pending orders and locks trading before the firm's limit is hit. A safety buffer makes it act early, and anything opened while locked is closed instantly. It supports static and trailing drawdown, an optional profit target lock and alerts, saves its state through restarts, and shows an on-chart dashboard with room left and a reset countdown. It works alongside manual trading and other EAs.
ORB Box + VWAP Stats - opening range box, 1R/2R targets, session VWAP and historical break statistics
설정 가능한 세션의 개장 범위(시작 시간 및 분 단위의 지속 시간, 서버 시간대 조정 포함), 박스 상하방의 1R 및 2R 수준, 그리고 세션 VWAP(틱 거래량 또는 브로커가 제공하는 경우 실제 거래량)을 표시합니다. 작은 패널은 최근 N개의 종료된 세션 중, 가격이 범위 상단만 돌파했는지, 하단만 돌파했는지, 양쪽 모두 돌파했는지, 아니면 전혀 돌파하지 않았는지를 집계하고, 첫 번째 돌파 후 가격이 1R 및 2R에 도달한 빈도를 표시합니다. 이 통계는 과거 데이터를 기반으로 한 집계로, 과거를 설명할 뿐 미래를 예측하지 않습니다. 마감된 봉만 사용되므로 재그리기 현상이 발생하지 않습니다. 선택 가능한 팝업, 푸시 및 소리 알림은 마감된 봉이 박스 범위 밖에서 마감될 때 세션당 방향별로 한 번씩 발동됩니다. iCustom()을 통해 Expert Advisor에서 8개의 버퍼(범위, 목표치, VWAP, 돌파 상태)를 읽을 수 있습니다. M1부터 M30까지 작동하며, 새로운 바만 재계산하고 제거 시 차트 객체를 삭제합니다. 읽기 전용: 절대 거래를 수행하지 않습니다. DLL이나 웹 요청이 필요하지 않습니다.
AesHmac: AES-256 encryption with tamper check and password keys for MQL5
One include file that encrypts texts and bytes so only a program with the same key can read them. A wrong key or a changed message is refused instead of read as garbage, keys can come from a password, and the code is checked against the official NIST and RFC test vectors.