Fan sayfamıza katılın
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
- Görüntülemeler:
- 2480
- Derecelendirme:
- 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
- 16-byte value
- Randomly selected
- Base64-encoded
![Open Trade](https://c.mql5.com/i/code/script.png)
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](https://c.mql5.com/i/code/script.png)
This is a script to print all open trades and their PnLs at a specific time in history.
![wd.Range_BB](https://c.mql5.com/i/code/indicator.png)
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](https://c.mql5.com/i/code/indicator.png)
This is an indicator to calculate 14 types of moving averages based on close price.