Hi
I am trying to build a code based on the Ichimoku strategy using the simplified code creation tool, but I cannot get it to recognise the Ichimoku indicator in the drop down boxes when building conditions. Does anybody have any suggestions?
Steve
Ichimoku instructions are new and are only available in assisted creation starting from version 11.
If you are still with older version, you’ll have to code them by yourself.
Here are the codes for all the lines that compose the Ichimoku Kinko Hyo indicator:
//--- ichimoku parameters
p1=9
p2=26
p3=52
p4=0
// ---
tenkan=(highest[p1](high)+lowest[p1](low))/2
kijun=(highest[p2](high)+lowest[p2](low))/2
SpanA=(tenkan[p4]+kijun[p4])/2
SpanB=(highest[p3](high[p4])+lowest[p3](low[p4]))/2