당사 팬 페이지에 가입하십시오
- 조회수:
- 4561
- 평가:
- 게시됨:
- 2024.01.08 20:57
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Syncs all chart symbols to symbol of the chart the EA is attached to
![wd.Multi_ClockPrice lite!](https://c.mql5.com/i/code/indicator.png)
The 'wd.Multi_ClockPrice lite!' is the lite version of 'wd.Multi_ClockPrice', providing a visual representation of server time and bid prices on the chart. It synchronizes with PC clock every seconds, allowing seamless updates even when MT5 is offline. Real-time bid prices are displayed, efficiently meeting the need for price information. Place informational labels in the specified sub-window, adjusting positions as needed.
![Connect Disconnect Sound Alert](https://c.mql5.com/i/code/expert.png)
This utility is simple example to add sound alert on connect / disconnect
![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.
![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.