Author: Copyright � 2010, andy
0 Views
0 Downloads
0 Favorites
price_v3
//+------------------------------------------------------------------+
//|                                                        price.mq4 |
//|                                           Copyright © 2010, andy |
//|                                                                  |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2010, andy"
#property link      ""

#property indicator_chart_window
extern color col = Black;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
//----

ObjectsDeleteAll();
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
 
 ObjectDelete("label");
 
 ObjectCreate("label", OBJ_ARROW, 0,Time[0], Bid);
 ObjectSet("label",OBJPROP_ARROWCODE,SYMBOL_RIGHTPRICE);
 ObjectSet("label",OBJPROP_COLOR,col); 
 
//----
   
//----
   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 ---