Rads SMAC-D crossover alert

Author: Copyright � 2009, MetaQuotes Software Corp.
Rads SMAC-D crossover alert
Miscellaneous
It issuies visual alerts to the screen
0 Views
0 Downloads
0 Favorites
Rads SMAC-D crossover alert
//+------------------------------------------------------------------+
//|                                  Rads SMAC-D crossover alert.mq4 |
//|                      Copyright © 2009, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2009, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----
if (1000*iCustom(Symbol(),Period(),"Rads SMAC-D",0,1)<1000*iCustom(Symbol(),Period(),"Rads SMAC-D",1,1) && 1000*iCustom(Symbol(),Period(),"Rads SMAC-D",0,0)>1000*iCustom(Symbol(),Period(),"Rads SMAC-D",1,0)) {Alert("CrossOver!!");}
if (1000*iCustom(Symbol(),Period(),"Rads SMAC-D",0,1)>1000*iCustom(Symbol(),Period(),"Rads SMAC-D",1,1) && 1000*iCustom(Symbol(),Period(),"Rads SMAC-D",0,0)<1000*iCustom(Symbol(),Period(),"Rads SMAC-D",1,0)) {Alert("CrossOver!!");}
  
//----
   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 ---