Disliked{quote} Trust me, your code isn't doing what you think it is. To step back: BufferALL[] is an array with 2 slots.... Not 2 slots per bar.... Just 2 slots.... [0] and [1]. It isn't a buffer. Each slot will only store one value. Each time you write to it, you overwrite what was previously there. This code: int Timeframe[7][3]={15,,, 60,,, 240,,, 1440,,, 10080,,, 43200,,, ,,}; for(int i=0; i<=5; i++) { BufferALL[0]=iCustom("EURUSD",Timeframe[0],"ADX",14,0,i); } Is doing this: BufferALL[0]=iCustom("EURUSD",15,"ADX",14,0,0); BufferALL[0]=iCustom("EURUSD",60,"ADX",14,0,1);...Ignored
Kind regards,
Codix