Ichimoku Kinko Hyo - Chikou Span values from EA

 

I have tried both MT4 "Ichimoku Kinko Hyo " indicator and custom "Ichimoku" indicator in an EA, keep getting 0 (zero) as a return for the Chikou Span value.... All the other 4 values return correct chart data

MT4 Ichimoku Kinko Hyo

double IChLast = iIchimoku(NULL,0,9,26,52,MODE_CHIKOUSPAN,BarShift); 


custom Ichimoku 

double IChLast = iCustom(NULL,0,"Ichimoku",9,26,52,4,BarShift);

Any ideas please???


GPB

 

With standard settings there is no value for the chikou for the last 26 bars.
Look at the chart.

Topics concerning MT4 and MQL4 have their own section.

In future please post in the correct section.

I have moved your topic to the MQL4 and Metatrader 4 section.

Reason: