Ichimoku Cloud Values Issue
Created at 22 Jul 2014, 23:27
JE
Ichimoku Cloud Values Issue
22 Jul 2014, 23:27
protected override void OnStart() { ichi = Indicators.IchimokuKinkoHyo(9, 26, 52); } protected override void OnTick() { IndicatorDataSeries senkouSpanA = ichi.SenkouSpanA; IndicatorDataSeries senkouSpanB = ichi.SenkouSpanB; ChartObjects.DrawHorizontalLine("ichiA", senkouSpanA.LastValue, Colors.Red); ChartObjects.DrawHorizontalLine("ichiB", senkouSpanB.LastValue, Colors.Blue); }
I have made this simple cBot just to demonstrate the issue I am having. The result is shown below:
I was expecting the two lines to be lined up with the top and bottom of the cloud. Does anyone know if I'm doing something wrong or if this particular indicator works a bit differently?
Your assistance is appreciated.
JellyShark
23 Jul 2014, 01:00
alright I finally figured it out. I didn't realise that the cloud forward predicted so I needed to the value I was using
@JellyShark