Jump to content

i have never seen anything indicators by pollon from russia


Recommended Posts

Re: i have never seen anything indicators by pollon from russia

 

//+------------------------------------------------------------------+

//| pollon1.mq4 |

//| Copyright © 2009, MetaQuotes Software Corp. |

//| http://www.metaquotes.net |

//+------------------------------------------------------------------+

#property copyright "Copyright © 2009, MetaQuotes Software Corp."

#property link "http://www.metaquotes.net"

 

#property indicator_separate_window

 

#property indicator_buffers 1

 

#property indicator_color1 Red

 

//---- buffers

 

double ExtMapBuffer1[];

double RSI1,CCI1,a1,a2,a3,max,min,an=0;

extern int n=5;

//+------------------------------------------------------------------+

//| Custom indicator initialization function |

//+------------------------------------------------------------------+

int init()

{

SetIndexStyle(0,DRAW_LINE);

 

SetIndexBuffer(0,ExtMapBuffer1);

 

string short_name = "Pollon";

 

IndicatorShortName(short_name);

return(0);

}

//+------------------------------------------------------------------+

//| Custom indicator deinitialization function |

//+------------------------------------------------------------------+

int deinit()

{

//----

 

//----

return(0);

}

//+------------------------------------------------------------------+

//| Custom indicator iteration function |

//+------------------------------------------------------------------+

int start()

{

int counted_bars=IndicatorCounted();

 

int shift=1;

 

RSI1=iCustom(NULL,0,"RSI",0,shift);

CCI1=iCustom(NULL,0,"CCI",0,shift);

 

Comment(RSI1," ",CCI1);

 

indi();

 

 

return(0);

}

 

 

 

//+------------------------------------------------------------------+

 

/*

 

a1=(cci-rsi)

 

a2=(cci[i-1]-rsi[i+1])-(cci-rsi)

 

a3=(cci[i-2]-rsi[i+2])-(cci[i-1]-rsi[i+1])

 

....

 

an=(cci[i-n]-rsi[i+n])-(cci[i-(n-1)]-rsi[i+(n-1)]) // I think this is general equation.

 

tt1=max(a1+...+an)

 

tt2=min(a1+...+an)

 

res=tt1+tt1

 

*/

 

void indi()

{

int counted_bars=IndicatorCounted();

 

//---- check for possible errors

 

if (counted_bars<0) return(-1);

 

//---- last counted bar will be recounted

 

if (counted_bars>0) counted_bars--;

 

int pos=Bars-counted_bars;

 

double dHigh , dLow , dResult;

 

 

//---- main calculation loop

 

while(pos>=0)

 

{

/*

a1=(cci-rsi)

 

a2=(cci[i-1]-rsi[i+1])-(cci-rsi)

 

a3=(cci[i-2]-rsi[i+2])-(cci[i-1]-rsi[i+1])*/

 

a1=(iCustom(NULL,0,"CCI",0,pos)-iCustom(NULL,0,"RSI",0,pos));

a2=(iCustom(NULL,0,"CCI",0,pos-1)-iCustom(NULL,0,"RSI",0,pos+1))-(iCustom(NULL,0,"CCI",0,pos)-iCustom(NULL,0,"RSI",0,pos));

a3=(iCustom(NULL,0,"CCI",0,pos-2)-iCustom(NULL,0,"RSI",0,pos+2))-(iCustom(NULL,0,"CCI",0,pos-1)-iCustom(NULL,0,"RSI",0,pos+1));

an=(iCustom(NULL,0,"CCI",0,pos-n)-iCustom(NULL,0,"RSI",0,pos+n))-(iCustom(NULL,0,"CCI",0,pos-(n-1))-iCustom(NULL,0,"RSI",0,pos+(n-1)));

//an=(cci[i-n]-rsi[i+n])-(cci[i-(n-1)]-rsi[i+(n-1)])

/*

dHigh = High[pos];

 

dLow = Low[pos];*/

if(a1>a2&&a1>a3&&a1>an){max=a1;}

if(a2>a1&&a2>a3&&a2>an){max=a2;}

if(a3>a1&&a3>a2&&a3>an){max=a3;}

if(an>a1&&an>a2&&an>a3){max=an;}

 

if(a1<a2&&a1<a3&&a1<an){min=a1;}

if(a2<a1&&a2<a3&&a2<an){min=a2;}

if(a3<a1&&a3<a2&&a3<an){min=a3;}

if(an<a1&&an<a2&&an<a3){min=an;}

 

dResult = max+min;

 

ExtMapBuffer1[pos]= dResult ;

 

pos--;

 

}

}

Link to comment
Share on other sites

Re: i have never seen anything indicators by pollon from russia

 

Melihat indicator Mr.Polon => IP(BBs-m)v.80 menurut pengamatan saya mungkin itu adalah hasil reprogram ulang dari sebuah Program utama yang bernama UT-Fast..

 

Seandaikata ada para programmer diforum ini yang dapat merepro ulang UT-Fast itu agar sesuai dengan apa yang terlihat pada layar dibawah ini (sama seperti Mr.Polon punya) maka saya sangat menghargai dan mengharapkannya...

Oh ya settingan UTFast agar agak bagus (center line ada di 20 kayak punya polon)

yaitu :

Smooth = 1.5

Bars = 500

Progression = 1

Len = 3

Sensivity = 39

lalu bagian level dihapus semua lalu diganti saja dengan 1 buah angka yaitu 20

 

 

http://img13.imageshack.us/img13/3253/utfast.jpg

 

original Mr.Polon Screenshoot untuk IP(BBs-m)v.80

 

http://img13.imageshack.us/img13/8702/utfastasli.gif

 

ini main program UT-Fast....

 

#property  indicator_separate_window
#property  indicator_buffers 2
#property  indicator_color1  Lime
#property  indicator_color2  Red

double arr_global_76[];
extern int    key = 111699999996;
extern double Smooth = 1.7;
double var_92 = 100;
extern int    bars = 500;
int    var_104 = 1;
extern int    Progression = 1;
extern int    Len = 3;
extern int    Sensitivity = 39;
int    var_120 = 1;
int    var_124 = 0;
double var_128 = 0;
double var_136;
double var_144;
double var_152;
double var_160;
double var_168;
double var_176;
double var_184;
double var_192;
double var_200 = 0;
int    var_208;
int    var_212;
int    var_216;
int    var_220;
int    var_224;
int    var_228;
int    var_232;
int    var_236;
int    var_240;
int    var_244;
int    var_248;
int    var_252;
int    var_256 = 0;
double var_260;
double var_268;
double var_276;
double var_284;
double var_292;
double var_300;
double var_308;
double var_316;
double var_324;
double var_332;
double var_340;
double var_348;
double var_356;
double var_364;
double var_372;
double var_380;
double var_388;
double var_396;
double var_404;
double var_412;
double var_420;
double var_428;
double var_436;
double var_444;
double var_452;
double var_460 = 0;
int    var_468;
int    var_472;
int    var_476;
int    var_480;
int    var_484;
int    var_488 = 0;
double arr_global_492[128];
double arr_global_496[128];
double arr_global_500[11];
double arr_global_504[62];
double arr_global_508[300];
int    var_512;
int    var_516;
int    var_520;
int    var_524;
int    var_528;
int    var_532;
double var_536;
double var_544;
int    var_552;
double arr_global_556[];
double arr_global_560[15000];
double arr_global_564[15000];
double var_568;
double var_576 = 0;
double var_584;
double var_592;
double var_600 = 0;

//+------------------------------------------------------------------+

int init()
{
for (var_208 = 0; var_208 < 128; var_208++) arr_global_492[var_208] = 0.0;
for (var_208 = 0; var_208 < 128; var_208++) arr_global_496[var_208] = 0.0;
for (var_208 = 0; var_208 < 11;  var_208++) arr_global_500[var_208] = 0.0;
for (var_208 = 0; var_208 < 62;  var_208++) arr_global_504[var_208] = 0.0;
SetIndexStyle(0,DRAW_LINE,0,1);
SetIndexBuffer(0,arr_global_76);
SetIndexStyle(1,DRAW_LINE,0,1);
SetIndexBuffer(1,arr_global_556);

SetLevelValue(0,4);
SetLevelValue(1,8);
SetLevelValue(2,23);
SetLevelValue(3,27);
SetLevelValue(4,6);
SetLevelValue(5,25);


return(0);
}

//+------------------------------------------------------------------+

int start()
{
int    var_start_0;
int    var_start_4;
int    var_start_8;

  switch (key)
     {
     case 34562788: loadJMA(); break;
     default: if (Bars > var_600)
                 {
                 var_600 = Bars;
                 int var_start_16 = 0;
                 for (int var_start_20 = 0; var_start_20 < bars; var_start_20++)
                    {
                    var_584 = 0;
                    var_592 = 0;
                    for (int var_start_24 = Len; var_start_24 <= Len + Progression * Sensitivity; var_start_24 = var_start_24 + Progression)
                       {
                       var_568 = iCustom(NULL,0,"UT_FAST",34562788,var_start_24,bars,0,var_start_20);
                       var_576 = iCustom(NULL,0,"UT_FAST",34562788,var_start_24,bars,0,var_start_20 + 1);
                       if (var_568 > var_576) var_584++; else var_592++;
                       }
                    arr_global_560[var_start_20] = var_584;
                    arr_global_564[var_start_20] = var_592;
                    }
                 lenars(arr_global_560,1);
                 lenars(arr_global_564,2);
                 return(0);
                 }
     }
return(0);
}

//+------------------------------------------------------------------+

void loadJMA()
{
double var_loadJMA_0;

var_220 = 63;
var_224 = 64;
if (var_120 == 1)
  {
  for (var_208 = 1; var_208 < var_220 + 1; var_208++)  arr_global_492[var_208] = -1000000;
  for (var_208 = var_224; var_208 < 128; var_208++) arr_global_492[var_208] = 1000000;
  var_120 = 0;
  }

var_468 = 1;
if (Smooth <= 1.0) var_380 = 0.0000000001; else var_380 = (Smooth - 1.0) / 3; //2

if (var_92 < -100.0) { var_268 = 0.5; } else
if (var_92 > 100.0)  { var_268 = 2.5; } else
                    { var_268 = var_92 / 100 + 1.5; }

var_144 = MathLog(MathSqrt(var_380));
var_152 = var_144;
if ((var_144 / MathLog(2.0) + 2.0) < 0.0) var_160 = 0; else var_160 = var_152 / MathLog(2.0) + 2.0;
var_404 = var_160;
if ((var_404 - 2.0) >= 0.5) var_388 = var_404 - 2.0; else var_388 = 0.5;
var_372 = MathSqrt(var_380) * var_404;
var_396 = var_372 / (var_372 + 1.0);
var_380 = var_380 * 0.9;
var_332 = var_380 / (var_380 + 2.0);
var_468 = 1;
if (bars == 0) bars = Bars;
for (var_124 = bars + 1000; var_124 >= 0; var_124--)
  {
  switch (var_104)
     {
     case 0: var_loadJMA_0 = Close[var_124]; break;
     case 1: var_loadJMA_0 = Open[var_124];  break;
     case 2: var_loadJMA_0 = (Open[var_124] + High[var_124] + Low[var_124] + Close[var_124]) / 4; break;
     case 3: var_loadJMA_0 = High[var_124];  break;
     case 4: var_loadJMA_0 = Low[var_124];   break;
     default:var_loadJMA_0 = Close[var_124];
     }
  if (var_484 < 61)
     {
     var_484 = var_484 + 1;
     arr_global_504[var_484] = var_loadJMA_0;
     }
  if (var_484 > 30)
     {
     if (var_468 != 0)
        {
        var_468 = 0;
        var_212 = 0;
        for (var_208 = 1; var_208 < 30; var_208++)
           {
           if (arr_global_504[var_208 + 1] != arr_global_504[var_208]) var_212 = 1;
           }
        var_472 = var_212 * 30;
        if (var_472 == 0) var_308 = var_loadJMA_0; else var_308 = arr_global_504[1];
        var_276 = var_308;
        if (var_472 > 29) var_472 = 29;
        }
           else
        {
        var_472 = 0;
        }
     for (var_208 = var_472; var_208 >= 0; var_208--)
        {
        if (var_208 == 0) var_260 = var_loadJMA_0; else var_260 = arr_global_504[31 - var_208];
        var_292 = var_260 - var_276;
        var_324 = var_260 - var_308;
        if (MathAbs(var_292) > MathAbs(var_324)) var_152 = MathAbs(var_292); else var_152 = MathAbs(var_324);
        var_412 = var_152;
        var_136 = var_412 + 0.0000000001;
        if (var_236 <= 1) var_236 = 127; else var_236--;
        if (var_240 <= 1) var_240 = 10; else var_240--;
        if (var_256 < 128) var_256++;
        var_176 = var_176 + var_136 - arr_global_500[var_240];
        arr_global_500[var_240] = var_136;
        if (var_256 > 10) var_200 = var_176 * 0.1; else var_200 = var_176 / var_256;
        if (var_256 == 30) var_516 = 0;
        if (var_256 > 127)
           {
           var_184 = arr_global_496[var_236];
           arr_global_496[var_236] = var_200;
           var_252 = 64;
           var_244 = var_252;
           var_512 = var_244;
           while (var_252 > 1)
              {
              if (arr_global_492[var_244] < var_184)
                 {
                 var_252 = var_252 / 2;
                 var_244 = var_244 + var_252;
                 var_512 = var_244;
                 }
                    else
                 {
                 if (arr_global_492[var_244] <= var_184)
                    {
                    var_252 = 1;
                    }
                       else
                    {
                    var_252 = var_252 / 2;
                    var_244 = var_244 - var_252;
                    var_512 = var_244;
                    }
                 }
              }
           }
              else
           {
           arr_global_496[var_236] = var_200;
           if (var_220 + var_224 > 127)
              {
              var_224--;
              var_244 = var_224;
              var_512 = var_244;
              }
                 else
              {
              var_220++;
              var_244 = var_220;
              var_512 = var_244;
              }
           if (var_220 > 96) var_228 = 96; else var_228 = var_220;
           if (var_224 < 32) var_232 = 32; else var_232 = var_224;
           }
        var_252 = 64;
        var_248 = var_252;
        while (var_252 > 1)
           {
           if (arr_global_492[var_248] >= var_200)
              {
              if (arr_global_492[var_248 - 1] <= var_200)
                 {
                 var_252 = 1;
                 }
                    else
                 {
                 var_252 = var_252 / 2;
                 var_248 = var_248 - var_252;
                 }
              }
                 else
              {
              var_252 = var_252 / 2;
              var_248 = var_248 + var_252;
              }
           if ((var_248 == 127) && (var_200 > arr_global_492[127])) var_248 = 128;
           }
        if (var_256 > 127)
           {
           if (var_244 >= var_248)
              {
              if ((var_228 + 1 > var_248) && (var_232 - 1 < var_248))
                 {
                 var_192 = var_192 + var_200;
                 }
                    else
                 {
                 if ((var_232 > var_248) && (var_232 - 1 < var_244))
                    {
                    var_192 = var_192 + arr_global_492[var_232 - 1];
                    }
                 }
              }
                 else
              {
              if (var_232 >= var_248)
                 {
                 if ((var_228 + 1 < var_248) && (var_228 + 1 > var_244))
                    {
                    var_192 = var_192 + arr_global_492[var_228 + 1];
                    }
                 }
                    else
                 {
                 if (var_228 + 2 > var_248)
                    {
                    var_192 = var_192 + var_200;
                    }
                       else
                    {
                    if ((var_228 + 1 < var_248) && (var_228 + 1 > var_244))
                       {
                       var_192 = var_192 + arr_global_492[var_228 + 1];
                       }
                    }
                 }
              }
           if (var_244 > var_248)
              {
              if ((var_232 - 1 < var_244) && (var_228 + 1 > var_244))
                 {
                 var_192 = var_192 - arr_global_492[var_244];
                 }
                    else
                 {
                 if ((var_228 < var_244) && (var_228 + 1 > var_248))
                    {
                    var_192 = var_192 - arr_global_492[var_228];
                    }
                 }
              }
                 else
              {
              if ((var_228 + 1 > var_244) && (var_232 - 1 < var_244))
                 {
                 var_192 = var_192 - arr_global_492[var_244];
                 }
                    else
                 {
                 if ((var_232 > var_244) && (var_232 < var_248))
                    {
                    var_192 = var_192 - arr_global_492[var_232];
                    }
                 }
              }
           }
        if (var_244 <= var_248)
           {
           if (var_244 >= var_248)
              {
              arr_global_492[var_248] = var_200;
              }
                 else
              {
              for (var_516 = var_244 + 1; var_516 < var_248; var_516++) { arr_global_492[var_516 - 1] = arr_global_492[var_516]; }
              arr_global_492[var_248 - 1] = var_200;
              }
           }
              else
           {
           for (var_520 = var_244 - 1; var_520 >= var_248; var_520--) { arr_global_492[var_520 + 1] = arr_global_492[var_520]; }
           arr_global_492[var_248] = var_200;
           }
        if (var_256 <= 127)
           {
           var_192 = 0;
           for (var_528 = var_232; var_528 < var_228 + 1; var_528++) var_192 = var_192 + arr_global_492[var_528];
           }
        var_348 = var_192 / (var_228 - var_232 + 1);
        if (var_488 + 1 > 31) var_488 = 31; else var_488++;
        if (var_488 <= 30)
           {
           if (var_292 > 0.0) var_276 = var_260; else var_276 = var_260 - var_292 * var_396;
           if (var_324 < 0.0) var_308 = var_260; else var_308 = var_260 - var_324 * var_396;
           var_436 = var_loadJMA_0;
           if (var_488 != 30) continue;
           var_444 = var_loadJMA_0;
           if (MathCeil(var_372) >= 1.0) var_168 = MathCeil(var_372); else var_168 = 1;
           var_480 = var_168;
           if (MathFloor(var_372) >= 1.0) var_152 = MathFloor(var_372); else var_152 = 1;
           var_476 = var_152;
           if (var_480 == var_476)
              {
              var_356 = 1;
              }
                 else
              {
              var_168 = var_480 - var_476;
              var_356 = (var_372 - var_476) / var_168;
              }
           if (var_476 <= 29) var_212 = var_476; else var_212 = 29;
           if (var_480 <= 29) var_216 = var_480; else var_216 = 29;
           var_420 = (var_loadJMA_0 - arr_global_504[var_484 - var_212]) * (1 - var_356) / var_476 + (var_loadJMA_0 - arr_global_504[var_484 - var_216]) * var_356 / var_480;
           }
              else
           {
           if (var_404 >= MathPow(MathAbs(var_412 / var_348),var_388)) var_144 = MathPow(MathAbs(var_412 / var_348),var_388); else var_144 = var_404;
           if (var_144 < 1.0)
              {
              var_152 = 1.0;
              }
                 else
              {
              if (var_404 >= MathPow(MathAbs(var_412 / var_348),var_388)) var_160 = MathPow(MathAbs(var_412 / var_348),var_388); else var_160 = var_404;
              var_152 = var_160;
              }
           var_340 = var_152;
           var_364 = MathPow(var_396,MathSqrt(var_340));
           if (var_292 > 0.0) var_276 = var_260; else var_276 = var_260 - var_292 * var_364;
           if (var_324 < 0.0) var_308 = var_260; else var_308 = var_260 - var_324 * var_364;
           }
        }
     if (var_488 > 30)
        {
        var_300 = MathPow(var_332,var_340);
        var_444 = (1 - var_300) * var_loadJMA_0 + var_300 * var_444;
        var_452 = (var_loadJMA_0 - var_444) * (1 - var_332) + var_332 * var_452;
        var_460 = var_268 * var_452 + var_444;
        var_284 = var_300 * (-2.0);
        var_316 = var_300 * var_300;
        var_428 = var_284 + var_316 + 1.0;
        var_420 = (var_460 - var_436) * var_428 + var_316 * var_420;
        var_436 = var_436 + var_420;
        }
     }
  var_128 = var_436;
  arr_global_76[var_124] = var_128;
  }
return;
}

//+------------------------------------------------------------------+

void lenars(double arr_lenars_0[], int inp_lenars_4)
{
double var_lenars_8;

var_220 = 63;
var_224 = 64;
if (var_120 == 1)
  {
  for (var_208 = 1; var_208 < var_220 + 1; var_208++) arr_global_492[var_208] = -1000000;
  for (var_208 = var_224; var_208 < 128; var_208++) arr_global_492[var_208] = 1000000;
  var_120 = 0;
  }

var_468 = 1;
if (Smooth <= 1.0) var_380 = 0.0000000001; else var_380 = (Smooth - 1.0) / 2;

if (var_92 < -100.0) { var_268 = 0.5; } else
if (var_92 > 100.0)  { var_268 = 2.5; } else
                    { var_268 = var_92 / 100 + 1.5; }

var_144 = MathLog(MathSqrt(var_380));
var_152 = var_144;
if (var_144 / MathLog(2.0) + 2.0 < 0.0) var_160 = 0; else var_160 = var_152 / MathLog(2.0) + 2.0;
var_404 = var_160;
if (var_404 - 2.0 >= 0.5) var_388 = var_404 - 2.0; else var_388 = 0.5;
var_372 = MathSqrt(var_380) * var_404;
var_396 = var_372 / (var_372 + 1.0);
var_380 = var_380 * 0.9;
var_332 = var_380 / (var_380 + 2.0);
var_468 = 1;
if (bars == 0) bars = Bars;

for (var_124 = bars + 30; var_124 >= 0; var_124--)
  {
  var_lenars_8 = arr_lenars_0[var_124];
  if (var_484 < 61)
     {
     var_484 = var_484 + 1;
     arr_global_504[var_484] = var_lenars_8;
     }
  if (var_484 > 30)
     {
     if (var_468 != 0)
        {
        var_468 = 0;
        var_212 = 0;
        for (var_208 = 1; var_208 < 30; var_208++)
           {
           if (arr_global_504[var_208 + 1] != arr_global_504[var_208]) var_212 = 1;
           }
        var_472 = var_212 * 30;
        if (var_472 == 0) var_308 = var_lenars_8; else var_308 = arr_global_504[1];
        var_276 = var_308;
        if (var_472 > 29) var_472 = 29;
        }
           else
        {
        var_472 = 0;
        }
     for (var_208 = var_472; var_208 >= 0; var_208--)
        {
        if (var_208 == 0) var_260 = var_lenars_8; else var_260 = arr_global_504[31 - var_208];
        var_292 = var_260 - var_276;
        var_324 = var_260 - var_308;
        if (MathAbs(var_292) > MathAbs(var_324)) var_152 = MathAbs(var_292); else var_152 = MathAbs(var_324);
        var_412 = var_152;
        var_136 = var_412 + 0.0000000001;
        if (var_236 <= 1) var_236 = 127; else var_236--;
        if (var_240 <= 1) var_240 = 10; else var_240--;
        if (var_256 < 128) var_256++;
        var_176 = var_176 + var_136 - arr_global_500[var_240];
        arr_global_500[var_240] = var_136;
        if (var_256 > 10) var_200 = var_176 * 0.1; else var_200 = var_176 / var_256;
        if (var_256 == 30) var_516 = 0;
        if (var_256 > 127)
           {
           var_184 = arr_global_496[var_236];
           arr_global_496[var_236] = var_200;
           var_252 = 64;
           var_244 = var_252;
           var_512 = var_244;
           while (var_252 > 1)
              {
              if (arr_global_492[var_244] < var_184)
                 {
                 var_252 = var_252 / 2;
                 var_244 = var_244 + var_252;
                 var_512 = var_244;
                 }
                    else
                 {
                 if (arr_global_492[var_244] <= var_184)
                    {
                    var_252 = 1;
                    }
                       else
                    {
                    var_252 = var_252 / 2;
                    var_244 = var_244 - var_252;
                    var_512 = var_244;
                    }
                 }
              }
           }
              else
           {
           arr_global_496[var_236] = var_200;
           if (var_220 + var_224 > 127)
              {
              var_224--;
              var_244 = var_224;
              var_512 = var_244;
              }
                 else
              {
              var_220++;
              var_244 = var_220;
              var_512 = var_244;
              }
           if (var_220 > 96) var_228 = 96; else var_228 = var_220;
           if (var_224 < 32) var_232 = 32; else var_232 = var_224;
           }
        var_252 = 64;
        var_248 = var_252;
        while (var_252 > 1)
           {
           if (arr_global_492[var_248] >= var_200)
              {
              if (arr_global_492[var_248 - 1] <= var_200)
                 {
                 var_252 = 1;
                 }
                    else
                 {
                 var_252 = var_252 / 2;
                 var_248 = var_248 - var_252;
                 }
              }
                 else
              {
              var_252 = var_252 / 2;
              var_248 = var_248 + var_252;
              }
           if ((var_248 == 127) && (var_200 > arr_global_492[127])) var_248 = 128;
           }
        if (var_256 > 127)
           {
           if (var_244 >= var_248)
              {
              if ((var_228 + 1 > var_248) && (var_232 - 1 < var_248))
                 {
                 var_192 = var_192 + var_200;
                 }
                    else
                 {
                 if ((var_232 > var_248) && (var_232 - 1 < var_244))
                    {
                    var_192 = var_192 + arr_global_492[var_232 - 1];
                    }
                 }
              }
                 else
              {
              if (var_232 >= var_248)
                 {
                 if ((var_228 + 1 < var_248) && (var_228 + 1 > var_244))
                    {
                    var_192 = var_192 + arr_global_492[var_228 + 1];
                    }
                 }
                    else
                 {
                 if (var_228 + 2 > var_248)
                    {
                    var_192 = var_192 + var_200;
                    }
                       else
                    {
                    if ((var_228 + 1 < var_248) && (var_228 + 1 > var_244))
                       {
                       var_192 = var_192 + arr_global_492[var_228 + 1];
                       }
                    }
                 }
              }
           if (var_244 > var_248)
              {
              if ((var_232 - 1 < var_244) && (var_228 + 1 > var_244))
                 {
                 var_192 = var_192 - arr_global_492[var_244];
                 }
                    else
                 {
                 if ((var_228 < var_244) && (var_228 + 1 > var_248))
                    {
                    var_192 = var_192 - arr_global_492[var_228];
                    }
                 }
              }
                 else
              {
              if ((var_228 + 1 > var_244) && (var_232 - 1 < var_244))
                 {
                 var_192 = var_192 - arr_global_492[var_244];
                 }
                    else
                 {
                 if ((var_232 > var_244) && (var_232 < var_248))
                    {
                    var_192 = var_192 - arr_global_492[var_232];
                    }
                 }
              }
           }
        if (var_244 <= var_248)
           {
           if (var_244 >= var_248)
              {
              arr_global_492[var_248] = var_200;
              }
                 else
              {
              for (var_516 = var_244 + 1; var_516 < var_248; var_516++) arr_global_492[var_516 - 1] = arr_global_492[var_516];
              arr_global_492[var_248 - 1] = var_200;
              }
           }
              else
           {
           for (var_520 = var_244 - 1; var_520 >= var_248; var_520--) arr_global_492[var_520 + 1] = arr_global_492[var_520];
           arr_global_492[var_248] = var_200;
           }
        if (var_256 <= 127)
           {
           var_192 = 0;
           for (var_528 = var_232; var_528 < var_228 + 1; var_528++) var_192 = var_192 + arr_global_492[var_528];
           }
        var_348 = var_192 / (var_228 - var_232 + 1);
        if (var_488 + 1 > 31) var_488 = 31; else var_488++;
        if (var_488 <= 30)
           {
           if (var_292 > 0.0) var_276 = var_260; else var_276 = var_260 - var_292 * var_396;
           if (var_324 < 0.0) var_308 = var_260; else var_308 = var_260 - var_324 * var_396;
           var_436 = var_lenars_8;
           if (var_488 != 30) continue;
           var_444 = var_lenars_8;
           if (MathCeil(var_372) >= 1.0) var_168 = MathCeil(var_372); else var_168 = 1;
           var_480 = var_168;
           if (MathFloor(var_372) >= 1.0) var_152 = MathFloor(var_372); else var_152 = 1;
           var_476 = var_152;
           if (var_480 == var_476)
              {
              var_356 = 1;
              }
                 else
              {
              var_168 = var_480 - var_476;
              var_356 = (var_372 - var_476) / var_168;
              }
           if (var_476 <= 29) var_212 = var_476; else var_212 = 29;
           if (var_480 <= 29) var_216 = var_480; else var_216 = 29;
           var_420 = (var_lenars_8 - arr_global_504[var_484 - var_212]) * (1 - var_356) / var_476 + (var_lenars_8 - arr_global_504[var_484 - var_216]) * var_356 / var_480;
           }
              else
           {
           if (var_404 >= MathPow(MathAbs(var_412 / var_348),var_388)) var_144 = MathPow(MathAbs(var_412 / var_348),var_388); else var_144 = var_404;
           if (var_144 < 1.0)
              {
              var_152 = 1.0;
              }
                 else
              {
              if (var_404 >= MathPow(MathAbs(var_412 / var_348),var_388)) var_160 = MathPow(MathAbs(var_412 / var_348),var_388); else var_160 = var_404;
              var_152 = var_160;
              }
           var_340 = var_152;
           var_364 = MathPow(var_396,MathSqrt(var_340));
           if (var_292 > 0.0) var_276 = var_260; else var_276 = var_260 - var_292 * var_364;
           if (var_324 < 0.0) var_308 = var_260; else var_308 = var_260 - var_324 * var_364;
           }
        }
     if (var_488 > 30)
        {
        var_300 = MathPow(var_332,var_340);
        var_444 = (1 - var_300) * var_lenars_8 + var_300 * var_444;
        var_452 = (var_lenars_8 - var_444) * (1 - var_332) + var_332 * var_452;
        var_460 = var_268 * var_452 + var_444;
        var_284 = var_300 * (-2.0);
        var_316 = var_300 * var_300;
        var_428 = var_284 + var_316 + 1.0;
        var_420 = (var_460 - var_436) * var_428 + var_316 * var_420;
        var_436 = var_436 + var_420;
        }
     }
  var_128 = var_436;
  if (inp_lenars_4 == 1) arr_global_76[var_124] = var_128; else arr_global_556[var_124] = var_128;
  }
return;
} 

SEFC Mode= Red light ...(off) ..

"Indonesia Forex Community"

Link to comment
Share on other sites

Re: i have never seen anything indicators by pollon from russia

 

http://img13.imageshack.us/img13/3253/utfast.jpg

 

 

Dear @SEFC;

 

Could you please upload the tpl+ indis to 4shared or mediafire or rapid etc.?

 

Thank you

 

IP (BBS-m) and IP (BBS-Index) are Totally Different Indicators. They are not the same with UltraTrend . UltraTrend does not use RSI or CCI. They are Totally Different Indicators. So what you are posting is not true. UltraTrend and IP (BBS-m) have similar concepts but the code seems different.

Link to comment
Share on other sites

Re: i have never seen anything indicators by pollon from russia

 

 

IP (BBS-m) and IP (BBS-Index) are Totally Different Indicators. They are not the same with UltraTrend . UltraTrend does not use RSI or CCI. They are Totally Different Indicators. So what you are posting is not true. UltraTrend and IP (BBS-m) have similar concepts but the code seems different.

 

You should not make quote from my post ; I don't claim anything and I don't care about : they are same or not; i just wanted something from @SEFC :)

Link to comment
Share on other sites

Re: i have never seen anything indicators by pollon from russia

 

Sorry , i was just pointing out the facts. i did not want anyone to think that they are the same thing. I am also looking for IP (BBS-m) and IP ( BBS-index) and as you know the owner is not willing to share at the Moment so we are stuck trying to create a similar one.

 

thanks :P :mrgreen: :arrow:

Link to comment
Share on other sites

Re: i have never seen anything indicators by pollon from russia

 

Dear @SEFC;

 

Could you please upload the tpl+ indis to 4shared or mediafire or rapid etc.?

 

Thank you

 

Mr.Texan, please check your PM.. :mrgreen:

Do not forget .. level changed

Because I have not reprogram the whole UT-Fast is ..

http://img8.imageshack.us/img8/6650/texan.jpg

SEFC Mode= Red light ...(off) ..

"Indonesia Forex Community"

Link to comment
Share on other sites

Re: i have never seen anything indicators by pollon from russia

 

...we are stuck trying to create a similar one.

if the posted formula reflects the original indicator you have to consider the fact that the indicator looks into the future, so in real-time you MUST have a certain number of false positive.. :x

Link to comment
Share on other sites

Re: i have never seen anything indicators by pollon from russia

 

Sorry , i was just pointing out the facts. i did not want anyone to think that they are the same thing. I am also looking for IP (BBS-m) and IP ( BBS-index) and as you know the owner is not willing to share at the Moment so we are stuck trying to create a similar one.

 

thanks :P :mrgreen: :arrow:

 

 

Np :)

Link to comment
Share on other sites

Re: i have never seen anything indicators by pollon from russia

 

With all my regards to bro Moshi, the posted formula is not correct.

 

Here's why:

- The posted formula (considering the min and max are correct) has 1 final result, which is a number and not a series of numbers. Thus we could not draw a line, but only get one number which I think should be displayed on comment.

 

- By analysing the math equation, assuming the min and max are separated and correct, if we plot the min and max combined, we would get a heart-sine-beat like graph, not a smoothed one like the screenshot.

 

- If we plot both separately, the fluctuation of prices would be quite large, thus it can't be plotted that smooth as in the picture.

 

- The numbers are not matching. RSI is ranging between 0 to 100, CCI is ranging between -500 to +500, the formula is basically CCI minus RSI minus CCI 2 last candle minus RSI 2 last candle. The resulting number would be big, unlike the screenshot.

 

Thus, I think the math formula is not correct. Like bro moshi told us, the creator just don't want to share the formula, we have to guess it by ourselves.

 

To leeb77, thanks for trying, it's very honourable of you to do that. However, you forget to translate the math formula into the correct sequence. The 'an' shouldn't be a variable 'an' but it is a math formula of sequence 'a(n)' thus you should put it into array. Also, CCI and RSI could be accessed by iCCI and iRSI function respectively, and you forget to set the period. Perhaps after you fix your code, we could start things from there.

 

Regards,

Ore no Shinka Hikari yo Hayai. Zen Uchi o Nani no Mono Ore no Shinka Chuito Kore Nai.

Ten no Michi yo Iki. Subete o Sukosadoru Otoko.

Link to comment
Share on other sites

Re: i have never seen anything indicators by pollon from russia

 

Assuming that the formula is correct, my personal interpretation of it is as follow:

1) min and max can't be the same, so we have to figure out some discriminating method. I guess that you have to collect 2 different sums for min and max,i.e.: for the min you have to sum the first 3 (or 4 or 5 ecc..) terms and all the series for the max.

For example, in my brute elaboration I have fixed the chain of sums to 15 terms; the sum of the first 7 term gives us the min value, the sum of all 15 term give us the max value. The sum of both min and max gives the value of the indicator. 7 and 15 are arbitrary values.

Furthemore, the value of CCI and RSI is arbitrary too: I have choosen the standard '14'.

Final result shows flebile evidences in favour of this indicator as a trigger for a buy signal BUT you have always to consider that this indicator looks into the future: backtesting shows this disappointing effect with wrong signals. Becarful.

Moreover, the scales of CCI and RSI are really different in size, as pointed out by William, and the final sum of min and max looks slighty different from the sum of all terms only.

In the end, we do not have enough information to put a final word about this indicator but - if the things are as we know it - it don't seems a real 'killer'.

:peace:

 

 

p.s.: sorry, I can't attach the image of indicator 'cause: "the board attachment quota has been reached." I don't know how to solve the problem

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...