Indicators: BSI Trend and Channel

 

BSI Trend and Channel:

This indicator shows trend line or channels (using the BSI Indicator).

Fig.1. Uptrend line

Author: fxborg

 
Automated-Trading:

BSI Trend and Channel:

Author: fxborg

very good . i love this indicator.
 
thanks for sharing , good indicator 
 
I have two weeks of testing. This indicator is perfect. But you read it right. As I said perfect. I want to thank you for sharing ..
 
gbltrk:
I have two weeks of testing. This indicator is perfect. But you read it right. As I said perfect. I want to thank you for sharing ..
I also thank you for your cooperation.
 
Does it repaint?
 
InfiniteLoop:
Does it repaint?

Yes it repaint.  

      //--- change trend line
         if(HighesBuffer[i-1]<HighesBuffer[i] || LowesBuffer[i-1]>LowesBuffer[i])
           {
            //---
            UpTrendBuffer[i] = a+(h1+h2)/2;
            LoTrendBuffer[i] = a-(l1+l2)/2;
            MdTrendBuffer[i]=a;
            SlopeBuffer[i]=b;
            //---
            for(j=1;j<InpTrendPeriod;j++)
              {
               //--- 
               UpTrendBuffer[i-j] = UpTrendBuffer[i-j+1]+b;
               LoTrendBuffer[i-j] = LoTrendBuffer[i-j+1]+b;
               MdTrendBuffer[i-j] = MdTrendBuffer[i-j+1]+b;
               //---
              }
            is_update=true;
           }
 
fxborg:

Yes it repaint.  

Would changing line 

is_update=true

to 

is_update=false

make it a non re-painter?

 

Do you have this for MT5? I tried to search only to find this

https://www.mql5.com/en/code/13988

whis is not the same.. 


thank you in advance 

BSI Trend Indicator
BSI Trend Indicator
  • www.mql5.com
This indicator shows the condition of the trend using the BSI Indicator.
 

I converted to MQL5 


https://www.mql5.com/en/code/41461

BSI Trend and Channel
BSI Trend and Channel
  • www.mql5.com
This indicator shows trend line and channels using the BSI Indicator. Original work of https://www.mql5.com/en/code/13615
Reason: