0
Views
0
Downloads
0
Favorites
Spread&StopLoss
//+------------------------------------------------------------------+
//| Spread&StopLoss.mq4 |
//| |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2007, Pucio"
#property link "Pucio"
#property indicator_chart_window
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
Comment("");
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
//---- indicators
double MSpread = MarketInfo(Symbol(), MODE_SPREAD); // Spread value in points.
double MStopLe = MarketInfo(Symbol(), MODE_STOPLEVEL); // Stop level in points.
Comment(
"\n",
"PRESENT SPREAD ",MSpread,
"\n",
"PRESENT STOP LOSS ",MStopLe);
//----
return(0);
}
//+------------------------------------------------------------------+
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
---