Topic: Ichimoku Indicator missing value in Mt4

Hi,

The Ichimoku indictor doesnt seem to be working correctly on Mt4. The chikou span value is always showing as zero?

Re: Ichimoku Indicator missing value in Mt4

Chikou Span takes Close price from the future smile

   for(int bar=0; bar<Data.Bars-kijun; bar++)
     {
      chikouSpan[bar]=Data.Close[bar+kijun];
     }

It has meaningful values only "kijun" bars back.

FSB Pro's experts show the last two bars in the chart, so Chikou is not define there (yet).

Re: Ichimoku Indicator missing value in Mt4

Okay I think that makes sense. It's got a value but it's just in the past (usually 26 bars), so doesn't really show up in mt4 which is showing values for current bar (but does in fsbpro indicator chart because it adjusts).

But that doesn't prevent the mt4 advisor detecting a chikou span cross as an exit signal for example?

Re: Ichimoku Indicator missing value in Mt4

FSB Pro shows the Chikou Span values (except for the last 26ish bars)

> But that doesn't prevent the mt4 advisor detecting a chikou span cross as an exit signal for example?

Chikou Span is meaningless for the real trading. it has no defined values for the current bar.


Here the Chikou value is visible.

I also made the ATR visible for a test by settings `ShowInDynInfo = true`.

https://image-holder.forexsb.com/store/chikou-span-value-atr-value-thumb.png

Re: Ichimoku Indicator missing value in Mt4

Great, got it. Cheers :-)