Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Facebook üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Komut dosyaları

Open Trade - MetaTrader 5 için komut dosyası

Görüntülemeler:
9728
Derecelendirme:
(10)
Yayınlandı:
2024.01.10 01:19
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

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.