Stochastic Readings being sent to a report

 

I need some assistance with and EA that I am using to pull off information regarding Stochastic measurements. The part of the code that is pulling the information is the " iStochastic " command. For some reason I am not getting the stochastic measurements for all of the time-frames being specified. Can anyone let me know what I am doing wrong and why the measurements are not showing for all of the time-frames?

Example of what I am now seeing. You will notice that some of the values are 0. Sometimes each one of them is all 0s. Using the iStochastic command I would like to be able to get data for all 7 time frame being shown in the example below.

08:41:22 SM GBPUSDDaily: 1440Min K=15.574 D=5.5692
08:41:22 SM GBPUSD,Daily: 240Min K=0 D=0
08:41:22 SM GBPUSD,Daily: 60Min K=0 D=0
08:41:22 SM GBPUSD,Daily: 30Min K=81.2698 D=47.3075
08:41:22 SM GBPUSD,Daily: 15Min K=0 D=0
08:41:22 SM GBPUSD,Daily: 10Min K=0 D=0

08:41:22 SM GBPUSD Daily: 5Min K=100 D=94.5436

Contact me @ mrhorton65@yahoo.com

 
Well for starter you'll need data for all time-frames.
Reason: