Re: Does this indicator repaint?
#561Hello, can you confirm that this indicator does not repaint. Thank you for your help.

 ZZ NRP TASpeed AA TT.ex4
 (40.59 KiB) Downloaded 387 times
the arrows are non repaint after bar closePapybillou wrote: ↑Thu Aug 19, 2021 4:49 amHello, can you confirm that this indicator does not repaint. Thank you for your help.
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;
ionone wrote: ↑Sun Sep 19, 2021 8:31 pmusing data from the actual bar (...trend[x] > 0...) but then plotting the arrows earlier (ArrUp[x+1] = ...) makes it repainting for at least 1 barCode: 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;
If causal = true, no recalculating/repainting and if causal = false the indicator is using centered calculation, which means it can and will recalculate/repaint.
I am using with casual=false, Bands acts as a excellent support and resistance, trading updown slope, expansion, narrowing, extension of line on trending side of band.
by samourai88, Sat Jul 04, 2020 11:01 pm in Commercial Services & Offers
by lainIwakura999, Tue Apr 28, 2020 11:57 pm in MT4 Indicators
Users viewing this forum: Bing [Bot], brendons, carlosmartins, CommonCrawl [Bot], Exequiel Cabrera, Jackson Doh, KevinRich2019, Majestic12 [Bot], Mojeek [Bot], mrtools, oskar656, Ricstar_8, Skyold, talaate, Tradehunter, TransparentTrader, Woodyz and 58 guests