당사 팬 페이지에 가입하십시오
- 게시자:
-
Conor Mcnamara
I started learning C programming in 2010. From there I picked up many languages.
I'm working on several indicator projects and EA concepts. - 조회수:
- 40
- 평가:
- 게시됨:
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
이것은 모든 버퍼를 시리즈로 설정한 메타쿼츠 헤이켄 아시 지표의 재작성본일 뿐입니다. 이 자료는 오로지 교육적 목적만을 위한 것입니다.
이 프레임워크를 처음 공부하기 시작했을 때, 버퍼 인덱스와 루프 인덱스를 어떻게 변경해야 할지 매우 혼란스러웠습니다. 예를 들어, 버퍼가 시리즈 모드로 설계된 지표가 하나 있었는데, 여기에 헤이켄 아시를 추가하고 싶었지만 (헤이켄 아시 버퍼가 원래 시리즈 모드로 실행되도록 설계되지 않았을 때) 이를 올바르게 추가하는 방법을 몰랐습니다.
이제 이 코드를 통해 학습자들은 비직렬형 지표 구조를 가져와 모든 것이 직렬로 실행되도록 변환할 때, 어떤 부분을 어떻게 변경해야 하는지 더 쉽게 이해할 수 있을 것입니다. 또한 MQL4에는 익숙하지만 아직 MQL5를 다뤄본 적이 없는 분들에게도 명확한 이해를 도울 수 있을 것입니다.
시리즈 방식으로 구성된 일부 지표는 "rates_total - prev_calculated"를 시작 인덱스로 안전하게 사용할 수 있지만, 계산에 과거 [i+1] 인덱스를 사용하는 경우 헤이켄 아시를 안전하게 계산하려면 바(bar) 하나를 추가로 확보해야 합니다.
MetaQuotes Ltd에서 영어로 번역함.
원본 코드: https://www.mql5.com/en/code/73176
RealCost XAU Session Cost Snapshot MT5
Open-source MT5 script that records XAUUSD/GOLD symbol settings, spread, tick value, contract size, volume step, stop/freeze levels, swap, and account context to the log and optional CSV.
Profit Concentration Analyzer
A native MQL5 script that measures how concentrated a strategy's profit is — whether the edge is broad or rests on a few lucky trades. It reads a per-trade CSV (Date,Profit) and reports the share of net profit from the largest trades, the Gini coefficient of the winners, a concentration profile, a survival test that removes the best few trades and recomputes net profit and profit factor, and the largest single day versus a configurable consistency limit, combined into a concentration-and-consistency score (A+ to F) with recommendations. If no file is found it generates a sample set, so it runs out of the box. No external libraries, no Python, no AI. The helper ExportTrades.mq5 writes the file from your trade history.
Premium Discount Range Mapper
A lightweight educational MetaTrader 5 indicator that maps Premium, Equilibrium and Discount areas from a selected market range.
SetSLByLoss - set Stop Loss on all open positions by target loss amount
계좌 통화로 표시된 목표 손실액(예: 포지션당 50달러)을 기준으로 모든 오픈 포지션에 손절매를 설정하는 스크립트입니다. 모든 입금 통화와 모든 외환 종목에서 작동합니다. 브로커의 스톱/프리즈 레벨을 확인합니다. 통화 변환은 자동으로 처리됩니다.
