Price Data Components
Miscellaneous
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 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
---