Miscellaneous
0
Views
0
Downloads
0
Favorites
ScreenShotiscripta
//+------------------------------------------------------------------+
//| ScreenShot.mq4(ñêðèïò) |
//+------------------------------------------------------------------+
void start(){
int Width = 1400;
int Hight= 750;
PlaySound("tick.wav");
string mesyac;
string Per;
switch(Period())
{
case 1: Per="M1";break;
case 5: Per="M5";break;
case 15: Per="M15";break;
case 30: Per="M30";break;
case 60: Per="H1";break;
case 240: Per="H4";break;
case 1440: Per="D1";break;
case 10080: Per="W1";break;
case 43200: Per="MN";break;
}
switch(Month())
{
case 1: mesyac="ÿíâàðÿ";break;
case 2: mesyac="ôåâðàëÿ";break;
case 3: mesyac="ìàðòà";break;
case 4: mesyac="àïðåëÿ";break;
case 5: mesyac="ìàÿ";break;
case 6: mesyac="èþíÿ";break;
case 7: mesyac="èþëÿ";break;
case 8: mesyac="àâãóñòà";break;
case 9: mesyac="ñåíòÿáðÿ";break;
case 10: mesyac="îêòÿáðÿ";break;
case 11: mesyac="íîÿáðÿ";break;
case 12: mesyac="äåêàáðÿ";break;
}
string chas=Hour();
string min=Minute();if(Minute()<10)min="0"+Minute();
string TimeLoc=TimeToStr(TimeLocal(),TIME_SECONDS);
string sec=StringSubstr(TimeLoc,6,0);
string name=Day()+" "+mesyac+" - "+chas+"."+min+"."+sec+" - "+Per+" ("+Symbol()+")";
WindowScreenShot(name+".gif",Width,Hight);
return;}
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
---