Rejoignez notre page de fans
CSelectFile - bibliothèque pour MetaTrader 5
- Vues:
- 4416
- Note:
- Publié:
- 2012.11.15 15:15
- Mise à jour:
- 2016.11.22 07:32
- Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
CSelectFile is a file selection graphical interface class. The class is created based on the Standard Library.
Class methods.
1. Create - creation of a graphical interface.
bool Create(long chart, // chart ID string name, // graphical window name int x1, // the X-coordinate value of the top left point int y1, // the Y-coordinate value of the top left point. int x2, // the X-coordinate value of the bottom right point. int y2) // the Y-coordinate value of the bottom right point.
2. ChartEvent - chart event handling, returns the status of pressed buttons: 0 - buttons are not pressed, 1 - ОК button is pressed, -1 - Cancel button is pressed.
3. Filename - getting the name of the selected file.
4. FileFlag - getting the flag of the file location.
Use:
1. Creation of a dynamic object CSelectFile *fs=new CSelectFile().
2. Creation of a graphical interface (fs.Create(...)).
3. Waiting for a file selection and pressing of the button on the interface panel fs.ChartEvent(...).
4. Getting the file name fs.Filename() and the file location flag fs.FileFlag().
5. Deleting the dynamic object (delete fs).
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/1074
The panel for the display of statistical parameters calculated based on the trade history.
CTradeStatisticsClass for the calculation of the ENUM_STATISTICS enumeration parameters
The indicator shows the opening price of the senior time frame (e.g., 1-day time frame) and draws line indents to the opening price, thus forming a range.
up3x1_Krohabor_DExpert Advisor based on three moving averages and exit using Stop Loss or Take Profit. It sets up an entry with the trend.