BBands_stop_V1 iCustom value calling problem - page 2

 
another point is noteworthy: it's not a good idea to specify 0 as timeframe (the current chart period). MT4 "calculates" a hash over all specified parameters (except "buffers" and "bar") and loads a new indicator instance into memory, whenever this hash changes (for every new parameter set). it takes time and a lot of CPU, you can compare it to loading the same indicator once more onto the same chart. this means, with every change of the chart timeframe an EA loads a new indicator into memory, there's no such thing as REASON_CHARTCHANGE inside iCustom(). it's better (speed, memory) to explicitely specify the timeframe in iCustom() calls.
Reason: