Author: Yuriy Tokman
Miscellaneous
It issuies visual alerts to the screen
0 Views
0 Downloads
0 Favorites
Month
//+------------------------------------------------------------------+
//|                                                        Month.mq4 |
//|                                                     Yuriy Tokman |
//|                                            yuriytokman@gmail.com |
//+------------------------------------------------------------------+
#property copyright "Yuriy Tokman"
#property link      "yuriytokman@gmail.com"

//+------------------------------------------------------------------+
//| script program start function                                    |
//+------------------------------------------------------------------+
int start()
  {
//----
   Alert(GetMonth());
//----
   return(0);
  }
//+------------------------------------------------------------------+
string GetMonth() {
  int month = Month();
  switch (month ) {
    case 1   : return("ßíâàðü");
    case 2   : return("Ôåâðàëü");
    case 3   : return("Ìàðò");
    case 4   : return("Àïðåëü");
    case 5   : return("Ìàé");
    case 6   : return("Èþíü");
    case 7   : return("Èþëü");
    case 8   : return("Àâãóñò");
    case 9   : return("Ñåíòÿáðü");
    case 10  : return("Îêòÿáðü");
    case 11  : return("Íîÿáðü");
    case 12  : return("Äåêàáðü");       
    default  : return("Unknown Operation");
  }
}

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 ---