Navigation:Home > Content >

Trline_norm.mq4

Time: 2013-10-28 | Download file:Trline_norm.mq4

#property indicator_separate_window
#property indicator_buffers 1
#property indicator_style1 STYLE_SOLID
#property indicator_color1 Green

#property indicator_level1 0
//#property indicator_level2 -2
//#property indicator_level3 2
//#property indicator_level4 -1
//#property indicator_level5 1
#property indicator_minimum -3
#property indicator_maximum 3






extern int period=14;
double ExtBuffer0[];

int init()
{
   SetIndexStyle(0,DRAW_LINE);
   SetIndexBuffer(0,ExtBuffer0);
   IndicatorShortName("Trline_norm");
return(0);
}


int start()
{
int limit;
int counted_bars;
double Value=0,Value1=0,Fish1=0;
double price;
double MinL=0;
double MaxH=0;
   
   counted_bars=IndicatorCounted();

   if(counted_bars>0) counted_bars--;
   limit=Bars-counted_bars;


   for(int i=0; i        

Recommend