Page 57 of 67

Re: Does this indicator repaint?

Posted: Thu Aug 19, 2021 4:44 pm
by ionone
Papybillou wrote: Thu Aug 19, 2021 4:49 am Hello, can you confirm that this indicator does not repaint. Thank you for your help.
the arrows are non repaint after bar close

the zig zag is delayed a few bars

Re: Does this indicator repaint?

Posted: Fri Aug 20, 2021 2:05 am
by Papybillou
ionone wrote: Thu Aug 19, 2021 4:44 pm the arrows are non repaint after bar close
the zig zag is delayed a few bars
Thanks to you.

Re: Does this indicator repaint?

Posted: Sun Sep 19, 2021 7:13 pm
by 17MA
Hi can someone help me check if this indicator repaints?

Re: Does this indicator repaint?

Posted: Sun Sep 19, 2021 8:31 pm
by ionone
17MA wrote: Sun Sep 19, 2021 7:13 pm Hi can someone help me check if this indicator repaints?
using data from the actual bar (...trend[x] > 0...) but then plotting the arrows earlier (ArrUp[x+1] = ...) makes it repainting for at least 1 bar

Code: Select all

if  (trend[x+1] < 0 && trend[x] > 0)   ArrUp[x+1] = ExtMapBuffer[x+1] - Gap*Point;   else ArrUp[x+1] = EMPTY_VALUE; 
            if  (trend[x+1] > 0 && trend[x] < 0)   ArrDn[x+1] = ExtMapBuffer[x+1] + Gap*Point;   else ArrDn[x+1] = EMPTY_VALUE; 

Re: Does this indicator repaint?

Posted: Sun Sep 19, 2021 9:38 pm
by 17MA
ionone wrote: Sun Sep 19, 2021 8:31 pm using data from the actual bar (...trend[x] > 0...) but then plotting the arrows earlier (ArrUp[x+1] = ...) makes it repainting for at least 1 bar

Code: Select all

if  (trend[x+1] < 0 && trend[x] > 0)   ArrUp[x+1] = ExtMapBuffer[x+1] - Gap*Point;   else ArrUp[x+1] = EMPTY_VALUE; 
            if  (trend[x+1] > 0 && trend[x] < 0)   ArrDn[x+1] = ExtMapBuffer[x+1] + Gap*Point;   else ArrDn[x+1] = EMPTY_VALUE; 

Thanks does the line itself repaint too?

Re: Does this indicator repaint?

Posted: Sun Sep 19, 2021 11:33 pm
by wojtek
This is a very old version of HMA. In this forum you can
find a lot of different versions of HMAs which are correctly coded.

Re: Does this indicator repaint?

Posted: Mon Sep 20, 2021 2:08 am
by sal
Mr.tools
I saw recent one post and i would like to know this indicator will repaint mainly the upper , lower & middle lines??
if its repaint, how many bars will affect. any idea!!

Re: Does this indicator repaint?

Posted: Mon Sep 20, 2021 3:32 am
by mrtools
sal wrote: Mon Sep 20, 2021 2:08 am Mr.tools
I saw recent one post and i would like to know this indicator will repaint mainly the upper , lower & middle lines??
if its repaint, how many bars will affect. any idea!!
If causal = true, no recalculating/repainting and if causal = false the indicator is using centered calculation, which means it can and will recalculate/repaint.

Re: Does this indicator repaint?

Posted: Mon Sep 20, 2021 6:47 pm
by Krunal Gajjar
sal wrote: Mon Sep 20, 2021 2:08 am Mr.tools
I saw recent one post and i would like to know this indicator will repaint mainly the upper , lower & middle lines??
if its repaint, how many bars will affect. any idea!!
I am using with casual=false, Bands acts as a excellent support and resistance, trading up-down slope, expansion, narrowing, extension of line on trending side of band.

Re: Does this indicator repaint?

Posted: Mon Sep 20, 2021 8:38 pm
by sal
Krunal Gajjar wrote: Mon Sep 20, 2021 6:47 pm I am using with casual=false, Bands acts as a excellent support and resistance, trading up-down slope, expansion, narrowing, extension of line on trending side of band.
Great .. please share the tips that you works for entry point. :)