ragnarok628

Ichimoku Clouds with Trend Identification

ragnarok628 Uppdaterad   
This is another version of the Ichimoku Clouds indicator where I have added logic to evaluate the current chart as either Bullish, Bearish, or Mixed, depending on 4 factors:

1. Is the price above/below the cloud?
2. Is the conversion line above/below the base line?
3. Is the lagging span above/below the cloud?
4. Is the rightmost cloud green/red?

If all conditions point the same direction, then the chart will be labelled "Bullish" or "Bearish". Otherwise it will be labelled "Mixed".
Versionsinformation:
Main new feature is labelling on a finer spectrum: labels can now not only be "Bullish", "Bearish", or "Mixed", they can now be "Fully" bullish/bearish or have bullish/bearish "Lean".

Also took the opportunity to reorganize the code and refactor for clarity and conciseness, as well as update the comments to be more helpful and informative.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?