Graphic_Example

Author: Abraão Moreira
0 Views
0 Downloads
0 Favorites
Graphic_Example
ÿþ//+------------------------------------------------------------------+

//|                                              Graphic_Example.mq5 |

//|                                                   Abraão Moreira |

//|                                                abraaomoreira.com |

//+------------------------------------------------------------------+

#property copyright "Abraão Moreira"

#property link      "abraaomoreira.com"

#property version   "1.00"



#include <Graphic.mqh>



CHorizontalLine horizontalLine;

CRetangle retangle;

CLabel label;

CEdit edit;

CButton button;



//+------------------------------------------------------------------+

//| Expert initialization function                                   |

//+------------------------------------------------------------------+

int OnInit() {

  horizontalLine.Create();

  retangle.Create(1, "Retangle", 10, 10, 10, 10);

  label.Create(1, "Label", "Test", 10, 50);

  edit.Create(1, "Edit", "000", 10, 100, 100, 30);

  button.Create(1, "Button", "Test", 100, 30, 10, 150);

  

  return(INIT_SUCCEEDED);

}

//+------------------------------------------------------------------+

//| Expert deinitialization function                                 |

//+------------------------------------------------------------------+

void OnDeinit(const int reason) {

//---



}

//+------------------------------------------------------------------+

//| Expert tick function                                             |

//+------------------------------------------------------------------+

void OnTick() {

//---

  

}

//+------------------------------------------------------------------+

Comments

Markdown supported. Formatting help

Markdown Formatting Guide

Element Markdown Syntax
Heading # H1
## H2
### H3
Bold **bold text**
Italic *italicized text*
Link [title](https://www.example.com)
Image ![alt text](image.jpg)
Code `code`
Code Block ```
code block
```
Quote > blockquote
Unordered List - Item 1
- Item 2
Ordered List 1. First item
2. Second item
Horizontal Rule ---