Export Indicator’s Values – script MetaTrader 5

Export Indicator
After searching for such script, I decided to create mine, and decided to share it with the MQL5 community. This script exports indicator’s values to CSV File along with date and time (you can change the iCustom function parameters to change what indicator to export). Version 2: Enhanced code; Values are now exported as numbers … Read more

Demo_Create_OBJ_BITMAP_Script – script MetaTrader 5

Demo_Create_OBJ_BITMAP_Script
The graphic object of OBJ_BITMAP type allows to show the .BMP images on the chart. Unzip the mql5_logo.bmp to terminal_data_folder\MQL5\Images\ folder It’s possible to draw the image as background (“Draw image as background” object property). By default, the “Disable selection” property is enabled for all graphic objects, created in MQL5. Demo_Create_OBJ_BITMAP_Script – script MetaTrader 5

downloadhistory.mq5 – script MetaTrader 5

downloadhistory script demo
The script downloads historical data (for the current symbol), available at trade server. The download progress is plotted using the CProgressBar class, proposed in The Price Histogram (Market Profile) and its implementation in MQL5 article. In “Experts” tab of Toolbox window it prints the first date of the server history. If error it prints error … Read more

Demo_BitmapOffset (OBJPROP_XOFFSET and OBJPROP_YOFFSET) – script MetaTrader 5

Demo_BitmapOffset (OBJPROP_XOFFSET and OBJPROP_YOFFSET)
This is an example of use of the OBJPROP_XOFFSET and OBJPROP_YOFFSET properties. See video: This feature will allow you to use the image with a set of several images (like CSS-sprites used in web). Important: To use the OBJPROP_XOFFSET and OBJPROP_YOFFSET properties you must specify the size of the visible area using the OBJPROP_XSIZE and … Read more