Karaca Tica
Karaca Tica
Karaca Tica
//| Karacatica.mq5 |
//| Copyright � 2005, Dmitry |
//| |
//+------------------------------------------------------------------+
#property copyright "Copyright � 2006, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net/"
//---- indicator version
#property version "1.00"
//---- drawing the indicator in the main window
#property indicator_chart_window
//----two buffers are used for calculation and drawing of the indicator
#property indicator_buffers 2
//---- only two plots are used
#property indicator_plots 2
//+----------------------------------------------+
//| Bearish indicator drawing parameters |
//+----------------------------------------------+
//---- drawing the indicator 1 as a symbol
#property indicator_type1 DRAW_ARROW
//---- magenta color is used as the color of the bearish label of the indicator
#property indicator_color1 Magenta
//---- thickness of the indicator line 1 is equal to 4
#property indicator_width1 4
//---- displaying of the bearish label of the indicator
#property indicator_label1 "Karacatica Sell"
//+----------------------------------------------+
//| Bullish indicator drawing parameters |
//+----------------------------------------------+
//---- drawing the indicator 2 as a line
#property indicator_type2 DRAW_ARROW
//---- lime color is used as the color of the bullish label of the indicator
#property indicator_color2 Lime
//---- thickness of the indicator line 2 is equal to 4
#property indicator_width2 4
//---- displaying of the bullish label of the indicator
#property indicator_label2 "Karacatica Buy"
//+----------------------------------------------+
//| Indicator input parameters |
//+----------------------------------------------+
input int iPeriod=70; //ATR period
//+----------------------------------------------+
SellBuffer[bar]=0.0;
BuyBuffer[bar]=0.0;