ragnarok628

Ichimoku Cloud LONG and SHORT indicators

ragnarok628 Actualizado   
This simple script uses 4 rules from Ichimoku Cloud indicator to marks position entry points.

The idea is that by entering a long position just when these 4 criteria are met, you can capture a 2-3% plus move within the next few days:
1. The conversion line is above the base line
2. The price is above the clouds
3. The lagging span is above the clouds
4. The rightmost cloud is green

The same 4 criteria but inverted will indicate a short entry.

In order to avoid 'stale' entries which can lead to chasing, we want the price and conversion line crossovers to be recent, within the past few days. Ideally we want to enter before close on the day the entry signal is given so that we can capture any potential gap up (or down if short). Often the price will make a nice move the next day or day after. If any of the criteria become invalidated, or if after 4-5 days there hasn't been significant movement, then it was a false alarm.

This script will show the basic Ichimoku Cloud indicators, plus labels for bearish and bullish price and conversion line crossovers as well as LONG and SHOT indicators to show when the entry criteria have been met.
Notas de prensa:
This update makes the indicators respect any changes in the displacement value in the Inputs.
Notas de prensa:
Pretty significant update:

added visual indicators to facilitate an exit strategy described below
removed price/cloud crossover labels as they are not very useful and this chart has more than enough clutter as is

the exit strategy is also documented in the code, but here it is:

1: set STOP LOSS at 1 std. dev. below close (RED DASHED LINE)
2: activate TRAILING STOP when price hits 1/2 std. dev. above close (BLUE DASHED LINE)
3: use 1/4 std. dev. as the TRAILING STOP value (GREEN DASHED LINE shows minimum expected profit in cases where blue line is reached)
4: after 5 more bars, exit trade if price is still between red and blue lines (no visual indicator for this at this time)
Notas de prensa:
The main point of this update is to fix an edge case caused by the crossover function counting touches as crossovers.

I've also removed the SHORT callouts until such time as I have enough data to indicate this is a viable strategy.

Additionally I've updated the default plotting styles to reflect my preferences.
Notas de prensa:
Some incremental improvements:
*updated initial defaults to reflect current strategy
*added ability to limit signals to long only
*added ability to display the standard deviation over the selected number of periods as a percentage of current price
Notas de prensa:
now considering touches as crosses for determining entry eligibility for the cloud and the conversion/base pair
Notas de prensa:
using ATR instead of stdDev, tweaking initial paramaters, tweaking colors for better visibiliity
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?

Ideas relacionadas