거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Symbol Filling Policy Determination - MetaTrader 5용 expert

조회수:
3476
평가:
(4)
게시됨:
2023.09.25 19:32
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Symbol Input (symbol): The function takes as input the symbol of a financial instrument for which the filling policy is to be determined.

  1. Obtaining the Filling Policy Type (filling): The function uses SymbolInfoInteger to retrieve information about the filling policy for the provided symbol. This information is stored in a variable named filling as a numerical value.
  2. Comparison of Filling Policies: Next, the numerical value (filling) is compared with predefined constants representing different filling policies, such as "Fill or Kill" (SYMBOL_FILLING_FOK), "Immediate or Cancel" (SYMBOL_FILLING_IOC), and "Return" (SYMBOL_FILLING_RETURN).
  3. Returning the Filling Policy Type: The function determines the filling policy type based on the comparison. If it matches "Fill or Kill," it returns ORDER_FILLING_FOK. If it matches "Immediate or Cancel," it returns ORDER_FILLING_IOC. If it doesn't match either, it returns ORDER_FILLING_RETURN.

In summary, this function allows you to retrieve and return the filling policy of a symbol in MetaTrader 5. This is useful for making trading decisions based on the filling policy of a specific financial instrument.

    AO - Awesome Oscillator  - without iAO() code for beginners by William210 AO - Awesome Oscillator - without iAO() code for beginners by William210

    AO - Awesome Oscillator - without iAO() beginner tutorial to learn how to code in MQL5

    Marubozu Marubozu

    A Marubozo is a long-bodied candlestick with no shadow, from the Japanese word meaning "close-cropped". Candlestick charts look at the opening and closing price on a single day and are used by technical traders.

    ATR - Average True Range - code for beginners by William210 ATR - Average True Range - code for beginners by William210

    ATR - Average True Range - beginner tutorial to learn how to code in MQL5

    Check for Market Open Hours Check for Market Open Hours

    This Include File checks for Market Open Hours. An EA to test it is also included.