EventsExpert

Author: Copyright � 2006, komposter
Miscellaneous
It issuies visual alerts to the screen
0 Views
0 Downloads
0 Favorites
EventsExpert
//+------------------------------------------------------------------+
//|                                                 EventsExpert.mq4 |
//|                                      Copyright © 2006, komposter |
//|                                      mailto:komposterius@mail.ru |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2006, komposter"
#property link      "mailto:komposterius@mail.ru"

extern int MagicNumber = 0;

#include <Events.mq4>

int start()
{
	CheckEvents( MagicNumber );

	if ( eventBuyClosed_SL > 0 )
		Alert( Symbol(), ": Buy-ïîçèöèÿ çàêðûòà ïî ÑòîïËîññó!" );

	if ( eventBuyClosed_TP > 0 )
		Alert( Symbol(), ": Buy-ïîçèöèÿ çàêðûòà ïî ÒåéêÏðîôèòó!" );

	if ( eventBuyLimitOpened > 0 || eventBuyStopOpened > 0 || 
		  eventSellLimitOpened > 0 || eventSellStopOpened > 0 )
		Alert( Symbol(), ": ñðàáîòàë îòëîæåííûé îðäåð!" );
return(0);
}

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