Ichimoku Indicator Error

Created at 12 Jun 2018, 17:31
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
solomonawulonu's avatar

solomonawulonu

Joined 10.06.2018

Ichimoku Indicator Error
12 Jun 2018, 17:31


Dear Support, While using Ichimoku Indicator I observed that the value for Span A and Span B are mixed.

Ichimoku Indicator while attached to the chart is ok. But when referenced in cBot the value of Span A is actually Span B. while the value of Span B is actually Span A.

Please do fix this error.


@solomonawulonu
Replies

PanagiotisCharalampous
13 Jun 2018, 09:21

Hi solomonawulonu,

Thanks for posting in our forum and for reporting this issue. We will investigate and fix if there is a problem.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jun 2018, 10:48

Hi Solomon,

We had a look at this but we don't see any issue. Could you please send us more information e.g. a screenshot and/or a cBot?

Best Regards,

Panagiotis


@PanagiotisCharalampous

solomonawulonu
13 Jun 2018, 11:25

Dear Support,

The following lines are part of the code in the cBot.

IchimokuKinkoHyo Ichimoku  = Indicators.IchimokuKinkoHyo(9, 26, 52);

double ichimoku_main = Ichimoku.KijunSen.Last(0);
double ichimoku_span_a = Ichimoku.SenkouSpanA.Last(0);
double ichimoku_span_b = Ichimoku.SenkouSpanB.Last(0);

 

The value of ichimoku_span_a is wrong. Attach the indicator to chart and read the value manually.

The value of ichimoku_span_b is wrong. Attach the indicator to chart and read the value manually.

 

I observed that the values are swapped. ichimoku_span_a is actually ichimoku_span_b and vice versa.

 

Best Regards

Awulonu, Solomon Chidozie


@solomonawulonu

PanagiotisCharalampous
13 Jun 2018, 11:40 ( Updated at: 21 Dec 2023, 09:20 )

Hi Solomon,

This is what I do but seems correct. See below

Can you send a similar screenshot?

Best Regards,

Panagiotis


@PanagiotisCharalampous