Spread&StopLoss

Author: Copyright � 2007, Pucio
Spread&StopLoss
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 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 ---