0% found this document useful (0 votes)
72 views2 pages

Mt4gui Cheatsheet

This document provides a cheat sheet of functions for the MT4GUI library. It lists functions for adding and manipulating terminal functions, menus, listboxes, look and feel, links, enumerations, general GUI objects, tickers, and vendor functions.

Uploaded by

Rudi Prayogo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views2 pages

Mt4gui Cheatsheet

This document provides a cheat sheet of functions for the MT4GUI library. It lists functions for adding and manipulating terminal functions, menus, listboxes, look and feel, links, enumerations, general GUI objects, tickers, and vendor functions.

Uploaded by

Rudi Prayogo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Fx1 Inc - 13.06.

2015
http://www.mt4gui.com

MT4GUI CHEAT SHEET

TERMINAL FUNCTIONS
guiFocusChart Sets focus to given Chart
guiCloseTerminal Closes Metatrader Terminal
guiMinimizeTerminal Minimizes Terminal
guiMaximizeTerminal Maximizes Terminal
guiCloseChart Closes Chart
guiChangeSymbol Change Symbol and optionally Period in current Chart
guiMD5 Calculates MD5
guiCRC32 Calculates CRC32
guiOpenBrowser Open given url in users default browser
guiTimeGMT Retrieves GMT Time based on local time
guiCID Calcualtes ComputerID
guiTimeHTTPGMT Retrieves GMT Time based on HTTP Protocoll remotely
guiGetChartWidth Reads Width of Chart
guiGetChartHeight Reads Height of Chart

MENU FUNCTIONS

guiAddMenu Add Menu To Menu Bar


guiSetMenuTextColor Defines TextColor of Menu

guiSetMenuBgColor Defines BackgroundColor of Menu


guiIsMenuClicked Event : Determines if menu has been clicked
guiIsMenuChecked Event : Determines if menu is checked
guiCheckMenu Checks checkable menu
guiEnableMenu Enable, Disable menu
guiSetMenuText Sets Text of Menu
guiRemoveMenu Remove main or sub menu from menu bar

LISTBOX RELATED FUNCTIONS

guiAddListItem Add Items to List Object


guiGetListSel Determines Selected List Items index

guiSetListSel Sets selected list item


guiRemoveListItem Removes particular item from List
guiRemoveListAll Removes all items from List

LOOK & FEEL & POSITIONING

guiSetBgColor Sets Background color for GUI Object


guiSetTextColor Sets Text color for GUI Object

guiSetBorderRadius Sets Border Radius


guiSetBorderColor Sets Border Color
guiSetTexts coming soon
guiSetText Sets Text, Label for all GUI Objects
guiGetText Retrieves Label,Text from GUI Objects
guiSetChecked Sets state of checkbox gui objects
guiGetWidth Retrieves Width of GUI Object
guiGetHeight Retrieves Height of GUI Object
guiSetPos Sets Position (x,y) of GUI Object
guiSetSize Sets Dimension (Width, Height) of GUI Object
guiEnable Defines Enable, Disable State
guiIsEnabled Retrieves if GUI Object is Enabled
guiSetLink Defines Link for "link" object
guiGroupRadio Initiates new Radio Group

LINK FUNCTIONS

guiLinkAdd Adds new Parent or Sub Link


guiLinkRemove Removes either All, Parent or Sub Link

ENUMERATION FUNCTIONS

guiObjectsCount Count of all GUI Objects on chart


guiGetByNum Get handle of object by objectid
guiGetByName Get handle of object by objectname

guiGetType Retrieve Type of object


guiSetName Sets a name to object
guiGetName Gets the name of object

GUI FUNCTIONS

guiAdd Main Function to Add GUI Objects


guiCleanup Function to call in deinit as last
guiRemove Removes particular GUI Object

guiRemoveAll Removes all GUI Objects from chart


guiIsClicked Event : Determines if this object has been clicked
guiIsChecked Determines Checked State of "checkbox"
Objects
guiVersion Version of MT4GUI
guiGetLastError Retrieves Error for last called MT4GUI function

TICKER FUNCTIONS

guiTickerStart Responsible to start Ticker


guiTickerStop Used to stop ticker

VENDOR FUNCTIONS

guiVendor(string apikey) Tags your clients with your apikey, always call before adding any object

You might also like