s_WaveMarker_DeleteByIndex.mq4

Author: Integer
s_WaveMarker_DeleteByIndex.mq4
0 Views
0 Downloads
0 Favorites
s_WaveMarker_DeleteByIndex.mq4
//+------------------------------------------------------------------+
//|                                       s_WaveMarker_DeleteAll.mq4 |
//|                                                                * |
//|                                                                * |
//+------------------------------------------------------------------+
#property copyright "Integer"
#property link      "for-good-letters@yandex.ru"
#property show_inputs
extern int Index = 0;
//+------------------------------------------------------------------+
//| script program start function                                    |
//+------------------------------------------------------------------+
int start()
  {
//----
   for(int i = ObjectsTotal() - 1; i >= 0; i--)
     {
       if(StringFind(ObjectName(i), "WM(" + Index, 0) == 0)
         {
           ObjectDelete(ObjectName(i));
         }
     }
//----
   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 ---