Forum

Continuous Array Out of Range - Custom Indicator

Hi I'm learning to code custom indicators, I am trying to do one for Ichimoku where the indicator must meet a checklist of 4 items: 1) TK Cross 2) Price relative to cloud 3) Favourable cloud (bullish/bearish) 4) Lag span above cloud I have the following code with no errors however critical Array out

MQL5 - Bollinger Buffers displaying same values

#property copyright "Adam" #property link "https://mql5.com" #property version "1.00" int bbHandle; void OnInit () { bbHandle = iBands ( Symbol (), PERIOD_CURRENT , 20 , 2 , 0 , PRICE_CLOSE ); } void OnTick () { double upbb[]; double lwbb[]; double mibb[]; ArraySetAsSeries