The Kumo Break method is one of the main systems applied by the Ichimoku traders for detecting key reversals. By using the kumo, we can qualify the current reversal, which provides traders with a unique opportunity to either take profits on current positions, or take a new reversal setup.
It is effective in timing trends, reversals and trading strategic reversals when all the elements are in place. Its ability to measure support and resistance enables the Ichimoku to also provide traders with a unique perspective on the markets.
// BREAK OUT KUMO
BOK = 0
Tenkansen = (highest[9](high)+lowest[9](low))/2
Kijunsen = (highest[26](high)+lowest[26](low))/2
SSpanA = (tenkansen[26]+kijunsen[26])/2
SSpanB = (highest[52](high[26])+lowest[52](low[26]))/2
IF SSpanB > SSpanA THEN //Kumo vers le bas
// BREAK OUT KUMO vers le bas
if close < SSpanA and close[1] > SSpanA[1] then
BOK = -1
else
// BREAK OUT KUMO vers le haut
if close > SSpanB and close[1] < SSpanB[1] then
BOK = 1
endif
endif
else //Kumo vers le haut
// BREAK OUT KUMO vers le haut
if close > SSpanA and close[1] < SSpanA[1] then
BOK = 1
else
// BREAK OUT KUMO vers le bas
if close < SSpanB and close[1] > SSpanB[1] then
BOK = -1
endif
endif
ENDIF
return BOK as "BO KUMO"
You must be logged in to post a comment.
Nice Job !
Here is my version of the code :
KBO = 0
Tenkansen = (highest[9](high)+lowest[9](low))/2
Kijunsen = (highest[26](high)+lowest[26](low))/2
SSpanA = (tenkansen[26]+kijunsen[26])/2
SSpanB = (highest[52](high[26])+lowest[52](low[26]))/2
// KBO haussier
IF (close crosses over SSpanA and SSpanA > SSpanB) OR (close crosses over SSpanB and SSpanB > SSpanA) THEN
KBO = 1
ENDIF
// KBO baissier
IF (close crosses under SSpanA and SSpanA < SSpanB) OR (close crosses under SSpanB and SSpanB < SSpanA) THEN
KBO = -1
ENDIF
return KBO as "KUMO BREAKOUT"
Thanks for this code.
The only thing left missing is the time lapse, otherwise, lots of older signals are generated, some have been triggered months ago. I guess it's just a line of code to add ?
e.g. Kumo break out for the last X days