//--- ArraySetAsSeries(close,true); int limit; if(prev_calculated==0) limit=rates_total-BBPeriod; else limit=rates_total-prev_calculated; int count=(limit>1 ? rates_total : 1),copied=0; copied=CopyBuffer(bbhandle,1,0,count,UpperBuffer); if(copied!=count) return 0; copied=CopyBuffer(bbhandle,2,0,count,LowerBuffer); if(copied!=count) return 0; for(int i=0; i<=limit; i++){ BLGBuffer[i]=(close[i]-LowerBuffer[i])/(UpperBuffer[i]-LowerBuffer[i]); }
Naguisa Unada:
thanks
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
?