Hello could anyone look at my mt5 sourcecode?I am trying to set alert for level cross on bollinger bandwidth indicator,many thanks https://pastebin.com/nrLBZwR9
Your BBandwidthBuffer array is set as series, yet you are trying to access it as a common array. You need to replace BBandwidthBuffer[rates_total - 1 - TriggerCandle] with BBandwidthBuffer[TriggerCandle] in your checks. Also, your two alert checks seems to be the same - in both, you are checking a BBandwidthBuffer value to be less than 0.