Shifted or mmuty time frame high low channel probably.
Hello all
can you all tell me what the name is indi..??
and share for me
Thanks
maulana1989
Here is a code that will do almost exactly what you have on your picture (and example how does it look on chart) :
#property indicator_buffers 2
#property indicator_color1 LimeGreen
#property indicator_color2 Red
extern int length = 30;
extern int shift = 15;
double up[];
double dn[];
//
//
//
//
//
//
int init()
{
SetIndexBuffer(0,up);
SetIndexBuffer(1,dn);
return(0);
}
int start()
{
int counted_bars=IndicatorCounted();
if(counted_bars<0) return(-1);
if(counted_bars>0) counted_bars--;
int limit = MathMin(Bars-counted_bars,Bars-1);
limit = MathMax(limit,shift);
//
//
//
//
//
for(int i=limit; i>=0; i--)
{
double max = High;
double min = Low;
for (int k=1; k<length-shift; k++)
{
max = MathMax(max,High);
min = MathMin(min,Low );
if ((i-k)>=0)
{
max = MathMax(max,High);
min = MathMin(min,Low );
}
}
up = max;
dn = min;
}
return (0);
}With some length and shift experimenting, you are going to get exactly the same valuesIt is looking in future values to do that, so it is a repainting indicator
Hello all
can you all tell me what the name is indi..??
and share for me
Thanks
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello all
can you all tell me what the name is indi..??
and share for me
Thanks