Author: Copyright � 2008, Cobraforex
L THV
0 Views
0 Downloads
0 Favorites
L THV
//+------------------------------------------------------------------+
//|                                                        Label.mq4 |
//|                                     Copyright © 2008, Cobraforex |
//|                                        http://www.cobraforex.com |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2008, Cobraforex"
#property link      "http://www.cobraforex.com"

#property indicator_chart_window
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int    counted_bars=IndicatorCounted();
//----
  ObjectCreate("THV", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("THV","THV MTF System",12, "Arial Black", Gold);
   ObjectSet("THV", OBJPROP_CORNER, 1);
   ObjectSet("THV", OBJPROP_XDISTANCE, 5);
   ObjectSet("THV", OBJPROP_YDISTANCE, 60);  
//----
//----
  ObjectCreate("THV1", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("THV1","www.cobraforex.com",9, "Arial", Gold);
   ObjectSet("THV1", OBJPROP_CORNER, 1);
   ObjectSet("THV1", OBJPROP_XDISTANCE, 20);
   ObjectSet("THV1", OBJPROP_YDISTANCE, 85);  
//----
//----
  ObjectCreate("THV2", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("THV2","Entry:",12, "Arial Black", Green);
   ObjectSet("THV2", OBJPROP_CORNER, 1);
   ObjectSet("THV2", OBJPROP_XDISTANCE, 50);
   ObjectSet("THV2", OBJPROP_YDISTANCE, 100);  
//----
//----
  ObjectCreate("THV3", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("THV3","Blue cross hull and cloud",10, "Arial", White);
   ObjectSet("THV3", OBJPROP_CORNER, 1);
   ObjectSet("THV3", OBJPROP_XDISTANCE, 2);
   ObjectSet("THV3", OBJPROP_YDISTANCE, 120);  
//----
//----
  ObjectCreate("THV4", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("THV4","PA cross blue",10, "Arial", White);
   ObjectSet("THV4", OBJPROP_CORNER, 1);
   ObjectSet("THV4", OBJPROP_XDISTANCE, 35);
   ObjectSet("THV4", OBJPROP_YDISTANCE, 135);  
//----
//----
  ObjectCreate("THV5", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("THV5","Exit:",12, "Arial Black", FireBrick);
   ObjectSet("THV5", OBJPROP_CORNER, 1);
   ObjectSet("THV5", OBJPROP_XDISTANCE, 53);
   ObjectSet("THV5", OBJPROP_YDISTANCE, 150);  
//----
//----
  ObjectCreate("THV6", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("THV6","PA cross blue or",10, "Arial", White);
   ObjectSet("THV6", OBJPROP_CORNER, 1);
   ObjectSet("THV6", OBJPROP_XDISTANCE, 20);
   ObjectSet("THV6", OBJPROP_YDISTANCE, 170);  
//----
//----
  ObjectCreate("THV7", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("THV7","Candle changes color",10, "Arial", White);
   ObjectSet("THV7", OBJPROP_CORNER, 1);
   ObjectSet("THV7", OBJPROP_XDISTANCE, 12);
   ObjectSet("THV7", OBJPROP_YDISTANCE, 185);  
//----
//----
  ObjectCreate("THV8", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("THV8","Happy Trading, Cobra",10, "Arial", White);
   ObjectSet("THV8", OBJPROP_CORNER, 1);
   ObjectSet("THV8", OBJPROP_XDISTANCE, 6);
   ObjectSet("THV8", OBJPROP_YDISTANCE, 210);  
//----
   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 ---