0
Views
0
Downloads
0
Favorites
sample_v1
//+------------------------------------------------------------------+
//| Sample.mq5 |
//| Copyright 2013, Rone |
//| rone.sergey@gmail.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2013, Rone"
#property link "rone.sergey@gmail.com"
#property version "1.00"
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
#include <Translator.mqh>
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
#property script_show_inputs
//--- input parameters
input ENUM_LANGUAGES InpToLanguage = RU;
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
CTranslator trObj;
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart() {
//---
trObj.init(MQL5InfoString(MQL5_PROGRAM_NAME), InpToLanguage);
Print(trObj.tr("Buy Signal"), ": ", SymbolInfoDouble(_Symbol, SYMBOL_ASK));
trObj.print("DEAL_CLOSED");
//---
}
//+------------------------------------------------------------------+
Comments
Markdown Formatting Guide
# H1
## H2
### H3
**bold text**
*italicized text*
[title](https://www.example.com)

`code`
```
code block
```
> blockquote
- Item 1
- Item 2
1. First item
2. Second item
---