거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
19
평가:
(2)
게시됨:
업데이트됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동


Close_Orders - 포지션 청산 및 주문 삭제를 위한 범용 함수

간단한 설명

메타트레이더 5에서 14가지 거래 관리 작업을 위한 하나의 함수.

유형, 수익성, 매직넘버를 기준으로 필터링하여 포지션을 청산하고 지정가 주문을 삭제합니다.

할 수 있는 작업

포지션(9개 옵션):

  • 모든 포지션 / 수익 포지션만 / 손실 포지션만

  • 매수만 / 매도만

  • 수익성 매수 / 수익성 없음 매수

  • 수익성 매도 / 손실 매도

지정가 주문(5가지 옵션)의 경우:

  • 모든 지정가 주문 / 매수 스탑만 / 매수 제한만

  • 매도 스톱만 / 매도 제한만

사용 방법

// 호출 예제:
Close_Orders("Position", "All", 0);           // 모든 포지션
Close_Orders("Position", "Buy Profit", 123);  // 마직 123으로 수익성 있는 구매
Close_Orders("Order", "Buy Stop", 0);         // 모든 매수 지정가 주문

매개변수:

  • p_o : " 포지션" 또는 "주문" .

  • type_po : 필터 유형(위 옵션 참조)

  • magicNumber : 매직 (0 = 모두)

장점

  • 단순성 - 14개 함수 대신 한 번만 호출하면 됩니다.

  • 유연성 - 거래의 미세 필터링

  • 안전성 - 루프의 적절한 처리

  • 다용도성 - 전문가 어드바이저, 스크립트, 인디케이터용

기술적 특징

  • 편차= 5 - 최적의 가격 허용 오차

  • 끝에서 반복 - 안전한 삭제

  • 로컬 변수 - 쿼리 격리

프로젝트에 포함

#include <Close_Orders.mqh>
// 사용 준비 완료!

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/68469

ICE (Impulse Confirmation Engine) ICE (Impulse Confirmation Engine)

ICE Pro v1.0: Momentum Intelligence System. ICE bukan sekadar EA (Expert Advisor) berbasis indikator statis. Ini adalah mesin Adaptive Trading yang menggunakan volatilitas (ATR) dan profil volume sebagai filter utama untuk menyaring mana pergerakan harga yang merupakan "Impuls Sejati" dan mana yang hanya "Market Noise".

Larry Williams XGBoost Onnx Larry Williams XGBoost Onnx

AI 시계열 XGBoost를 사용한 래리 윌리엄의 방법 채택

Fractal Maturity Oscillator FMO Fractal Maturity Oscillator FMO

The FMO indicator is a technical analysis tool that measures "trend age" using fractal cycles. Its purpose is to help traders determine whether a trend is still young (safe to follow) or over-aged (high risk). A Conceptual Synthesis of Psychology, Sociology, and Life Cycles This work presents a deep analysis of human life through a numerical matrix (3, 7, 39, 49), using it as a conceptual lens for understanding psychology, sociology, and developmental cycles. It is not a conventional scientific framework. Rather, it is a synthesized model — integrating esoteric, psychological, and sociological perspectives into a unified cyclical structure. The goal is to organize and interpret human development through layered, interacting cycles.

MASTER-WINNERFX-Asim MASTER-WINNERFX-Asim

Trend based grid Expert Advisor for MetaTrader 5 using EMA and RSI indicators. Dynamic lot size is calculated from account balance with minimum and maximum lot protection. Initial trade opens when price confirms trend direction relative to EMA and RSI levels. Grid orders are added at fixed point distance using controlled multiplier. All trades are managed as a basket and closed at defined profit target or maximum loss level. Includes optional news hour pause and market close filter. No DLL or external services required.