iCustom not working for indicator which loads data from server



I'm trying to create an EA based on ***Outlook indicator but the indicator loads data from server and show it after it's loaded. When I try to get it using iCustom() I get the value = 2147483647(max value for int32) which is not correct.

Is there a way to wait for data to load and after to get it. 

One other way is to take the data from "Data Window" but I couldn't find any solution for that.

Can anyone help?