A new script has been designed to provide comprehensive details on brokers, accounts, and instrument specifications. It builds upon the "MQL4 Reference / Constants, Enumerations and Structures / Environment State / Symbol Properties." This script also derives inspiration from the "Market Info" script by Sergey Mechanic, which can be found in code repository 11223.
Through detailed comparison, the script's output has been matched against the "contract specification" available via platform navigation (View / Symbols / Properties), ensuring accuracy and reliability. The results from this comparison confirm the scriptβs consistency and usefulness in extracting essential data. This tool proves beneficial for developers and analysts in checking and verifying the contract details of trading instruments directly within the trading environment.
π Read | VPS | Share!
#MQL4 #MT4 #script
Through detailed comparison, the script's output has been matched against the "contract specification" available via platform navigation (View / Symbols / Properties), ensuring accuracy and reliability. The results from this comparison confirm the scriptβs consistency and usefulness in extracting essential data. This tool proves beneficial for developers and analysts in checking and verifying the contract details of trading instruments directly within the trading environment.
π Read | VPS | Share!
#MQL4 #MT4 #script
π31β€18π2π¨βπ»2π2
A new script for MetaTrader 5 offers features for precise trading risk management: users can set customizable Risk:Reward ratios and define Stop Loss in pips. The script automatically calculates and applies SL and TP levels based on open positions, whether Buy or Sell. It presents a user-friendly interface with error handling for various market conditions.
To implement, attach the script to the MT5 chart and configure parameters. The script detects open positions for the current symbol and applies the calculated levels, confirming modifications in the MT5 terminal.
This tool saves time by eliminating manual calculations, ensures consistency in trading strategy, and is versatile across various symbols and account types. Installation involves downloading from the MQL5 Codebase and following outlined steps. Testing on a demo account is advised for familiar...
π Read | AlgoBook | Share!
#MQL5 #MT5 #Script
To implement, attach the script to the MT5 chart and configure parameters. The script detects open positions for the current symbol and applies the calculated levels, confirming modifications in the MT5 terminal.
This tool saves time by eliminating manual calculations, ensures consistency in trading strategy, and is versatile across various symbols and account types. Installation involves downloading from the MQL5 Codebase and following outlined steps. Testing on a demo account is advised for familiar...
π Read | AlgoBook | Share!
#MQL5 #MT5 #Script
β€39π12β3π¨βπ»2
A script designed to manage buy orders effectively requires attention to its setup and functionality. Primarily, this script enables the partial closure of profitable buy orders while allowing other orders to reach their target profits. Essential parameters include `ClosePercentage`, which defines the portion of each buy position to be closed, and `Slippage`, which determines the maximum slippage in points. The `CommentText` parameter filters positions by specific comments if desired.
Key features include compatibility with multiple buy positions and the preservation of original stop loss and take profit levels for the remaining lots. It safeguards minimum volume requirements, handles errors, and provides operational feedback.
To implement, copy and compile the code in MetaEditor. The script will be accessible in the Navigator under "Scripts" and can be ex...
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #script
Key features include compatibility with multiple buy positions and the preservation of original stop loss and take profit levels for the remaining lots. It safeguards minimum volume requirements, handles errors, and provides operational feedback.
To implement, copy and compile the code in MetaEditor. The script will be accessible in the Navigator under "Scripts" and can be ex...
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #script
β€32π¨βπ»9π4β3π₯2π€2π1
A new script targets efficient trade management by partially closing profitable sell orders while maintaining other open positions for target profits. Upon execution, details can be reviewed in the Experts tab. Key input parameters include:
- ClosePercentage: Determines the portion of each sell position to close, ranging from 0 to 100.
- Slippage: Sets the maximum permissible slippage in points.
- CommentText: Optionally close positions based on specific comments.
Key features of the script include handling multiple sell positions, preserving original stop loss and take profit levels, validating minimum volume requirements, and error management with feedback. For installation, transfer the code to MetaEditor and compile. The script will then be accessible under "Scripts" in the Navigator panel. To execute, drag it onto any chart. Caution: it closes a speci...
π Read | AppStore | @mql5dev
#MQL5 #MT5 #Script
- ClosePercentage: Determines the portion of each sell position to close, ranging from 0 to 100.
- Slippage: Sets the maximum permissible slippage in points.
- CommentText: Optionally close positions based on specific comments.
Key features of the script include handling multiple sell positions, preserving original stop loss and take profit levels, validating minimum volume requirements, and error management with feedback. For installation, transfer the code to MetaEditor and compile. The script will then be accessible under "Scripts" in the Navigator panel. To execute, drag it onto any chart. Caution: it closes a speci...
π Read | AppStore | @mql5dev
#MQL5 #MT5 #Script
β€37π9π¨βπ»3β‘2π2
The script is designed to handle transaction history export efficiently. It compiles data on all transactions for the past year for the current instrument. Key functionalities include support for both cryptocurrencies and traditional currencies with automatic commission calculations based on the instrument type. Numbers are formatted for readability, with totals for commissions, profit/loss, and trade counts appended at the file's end.
Usage instructions are straightforward: ensure trade history is loaded in your terminal, place the script on the desired instrument's chart, and execute it. This will generate a CSV file stored in the MQL5/Files directory, aptly named with trades_symbol_date_time.
The benefits are notable: ease of use, flexibility across various instruments, and transparency, with all data consolidated in one file. Remember to check t...
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #script
Usage instructions are straightforward: ensure trade history is loaded in your terminal, place the script on the desired instrument's chart, and execute it. This will generate a CSV file stored in the MQL5/Files directory, aptly named with trades_symbol_date_time.
The benefits are notable: ease of use, flexibility across various instruments, and transparency, with all data consolidated in one file. Remember to check t...
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #script
β€37π7β‘4β3π¨βπ»3
A newly available script provides a streamlined method to compress OHLC data. This enhances data handling efficiency and allows for optimized storage and retrieval processes. The script is designed to convert conventional time-based data into a more concise format, which could be beneficial for high-frequency data analysis and trading strategies. Handling and analyzing financial data requires precision, and this tool meets these criteria by simplifying data complexity. This advancement in script functionality represents a significant step in improving the workflow for developers and traders dealing with extensive datasets. It's a noteworthy development for those looking to enhance their data processing capabilities.
π Read | Forum | @mql5dev
#MQL5 #MT5 #script
π Read | Forum | @mql5dev
#MQL5 #MT5 #script
β€30π4π2π¨βπ»2
To implement rectangle creation on a chart, utilize objects within the charting library. Begin by defining the coordinates for the rectangle's position. Specify parameters for the rectangleβs dimensions such as height and width. Ensure the code correctly references the chart's axes to maintain alignment. This setup facilitates the visual representation of data zones or highlights specific chart areas. Adjust properties to modify appearance, such as border color and opacity. Examine the execution environment to ensure compatibility with the charting platform's API. Verify the display across different resolutions to maintain consistency in the presentation.
π Read | Signals | @mql5dev
#MQL4 #MT4 #script
π Read | Signals | @mql5dev
#MQL4 #MT4 #script
β€37β‘6π5π¨βπ»2π±1