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 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
---