Bid High Low Alert

Bid High Low Alert
Price Data Components
Series array that contains the highest prices of each barSeries array that contains the lowest prices of each barSeries array that contains close prices for each bar
Miscellaneous
It plays sound alerts
0 Views
0 Downloads
0 Favorites
Bid High Low Alert

extern double lowPrice = 1.2345;
extern double highPrice = 1.6789;
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
double close,hi,lo;
int start()
  {
hi=iHigh(NULL,PERIOD_M30,1);
lo=iLow(NULL,PERIOD_M30,1);
close=iClose(NULL,PERIOD_M30,1);
      if(close<lowPrice||close>highPrice)
        {
         PlaySound("alert.wav");
        return(0); 
        }
   return(0);
  }
// the end.

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