The Ichimoku Kumo (cloud) is defined by Senkou Span A and Senkou Span B. The Kumo is plotted 26 periods into the future. If Senkou Span A is the top of the Kumo it is bullish. One of the Ichimoku signals for a long trade is a future bullish Kumo. In other words Senkou Span A must be above Senkou Span B 26 periods in the future.
The charts produced when I run a strategy, end at the last close. They show Senkou Span A and Senkou Span B, up to the last close, but they do not show the future Kumo. If this means there is no data for the future Kumo I could not determine the Kumo signal on live data.
How can I determine if Senkou Span A is above Senkou Span B, 26 periods forward.
Size:
Color:
Unless a "AddFuturesBars" function makes it back into Wealth-Lab, the best you can do is not advance the Kumo by 26 bars and push the Price DataSeries
back (to the left) 26 bars to align with the Kumo correctly. Since the DateTime of bars can't be changed, you'll have to ignore the dates since they'll be completely out-of-synch with the actual data.
CODE:
Please log in to see this code.
Size:
Color:
When I run this program I get a strange result. With my daily data, Senkou Span B turns straight down to 0 about 160 bars back from the last close. The regular charts seem to be OK with this same daily data. When I tried it with some minute data it seemed to work fine.
Size:
Color:
I woke up this morning realizing the strange straight down Senkou Span is the end of the data.
Size:
Color:
CODE:
Please log in to see this code.
The construction of this work-around needs at least 52 lead bars. Ignore everything before bar 52 - just use more bars so you don't see it.
Size:
Color:
Hello,
I am having the same problems with the time/date being out of syn when the bars are moved 26 forward. In addition to it being out of synch, I cannot get live continuous data - the price gets stuck and and no new bars are formed based on the time scale used. Parenthetically, I talked with tech support and they had me delete these charts because they were viewed as corrupted and also had me reinstall the Wealth-Lab software; however, the problems didn't go away. Given the importance of using the future bars in deciding your entry/exit strategy, is there an alternate script for the ichimoku or another code to add in order to avoid the two problems noted above. I would be very grateful for any assistance - I really like what the ichimoku offers and would like to stick with this indicator.
Many thanks for your attention to this matter.
Best regards
Size:
Color:
Hi does any-one knows if this paltform can backtest ichimoku strategies? Thank you.
Size:
Color:
Yes, Wealth-Lab can backtest Ichimoku strategies.
Size:
Color:
Been trying to backtest this study now that I have the study up and running, but cannot find any way to do it. Any assistance would be greatly appreciated. Specifically I would like to set up a backtest for the Chikou as it cross the lower and upper lines of the cloud.
Thanks for any help.
Scott
Size:
Color:
This particular script is not for backtesting, only for visualization. If you have further questions please re-use the original discussion thread:
Ichimoku. Don't forget to include the precise rules.
Size:
Color: