Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter ü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ı

Sec-WebSocket-Key Generator - MetaTrader 5 için komut dosyası

Görüntülemeler:
1949
Derecelendirme:
(4)
Yayınlandı:
2024.01.22 13:45
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
Generates
  1. 16-byte value
  2. Randomly selected
  3. Base64-encoded
Sec-WebSocket-Key as per protocal in https://datatracker.ietf.org/doc/html/rfc6455#section-11.3.3
Open Trade Open Trade

This function performs the main logic of opening a trade. Calculates the opening price, take profit levels and stop loss based on symbol information and parameters provided by the user. Prepare a trade request (MqlTradeRequest) with the necessary information, such as symbol, volume, order type, deviation, comment, magic number, etc. Call the OrderSend function to send the operation request and get the result. SetTypeFillingBySymbol 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 operating level based on the freeze level and the symbol stops level. Adjusts the minimum level to make sure it is within certain 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.

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.

Moving Averages-14 different types Moving Averages-14 different types

This is an indicator to calculate 14 types of moving averages based on close price.