Author: Copyright � 2009, Kurl.FX
clearSGNLs
0 Views
0 Downloads
0 Favorites
clearSGNLs
//2009.01.30
//+------------------------------------------------------------------+
//|                                                   clearSGNLs.mq4 |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2009, Kurl.FX"
#property link      ""
//+------------------------------------------------------------------+
//| script ""     |
//+------------------------------------------------------------------+
int start()
  {
     int    obj_total=ObjectsTotal();
     string name;
     for(int i=0; i<obj_total; i++)
     {
          name=ObjectName(obj_total-1-i);
          string chk=StringSubstr(name,0,4);
          if (chk=="SGNL") ObjectDelete(name);
     } 
      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 ---