Re: Does this indicator repaint?

131
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 :)
Indicator is just a tool.

Use it only if it can benefit you. Leave it if you don't know how to use it optimally.


Re: Does this indicator repaint?

132
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
Indicator is just a tool.

Use it only if it can benefit you. Leave it if you don't know how to use it optimally.


Re: Does this indicator repaint?

137
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?

139
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);
}


Who is online

Users browsing this forum: ChatGPT [Bot], DVanAssen, mrtools, talaate, TransparentTrader and 72 guests