Re: Does this indicator repaint?

#565
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?

#566
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?

#569
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?

#570
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.


  1. Similar Topics

    1. 0 Replies
      2771 Views
    2. Is it possible to make this indicator non-repaint?

      9 Replies 4105 Views

      by lainIwakura999, Tue Apr 28, 2020 11:57 pm in MT4 Indicators

      9 Replies
      4105 Views

Return to “MT4 Indicators”

Users viewing this forum: Bing [Bot], brendons, carlosmartins, CommonCrawl [Bot], Exequiel Cabrera, Jackson Doh, KevinRich2019, Majestic-12 [Bot], Mojeek [Bot], mrtools, oskar656, Ricstar_8, Skyold, talaate, Tradehunter, TransparentTrader, Woodyz and 58 guests