Topics
17 Dec 2019, 05:31
1202
1
13 Nov 2018, 21:41
1149
4
12 Jun 2018, 17:31
1912
5
Replies
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
solomonawulonu
14 Nov 2018, 11:11
IchimokuKinkoHyo Ichimoku = Indicators.IchimokuKinkoHyo(MarketSeriesHR1, 9, 26, 52);
int tomorrow = Time.Hour - 25;
double ichimoku_span_a = Ichimoku.SenkouSpanA.Last(tomorrow);
double ichimoku_span_b = Ichimoku.SenkouSpanB.Last(tomorrow);
Print("A: " + ichimoku_span_a + " B: " + ichimoku_span_b);
The result shows NaN for both Span A and B.
I am trying to know the values of span a and b for the next day open.
@solomonawulonu