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

Open Trade - MetaTrader 5용 스크립트

조회수:
11066
평가:
(10)
게시됨:
2024.01.10 01:19
OpenTrade.mq5 (4.61 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

This function executes the primary logic for initiating a trade.

  • Computes the opening price, take-profit levels, and stop-loss based on symbol information and user-provided parameters.
  • Prepares a trade request (MqlTradeRequest) with essential details such as symbol, volume, order type, deviation, comment, magic number, etc.
  • Invokes the OrderSend function to dispatch the trade request and obtain the result.

SetTypeFillingBySymbol function:

  • This function determines the order fill type (Fill or Kill, Immediate or Cancel, or Return) based on the symbol's filling policy.

GetMinTradeLevel function:

  • Calculates the minimum trading level by considering the freeze level and symbol stops level. Adjusts the minimum level to ensure it falls within specific limits and returns the result."

    Calculate unrealized profit(s) at a specific time in history Calculate unrealized profit(s) at a specific time in history

    This is a script to print all open trades and their PnLs at a specific time in history.

    SymbolSyncEA SymbolSyncEA

    Syncs all chart symbols to symbol of the chart the EA is attached to

    Sec-WebSocket-Key Generator Sec-WebSocket-Key Generator

    Sec-WebSocket-Key Generator

    wd.Range_BB wd.Range_BB

    Provides Bollinger Bands with calculating the range bandwidth as the difference in pips between the upper and lower Bands. Bollinger Bands appearance and behavior can be tailored by adjusting period, shift, deviation, and applied price, along with color and line style. The 'range/bandwidth information' label can be placed in the specified Sub-Window, allow to customize label positions. Overall, this indicator aids traders in visualizing market flexibility and volatility based on Bollinger Bands width.