Page 14 of 66

Re: Does this indicator repaint?

Posted: Thu Oct 12, 2017 4:35 am
by mntiwana
friend4you wrote: Thu Oct 12, 2017 3:34 am Hi!
I tested this oscillator of old 2006, which is changed for many snake systems that have repainting indicators, but after all my backtesting I could not find evidence that also this repaints, but it may use centered tma, which repaints badly. Can you help me?
Snake in borders 2006 Osz.no repaint.ex4
Snake in borders 2006 Osz.no repaint.mq4
Which help you required for repainting indicator :)

Re: Does this indicator repaint?

Posted: Thu Oct 12, 2017 4:39 am
by mntiwana
chsrahim wrote: Thu Oct 12, 2017 4:27 am Hi ,
please, could anyone tell me if this indicator repaints or not ?
if it does, can you fix it ?
Thank you
As already "PAVA" explained you that he can fix it but i believes he cant manage time for
All TMA centered repaints,no solution

Re: Does this indicator repaint?

Posted: Thu Oct 12, 2017 4:45 am
by chsrahim
Thank you dear pava and mntiwana. i am so sorry , i did a mistake , i mean this indicator

Re: Does this indicator repaint?

Posted: Thu Oct 12, 2017 5:01 am
by Pava
mntiwana wrote: Thu Oct 12, 2017 4:39 am
As already "PAVA" explained you that he can fix it but i believes he cant manage time for
All TMA centered repaints,no solution
I got enough time to code indicator or two...:)

Re: Does this indicator repaint?

Posted: Thu Oct 12, 2017 5:44 am
by mrtools
chsrahim wrote: Thu Oct 12, 2017 4:45 am Thank you dear pava and mntiwana. i am so sorry , i did a mistake , i mean this indicator
Chsrahim, yes it repaints to get something similar and no repaint look for regular assymetrical bands.

Re: Does this indicator repaint?

Posted: Thu Oct 12, 2017 5:46 am
by mntiwana
Pava wrote: Thu Oct 12, 2017 5:01 am

I got enough time to code indicator or two...:)
So next time we will wait impatiently then :)

Re: Does this indicator repaint?

Posted: Thu Oct 12, 2017 6:28 am
by friend4you
mntiwana wrote: Thu Oct 12, 2017 4:35 am
Which help you required for repainting indicator :)
Centered TMA like in the other, previous posts, repaint, but I said this version of oscillator I posted does not repaint. How can you see it without downloading and checking? Not all snakes are the same. Mladen posted some triangular ma (TMA) that don't repaint.
Snake in borders 2006 Osz.no repaint.ex4
(18.86 KiB) Not downloaded yet
Snake in borders 2006 Osz.no repaint.mq4
(6.11 KiB) Downloaded 1 time

Re: Does this indicator repaint?

Posted: Thu Oct 12, 2017 7:05 am
by Pava
mntiwana wrote: Thu Oct 12, 2017 5:46 am
So next time we will wait impatiently then :)
I said I got enough time...I never said I have enough skills :)

Re: Does this indicator repaint?

Posted: Thu Oct 12, 2017 7:41 am
by mladen
friend4you wrote: Thu Oct 12, 2017 6:28 am

Centered TMA like in the other, previous posts, repaint, but I said this version of oscillator I posted does not repaint. How can you see it without downloading and checking? Not all snakes are the same. Mladen posted some triangular ma (TMA) that don't repaint.
Snake in borders 2006 Osz.no repaint.ex4
(18.86 KiB) Not downloaded yet
Snake in borders 2006 Osz.no repaint.mq4
(6.11 KiB) Downloaded 1 time
That is correct : that version is using my "regular" TMA (that does not repaint - this function :

Code: Select all

double iTma(double price, double period, int i)
{
   double half = (period+1.0)/2.0;
   double sum  = 0;
   double sumw = 0;
   prices[i] = price;

// for(int k=0; k<period && (i+k)<Bars; k++)
   for(int k=0; k<period;k++)
   {
      double weight = k+1; if (weight > half) weight = period-k;
             sumw  += weight;
             sum   += weight*prices[i+k];  
   }             
   if (sumw!=0)
         return(sum/sumw);
   else  return(EMPTY_VALUE);
}

Re: Does this indicator repaint?

Posted: Sun Oct 22, 2017 8:01 am
by Cladi39
Dear mladen and team, the bars of this indicator repaint or recalculate when candle close? ( specialy the colored green and red ones) Thanks in advance.