승률이나 수익 계수 같은 종합 통계만으로는, 이전 손실 직후 포지션 크기를 조정하는 등 트레이더가 방금 취한 행동에 따라 손실 확률이 달라지는지 여부를 파악할 수 없습니다. ‘신경망 손실 패턴 감사기(Neural Loss-Pattern Auditor)’는 트레이더의 실제 거래 내역을 바탕으로 바로 이러한 행동 패턴을 정확히 분석합니다.
메인 스크립트는 체결된 거래 건당 8개의 특징으로 구성된 데이터셋을 생성하고, ‘전문가(Experts)’ 탭에 전체 진단 보고서를 출력합니다:
입력. 기본값인 InpUseDemoData=true를 사용하면, 스크립트는 알려진 패턴(손실 직후 포지션 규모 증가)이 주입된 480건의 합성 체결 거래를 생성하여 분석하므로, 결과를 즉시 확인할 수 있습니다. InpUseDemoData=false로 설정하면 HistorySelect() 및 HistoryDealGet*() 함수를 통해 실제 청산된 거래 내역을 대신 읽을 수 있으며, 이 모드에서는 파일이나 CSV가 필요하지 않습니다.
매개변수. InpMinTrades는 훈련에 필요한 최소 체결 거래 건수를 설정하며, InpValidationFraction은 검증용으로 제외할 최근 기록의 비율을 설정합니다. InpHiddenNeurons, InpLearningRate 및 InpEpochs는 신경망을 제어합니다. InpCalibrationBins 및 InpPermutationRepeats는 두 가지 진단 항목을 제어하며, InpWeightUplift, InpWeightCalibration, InpWeightTopFeature와 세 개의 *Scale 및 네 개의 Grade 입력값은 종합 점수를 제어합니다.
이 도구는 순수 MQL5로 작성되었습니다. 외부 라이브러리, Python, 또는 그 어떤 종류의 AI 서비스도 필요하지 않습니다. 이 방법론에 대한 전체 설명, 각 진단 지표의 수학적 근거, 그리고 코드는 다음 기사에서 확인할 수 있습니다: [ARTICLE_URL].
MetaQuotes Ltd에서 영어로 번역함.
원본 코드: https://www.mql5.com/en/code/76544
Session TWAP: time weighted average price from the cash open, with deviation bands
Time weighted average price of the running session, anchored at the cash open of Frankfurt, London, New York or Tokyo with automatic daylight saving. Every second counts the same, minutes without a tick carry the last price, and two bands show the time weighted standard deviation around the line.
PropSpread: time-weighted spread monitor with ATR context, alert and CSV log
Panel that samples the spread once per second and shows it in points and in the symbol's natural unit (pips on FX, index points on index CFDs), with rolling min/avg/median/max, a session statistic since server midnight, the spread as percent of ATR, a hold-time alert and an optional CSV log. It never sends an order.
Fair Value Gap Detector Indicator
3캔들 공정한 가치 갭(가격 불균형)을 감지하여, 가격이 갭을 다시 통과할 때까지 실시간으로 표시되는 상자 형태로 그립니다. 감지 기능은 완전히 마감된 바에서만 실행되므로, 현재 캔들이 형성되는 동안 갭이 깜빡거리며 나타났다 사라지는 일은 절대 없습니다.
MT5 Vertical Scroll
이를 통해 MT5 차트를 트레이딩뷰 차트처럼 스크롤할 수 있으며, 자동 리셋 버튼도 제공됩니다.