Disliked{quote} Hi, Starting from 4th parameter of iCustom, you give the input params of your indi and then the index (zero based) of the buffer you want to obtain in return, and the shift in that buffer. Example: iCustom( "EURUSD", PERIOD_H1, "MyIndi", 22/*input param of indicator*/, 0/*buffer*/, 0/*index in buffer*/ );Ignored
What about this part?
Inserted Code
void OnTick() { double buffer[]; if(CopyBuffer(handle,0,0,0,buffer)<=0) do something...(); }
First 0 is buffer number?