Following the code “Ichimoku Follow Pattern” used as a dashboard, this version allows to visualize the main characteristic figures of the system “Ichimoku” keeping the same reasoning as the code previous but adapted to use on the price chart …
By keeping the chess action figures used in the program “Kosaten Hyo” it becomes complementary and allows you to save a complete workspace dedicated to the Ichimoku Kinko Hyo system.
All that is needed is to develop a code to correctly visualize the flat “Kijun-sen” and flat “Senkou Span B ” for future integration (in boxes for further study …)
For any questions about the program “Kosaten Hyo” please make your request here ► https://www.prorealcode.com/topic/ichimoku-price-pattern/#post-98325
// Ichimoku Price Pattern (Ind) | Indicator
// 13/05/2019 (Release 1.0)
// Swapping @ www.forexswap.fr
// Sharing ProRealTime knowledge (alt+16)
// https://www.prorealcode.com/topic/katana-sur-ichimoku/
// La traduction du terme Japonais (Katana) signifie "Sabre Samouraï ou Rōnin"
// Deux modèles sont utilisées: le Katana (lame longue) ou le Daisho (lame courte)
// --- Property settings
TenkanKijunCross = 1 // checkbox (1=true, 0=false)
TwistCross = 1 // -------
Katana = 1 // -------
Daisho = 1 // -------
ColorPawn = 1 // -------
alpha = 255
// --- end
alpha = max(alpha,0) // Limit input variable
alpha = min(alpha,255) //
Tenkansen = (highest[9](high)+lowest[9](low))/2
Kijunsen = (highest[26](high)+lowest[26](low))/2
SenkouSA = (Tenkansen[26]+Kijunsen[26])/2
SenkouSB = (highest[52](High[26])+lowest[52](Low[26]))/2
Kata1 = summation[2](Tenkansen = Kijunsen) = 2 // (2 candles follower)
Kata2 = summation[3](Tenkansen = Kijunsen) = 3 // (3 candles follower)
if Katana = 1 then // Katana ("long blade" lame longue)
if (Kata1[0] xor Kata1[1]) then
if ColorPawn = 0 then
DrawText("♘",barindex[0],Tenkansen,Dialog,Standard,20) coloured(0,0,0,alpha) // chess horse white
else
DrawText("♞",barindex[0],Tenkansen,Dialog,Standard,20) coloured(0,0,0,alpha) // chess horse black
endif
endif
endif
if Daisho = 1 then // Daisho ("short blade" lame courte)
if Kata2[0] xor Kata2[1] then // lightweight color yellow
DrawText("•",barindex,Kijunsen,Dialog,bold,28) coloured(250,160,0)
endif
endif
if TenkijCross = 1 then
if Tenkansen crosses over Kijunsen then
if ColorPawn = 0 then
DrawText("♗",barindex,kijunsen,Dialog,Standard,20) coloured(0,0,0,alpha) // chess crazy white
else
DrawText("♝",barindex,Tenkansen,Dialog,Standard,20) coloured(0,0,0,alpha) // chess crazy black
endif
endif
if Kijunsen crosses over Tenkansen then
if ColorPawn = 0 then
DrawText("♗",barindex,kijunsen,Dialog,Standard,20) coloured(0,0,0,alpha) // chess crazy white
else
DrawText("♝",barindex,Tenkansen,Dialog,Standard,20) coloured(0,0,0,alpha) // chess crazy black
endif
endif
endif
if TwistCross = 1 then
if SenkouSA crosses over SenkouSB or SenkouSA crosses under SenkouSB then // Twist crossing
if ColorPawn = 0 then
DrawText("♖",barindex,SenkouSA,Dialog,Standard,20) coloured(0,0,0,alpha) // chess tower white
else
DrawText("♜",barindex,SenkouSA,Dialog,Standard,20) coloured(0,0,0,alpha) // chess tower black
endif
endif
endif
return