OPEN-SOURCE SCRIPT

Ichimoku Cloud with EMA and TREND

Ichimoku Cloud + EMA 34 & EMA 50 Crossover Trading Strategy
This strategy combines the Ichimoku Cloud with Exponential Moving Averages (EMA 34 & EMA 50) to identify strong trends and high-probability trade entries.

1. Components of the Strategy
🔹 Ichimoku Cloud (Kumo)
The Ichimoku Cloud is a comprehensive indicator that provides trend direction, support/resistance levels, and momentum. The key components include:

Kumo (Cloud): The shaded area that indicates trend strength and direction.
Tenkan-Sen (Conversion Line, 9-period): Short-term trend indicator.
Kijun-Sen (Base Line, 26-period): Medium-term trend indicator.
Chikou Span (Lagging Line, 26 periods back): Confirms trends when above or below price.
Senkou Span A & B (Leading Span A & B, forming the Cloud): Defines support/resistance levels.
🔹 EMA 34 & EMA 50 (Exponential Moving Averages)
EMA 34: A short-term trend-following indicator that reacts quickly to price changes.
EMA 50: A medium-term trend indicator that helps confirm trend direction.
Crossover Signal:
Bullish Crossover: EMA 34 crosses above EMA 50 → Uptrend Confirmation.
Bearish Crossover: EMA 34 crosses below EMA 50 → Downtrend Confirmation.
2. Entry & Exit Rules
✅ Bullish Entry (Buy Setup)
Price above the Ichimoku Cloud → Confirms an uptrend.
EMA 34 crosses above EMA 50 → Confirms bullish momentum.
Tenkan-Sen is above Kijun-Sen → Strong trend confirmation.
Chikou Span is above the price & Cloud → Confirms strength in the trend.
Entry Trigger: Enter a buy trade when the above conditions are met.
🔹 Stop-Loss (SL): Below the Cloud or recent swing low.
🔹 Take Profit (TP):

First TP at 1:2 risk-reward ratio.
Second TP at major resistance levels.
❌ Bearish Entry (Sell Setup)
Price below the Ichimoku Cloud → Confirms a downtrend.
EMA 34 crosses below EMA 50 → Confirms bearish momentum.
Tenkan-Sen is below Kijun-Sen → Strong trend confirmation.
Chikou Span is below the price & Cloud → Confirms bearish trend.
Entry Trigger: Enter a sell trade when the above conditions are met.
🔹 Stop-Loss (SL): Above the Cloud or recent swing high.
🔹 Take Profit (TP):

First TP at 1:2 risk-reward ratio.
Second TP at key support levels.
3. Advantages of This Strategy
✅ Combines momentum and trend confirmation → Higher accuracy in identifying strong trends.
✅ Works well in trending markets → Filters out sideways markets.
✅ Ichimoku Cloud provides dynamic support/resistance → Helps in stop-loss placement.

כתב ויתור