OPEN-SOURCE SCRIPT
OPTIMISED FOR 15Min on certain FOREX

Ichimoku & Friends Strategy
Timeframe
15-Minute Chart
Entry Rules
Required Conditions ALL Must Be True
For LONG Entries:
Trend: Price is above EMA 200 (purple line)
Ichimoku: Tenkan (blue) is above Kijun (red)
Price Position: Close is above BOTH Tenkan AND Kijun
ADX: Must be above 22 (shows strong trend)
RSI: Between 50 and 70 (has momentum, not overbought)
Cooldown: At least 12 bars since last trade closed
For SHORT Entries:
Trend: Price is below EMA 200 (purple line)
Ichimoku: Tenkan (blue) is below Kijun (red)
Price Position: Close is below BOTH Tenkan AND Kijun
ADX: Must be above 22 (shows strong trend)
RSI: Between 30 and 50 (has momentum, not oversold)
Cooldown: At least 12 bars since last trade closed
Entry Signals Any ONE of These
Signal Type 1: Cross (C)
Long: Tenkan crosses above Kijun AND price closes above Kijun
Short: Tenkan crosses below Kijun AND price closes below Kijun
Wait 1 bar to confirm the cross holds
Signal Type 2: Bounce (B) - Most Reliable
Long: Price touches/dips to Kijun, then bounces up with strong bullish candle
Short: Price touches/spikes to Kijun, then rejects down with strong bearish candle
Must occur within last 3 bars
Signal Type 3: Breakout (K)
Long: Price breaks above Kijun with strong bullish momentum candle
Short: Price breaks below Kijun with strong bearish momentum candle
Candle body must be at least 40% of ATR
Risk Management
Stop Loss Placement
Placed at the lower of:
Recent swing low (last 5 bars) for longs
Kijun minus 0.5 ATR for longs
Minimum distance: 2.5 x ATR
FOR SHORTS: Mirror logic using swing highs
Take Profit
2x the stop loss distance
Example: If stop is 20 pips away, target is 40 pips
Position Size
100% of equity per trade (as per current settings)
Adjust based on your risk tolerance
Trade Management
When to Enter
Only when ALL entry conditions are met
Check that background is shaded (green for long, red for short)
Small letter markers (C, B, K) show which signal type triggered
When to Exit
Take Profit hit (2x R:R ratio)
Stop Loss hit (smart placement protects capital)
Strategy closes position (conditions reverse)
Cooldown Period
Wait 12 bars (3 hours on 15m chart) after any trade closes
Prevents revenge trading and overtrading
Visual Indicators on Chart
Lines
Blue (Tenkan): 9-period conversion line
Red (Kijun): 26-period base line
Purple (EMA 200): Long-term trend line
Orange (EMA 50): Not used in current rules
Signals
Large Green Triangle Up: LONG entry
Large Red Triangle Down: SHORT entry
Small Letters (C/B/K): Which signal type triggered
Background Colors
Light Green: Conditions favorable for LONG (ADX good, uptrend)
Light Red: Conditions favorable for SHORT (ADX good, downtrend)
No Color: Not safe to trade
Top Right Display
ADX Value: Green = above threshold, Red = below
Win Rate: Shows current performance
Quick Checklist Before Entry
LONG Trade Checklist:
Price above purple EMA 200
Blue line above red line
Price above both blue AND red lines
ADX number is green (above 22)
RSI between 50-70
Background is light green
At least 12 bars since last trade
Signal marker appeared (triangle or letter)
SHORT Trade Checklist:
Price below purple EMA 200
Blue line below red line
Price below both blue AND red lines
ADX number is green (above 22)
RSI between 30-50
Background is light red
At least 12 bars since last trade
Signal marker appeared (triangle or letter)
Tips for Success
Best Signal Type: Bounce (B) signals typically have highest win rate
ADX is Critical: Do not trade when ADX is red - wait for trends
Be Patient: 2-3 trades per day on 15m is normal and healthy
Trust the System: Do not second-guess the signals
Respect Cooldown: Waiting prevents emotional trading
Monitor Win Rate: Keep above 50% for profitability with 2:1 R:R
Adjustable Settings
If you want to modify strategy performance:
For Higher Win Rate Fewer Trades:
Increase "Minimum ADX" to 25
Increase "Cooldown Bars" to 15
Turn OFF breakout signals
For More Trades Slightly Lower Win Rate:
Decrease "Minimum ADX" to 20
Decrease "Cooldown Bars" to 8
Keep all signal types enabled
For Better Risk:Reward:
Increase "Risk:Reward Ratio" to 2.5 or 3.0
This means bigger targets, letting winners run more
What NOT to Do
Do not trade without ADX confirmation (when number is red)
Do not enter during cooldown period
Do not trade when price is chopping around EMA 200
Do not override the stop loss - let it work
Do not take signals when Tenkan and Kijun are flat/parallel
Do not force trades - wait for all conditions
Do not trade if you see no background shading
Notes
Current Performance: 67% win rate (2/3 trades)
Timeframe: 15-minute (3 hours = 12 bars cooldown)
Profit Factor Target: Above 1.5 is excellent
Strategy works best during: European and US trading sessions when volatility is higher
DYOR NFA
Timeframe
15-Minute Chart
Entry Rules
Required Conditions ALL Must Be True
For LONG Entries:
Trend: Price is above EMA 200 (purple line)
Ichimoku: Tenkan (blue) is above Kijun (red)
Price Position: Close is above BOTH Tenkan AND Kijun
ADX: Must be above 22 (shows strong trend)
RSI: Between 50 and 70 (has momentum, not overbought)
Cooldown: At least 12 bars since last trade closed
For SHORT Entries:
Trend: Price is below EMA 200 (purple line)
Ichimoku: Tenkan (blue) is below Kijun (red)
Price Position: Close is below BOTH Tenkan AND Kijun
ADX: Must be above 22 (shows strong trend)
RSI: Between 30 and 50 (has momentum, not oversold)
Cooldown: At least 12 bars since last trade closed
Entry Signals Any ONE of These
Signal Type 1: Cross (C)
Long: Tenkan crosses above Kijun AND price closes above Kijun
Short: Tenkan crosses below Kijun AND price closes below Kijun
Wait 1 bar to confirm the cross holds
Signal Type 2: Bounce (B) - Most Reliable
Long: Price touches/dips to Kijun, then bounces up with strong bullish candle
Short: Price touches/spikes to Kijun, then rejects down with strong bearish candle
Must occur within last 3 bars
Signal Type 3: Breakout (K)
Long: Price breaks above Kijun with strong bullish momentum candle
Short: Price breaks below Kijun with strong bearish momentum candle
Candle body must be at least 40% of ATR
Risk Management
Stop Loss Placement
Placed at the lower of:
Recent swing low (last 5 bars) for longs
Kijun minus 0.5 ATR for longs
Minimum distance: 2.5 x ATR
FOR SHORTS: Mirror logic using swing highs
Take Profit
2x the stop loss distance
Example: If stop is 20 pips away, target is 40 pips
Position Size
100% of equity per trade (as per current settings)
Adjust based on your risk tolerance
Trade Management
When to Enter
Only when ALL entry conditions are met
Check that background is shaded (green for long, red for short)
Small letter markers (C, B, K) show which signal type triggered
When to Exit
Take Profit hit (2x R:R ratio)
Stop Loss hit (smart placement protects capital)
Strategy closes position (conditions reverse)
Cooldown Period
Wait 12 bars (3 hours on 15m chart) after any trade closes
Prevents revenge trading and overtrading
Visual Indicators on Chart
Lines
Blue (Tenkan): 9-period conversion line
Red (Kijun): 26-period base line
Purple (EMA 200): Long-term trend line
Orange (EMA 50): Not used in current rules
Signals
Large Green Triangle Up: LONG entry
Large Red Triangle Down: SHORT entry
Small Letters (C/B/K): Which signal type triggered
Background Colors
Light Green: Conditions favorable for LONG (ADX good, uptrend)
Light Red: Conditions favorable for SHORT (ADX good, downtrend)
No Color: Not safe to trade
Top Right Display
ADX Value: Green = above threshold, Red = below
Win Rate: Shows current performance
Quick Checklist Before Entry
LONG Trade Checklist:
Price above purple EMA 200
Blue line above red line
Price above both blue AND red lines
ADX number is green (above 22)
RSI between 50-70
Background is light green
At least 12 bars since last trade
Signal marker appeared (triangle or letter)
SHORT Trade Checklist:
Price below purple EMA 200
Blue line below red line
Price below both blue AND red lines
ADX number is green (above 22)
RSI between 30-50
Background is light red
At least 12 bars since last trade
Signal marker appeared (triangle or letter)
Tips for Success
Best Signal Type: Bounce (B) signals typically have highest win rate
ADX is Critical: Do not trade when ADX is red - wait for trends
Be Patient: 2-3 trades per day on 15m is normal and healthy
Trust the System: Do not second-guess the signals
Respect Cooldown: Waiting prevents emotional trading
Monitor Win Rate: Keep above 50% for profitability with 2:1 R:R
Adjustable Settings
If you want to modify strategy performance:
For Higher Win Rate Fewer Trades:
Increase "Minimum ADX" to 25
Increase "Cooldown Bars" to 15
Turn OFF breakout signals
For More Trades Slightly Lower Win Rate:
Decrease "Minimum ADX" to 20
Decrease "Cooldown Bars" to 8
Keep all signal types enabled
For Better Risk:Reward:
Increase "Risk:Reward Ratio" to 2.5 or 3.0
This means bigger targets, letting winners run more
What NOT to Do
Do not trade without ADX confirmation (when number is red)
Do not enter during cooldown period
Do not trade when price is chopping around EMA 200
Do not override the stop loss - let it work
Do not take signals when Tenkan and Kijun are flat/parallel
Do not force trades - wait for all conditions
Do not trade if you see no background shading
Notes
Current Performance: 67% win rate (2/3 trades)
Timeframe: 15-minute (3 hours = 12 bars cooldown)
Profit Factor Target: Above 1.5 is excellent
Strategy works best during: European and US trading sessions when volatility is higher
DYOR NFA
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.