Hello friends,
After several attempts and after much annoying Nicholas, I have managed to realize the Screener of the complete kumo break.
This time he takes into account all the scenarios.
In this strategy the line Chikou Span is important because it is of confirmation, that is why the Screener only takes into account the crosses of Chikou with the cloud.
Break in Length: Several conditions. A) Current price> than the Cloud; B) (Option 1) the Span A in n periods> Span B in n periods then the break occurs when Chikou Span crosses Span A, c) (Option 2) Span A in n periods <Span B in n periods Break occurs when Chikou Span Crosses on SpanB long.
Following the same example but in reverse the conditions for Short are established.
As notes there are other conditions that are not used, but that are valid for other strategies with Ichimoku, Depending on the strategy you can “activate” or “disable” conditions, so I left it that way.
Hola amigos,
Tras varios intentos y después de molestar mucho a Nicolás, he conseguido realizar el Screener de la rotura de kumo completa.
En esta ocasión tiene en cuenta todos los escenarios.
En esta estrategia la línea Chikou Span es importante porque es de confirmación, es por esto por lo que el Screener sólo tiene en cuenta los cruces de Chikou con la nube.
Rotura en Largo: Varias condiciones. a) Precio actual > que la Nube; b) (Opción 1) la Span A en n periodos > Span B en n periodos entonces la rotura se produce cuando Chikou Span cruza en largo Span A, c) (Opción 2) Span A en n periodos < Span B en n periodos la rotura se produce cuando Chikou Span Cruza en largo SpanB.
Siguiendo el mismo ejemplo pero a la inversa se establece las condiciones para Corto.
PS. Como notas hay otras condiciones que no se usan, pero que son válidas para otras estrategias con Ichimoku, Dependiendo de la estrategia se puede “activar” o “desactivar” condiciones, por eso lo dejé así.
//****************************************************************
//* Estrategia Rotura de Kumo Completa
//* Autor: Rafa Barreto: Ayuda Nicolás
//****************************************************************
// ===== VALORES MODIFICABLES =====
// -- Construyendo la graficación Ichimoku --
// -- Valores NO Standar: Fibonacci: 8; 21; 55 --
// -- Valores NO Standar: Actuales : 7;22;44
// -- Valores Standar: 9; 26; 52
PeriodoCorto = 7
PeriodoMedio = 22
PeriodoLargo = 44
Tenkan = (highest[PeriodoCorto](High) + lowest[PeriodoCorto](Low)) / 2
Kijun = (highest[PeriodoMedio](High) + lowest[PeriodoMedio](Low)) / 2
SpanA = (TenKan[PeriodoMedio] + Kijun[PeriodoMedio]) / 2
SpanB = (highest[PeriodoLargo](High[PeriodoMedio]) + lowest[PeriodoLargo](Low[PeriodoMedio])) / 2
Chikou = Close
// ===== A partir de aquí no se toca el código =====
// --- Condiciones de Posiciones Largas ---
Condicion1Larga = (close > SpanA) AND (close > SpanB)
//Condicion2Larga = (Tenkan > SpanA) AND (Tenkan > SpanB)
//Condicion3Larga = (Kijun > SpanA) AND (Kijun > SpanB)
//Condicion4Larga = (Chikou > SpanA) AND (Chikou > SpanB)
Condicion5Larga = (SpanA[PeriodoMedio] > SpanB[PeriodoMedio])
Condicion6Larga = (SpanA[PeriodoMedio] < SpanB[PeriodoMedio])
RoturaLargoOpcion1 = Chikou CROSSES OVER SpanA[PeriodoMedio] AND (Condicion1Larga AND Condicion5Larga)
RoturaLargoOpcion2 = Chikou CROSSES OVER SpanB[PeriodoMedio] AND (Condicion1Larga AND Condicion6Larga)
// -- Condiciones de Posiciones Cortas ---
Condicion1Corta = (close < SpanA) AND (close < SpanB)
//Condicion2Corta = (Tenkan < SpanA) AND (Tenkan < SpanB)
//Condicion3Corta = (Kijun < SpanA) AND (Kijun < SpanB)
//Condicion4Corta = (Chikou < SpanA) AND (Chikou < SpanB)
Condicion5Corta = (SpanA[PeriodoMedio] < SpanB[PeriodoMedio])
Condicion6Corta = (SpanA[PeriodoMedio] > SpanB[PeriodoMedio])
RoturaCortoOpcion1 = Chikou CROSSES UNDER SpanA[PeriodoMedio] AND (Condicion1Corta AND Condicion5Corta)
RoturaCortoOpcion2 = Chikou CROSSES UNDER SpanB[PeriodoMedio] AND (Condicion1Corta AND Condicion6Corta)
// ===== SCREENER =====
SCREENER [RoturaLargoOpcion1 OR RoturaLargoOpcion2 OR RoturaCortoOpcion1 OR RoturaCortoOpcion2]
You must be logged in to post a comment.
tambien con que indicador se puede compaginar el ichimoku
mi pregunta es si se puede hacer un indicador que aparezca como alerta o chivato en la rotura de la nube
como seria el codigo del indicador no del screener
I have optimized it on Wallstreet cash 1 euro...tf 3h..best result
//**************************************************************** //* Estrategia Rotura de Kumo Completa //* Autor: Rafa Barreto: Ayuda Nicolás //**************************************************************** DEFPARAM CumulateOrders = false // ===== VALORES MODIFICABLES ===== // -- Construyendo la graficación Ichimoku -- // -- Valores NO Standar: Fibonacci: 8; 21; 55 -- // -- Valores NO Standar: Actuales : 7;22;44 // -- Valores Standar: 9; 26; 52 PeriodoCorto = 9 PeriodoMedio = 26 PeriodoLargo = 52 X=24 Z=1.1 Tenkan = (highest[PeriodoCorto](High) + lowest[PeriodoCorto](Low)) / 2 Kijun = (highest[PeriodoMedio](High) + lowest[PeriodoMedio](Low)) / 2 SpanA = (TenKan[PeriodoMedio] + Kijun[PeriodoMedio]) / 2 SpanB = (highest[PeriodoLargo](High[PeriodoMedio]) + lowest[PeriodoLargo](Low[PeriodoMedio])) / 2 Chikou = Close // ===== A partir de aquí no se toca el código ===== // --- Condiciones de Posiciones Largas --- Condicion1Larga = (close > SpanA) AND (close > SpanB) //Condicion2Larga = (Tenkan > SpanA) AND (Tenkan > SpanB) //Condicion3Larga = (Kijun > SpanA) AND (Kijun > SpanB) //Condicion4Larga = (Chikou > SpanA) AND (Chikou > SpanB) Condicion5Larga = (SpanA[PeriodoMedio] > SpanB[PeriodoMedio]) Condicion6Larga = (SpanA[PeriodoMedio] < SpanB[PeriodoMedio]) //Condicion7Larga = chikou > close[PeriodoMedio] if not onmarket and (Chikou CROSSES OVER SpanA[PeriodoMedio] AND (Condicion1Larga AND Condicion5Larga )) or (Chikou CROSSES OVER SpanB[PeriodoMedio] AND (Condicion1Larga AND Condicion6Larga)) then buy 1 shares at market endif // -- Condiciones de Posiciones Cortas --- Condicion1Corta = (close < SpanA) AND (close < SpanB) //Condicion2Corta = (Tenkan < SpanA) AND (Tenkan < SpanB) //Condicion3Corta = (Kijun < SpanA) AND (Kijun < SpanB) //Condicion4Corta = (Chikou < SpanA) AND (Chikou < SpanB) Condicion5Corta = (SpanA[PeriodoMedio] < SpanB[PeriodoMedio]) Condicion6Corta = (SpanA[PeriodoMedio] > SpanB[PeriodoMedio]) //Condicion8Larga = chikou < close[PeriodoMedio] if not onmarket and (Chikou CROSSES UNDER SpanA[PeriodoMedio] AND (Condicion1Corta AND Condicion5Corta) ) or (Chikou CROSSES UNDER SpanB[PeriodoMedio] AND (Condicion1Corta AND Condicion6Corta) ) then sellshort 1 shares at market endif set stop ploss X SET TARGET PPROFIT X*Z
Thanks, in the next days I developed a stretegy based on your screener... I attach here the code and the results.
hi,
I have developed some strategy with ichimoku and I can developed other based on your screener. In which time frame do you use your screener ? Thanks emanuele
El chivato es el propio SCREENER, aparece cuando las condiciones se cumplen. Y se pueden combinar indicadores claro... con los que quieras.