당사 팬 페이지에 가입하십시오
- 조회수:
- 15
- 평가:
- 게시됨:
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
이 지표의 기능
Clock (Spread).mq5는 차트 모서리에 다음과 같은 내용을 표시하는 작은 텍스트 라벨을 보여주는 MetaTrader 5 차트 지표입니다:
- 현재 캔들이 마감될 때까지의카운트다운 타이머 (시간대별로 HH:MM:SS 또는 MM:SS 형식)
- 타이머 옆 괄호 안에 표시되는현재 스프레드 (매도호가 − 매수호가, 포인트 단위)
이 지표는 타이머(EventSetTimer(1))를 통해 매초 업데이트되므로, 시장이 휴장 중이거나 새로운 가격 틱이 없더라도 카운트다운이 원활하게 진행됩니다. 또한 새로운 틱이 발생할 때마다(OnCalculate) 갱신됩니다.
표시 예시: < 04:32 (12) — 캔들 마감까지 4분 32초가 남았으며, 스프레드는 12포인트임을 의미합니다.
이 지표는 가격 차트 자체에는 아무것도 그리지 않습니다(indicator_plots 0); 단지 모서리에 텍스트 라벨 객체(OBJ_LABEL)를 배치할 뿐이며, 여러 차트에서 동시에 안전하게 실행되도록 설계되었습니다(차트/심볼/시간대별로 고유한 객체 이름을 생성하여 인스턴스 충돌을 방지합니다).
입력값
시각적 설정:
| 입력 | 기본값 | 설명 |
|---|---|---|
| InpFontName | "Trebuchet MS" | 라벨 텍스트에 사용되는 글꼴 |
| InpFontSize | 12 | 글꼴 크기 |
| InpFontColor | 아쿠아 | 드롭다운 메뉴에서 선택하는 텍스트 색상 (아쿠아, 네이비, 티얼, 마룬, 라임, 살몬, 흰색, 노란색) |
배치 설정:
| 입력 | 기본값 | 설명 |
|---|---|---|
| InpXDistance | 20 | 차트의 왼쪽 상단 모서리로부터의 수평 오프셋(픽셀) |
| InpYDistance | 20 | 차트의 왼쪽 상단 모서리로부터의 수직 오프셋 (픽셀) |
| InpObjPrefix | "CLK_" | 지표가 여러 차트에서 동시에 실행될 때 충돌을 방지하기 위해 고유한 내부 객체 이름을 생성하는 데 사용되는 접두사 |
MetaQuotes Ltd에서 영어로 번역함.
원본 코드: https://www.mql5.com/en/code/75452
RepaintTest - measure whether a drawing indicator repaints
Measures whether a drawing indicator repaints, instead of asserting that it does not. The invariant: once a bar has closed and been processed, no object drawn on it may ever change - not move, not recolour, not change its text, and not disappear. The script seeds a custom symbol with real history, attaches your indicator through a template, records every object, appends bars, forces a full recalculation, and compares object by object. Changes and disappearances are counted separately, because only a change means the claim is false. A run that compared nothing is reported as INCONCLUSIVE, never as a pass. Output is a CSV you can publish next to the number.
Support Resistance zig zag based
Support Resistance zig zag based is a Price Action indicator designed to automatically and dynamically map Support, Resistance, and transition areas (Flip Zones) on the chart. It focuses purely on clear price structure mapping and highlighting key bounce areas (SBR & RBS). It also includes an interactive dashboard to monitor real-time market bias.
SpreadAudit - M1 차트 기록에 기반한 브로커의 실제 스프레드
이 스크립트는 M1 바의 ‘spread’ 필드에서 귀하의 브로커의 실제 스프레드를 수집하여 중앙값, 90번째 및 99번째 백분위수를 가격 단위, 펑트, ATR 비율로 표시하고, 매일 각 시간대별 평균 및 최대 스프레드를 CSV 파일로 내보냅니다. 이 스크립트는 머릿속으로 추측한 “전형적인” 스프레드가 아닌, 실제 계좌의 비용을 기준으로 전략을 테스트하기 위해 필요합니다.
Market Replay Tool
Market Replay Tool is an MT5 utility that seamlessly merges a Market Replay simulator with interactive TradingView-style Long & Short drawing tools. It allows traders to backtest strategies on historical data with adjustable playback speeds, while effortlessly mapping out risk-to-reward setups using dynamic, draggable entry, stop-loss, and take-profit visual boxes directly on the chart.
