OPEN-SOURCE SCRIPT
MFB - 9 EMA retrace

Peace – Here is 9 and 20 EMA retrace indicator that I worked on with Luxalgo- Quant.
It’s a simple indicator, yet common in the Trading Community. Peace.
Here is the Luxalgo – Quant description:
MFB - 9 EMA Retrace Setup
This indicator identifies a trend-following pullback strategy based on the 9 and 20 Exponential Moving Averages (EMAs).
How it works:
1. The Setup: The script waits for a directional shift, signaled by the 9 EMA crossing the 20 EMA.
2. The Pullback (Retrace): Once a trend is established, it waits for price to pull back and touch or cross the 9 EMA.
3. The Trigger: A signal is generated when a candle finally closes beyond the 9 EMA in the direction of the trend (e.g., closing above the 9 EMA for longs).
4. Risk Management: Upon a valid signal, the indicator draws a projected trade setup directly on the chart. It places a Stop Loss at the 20 EMA and projects a Take Profit based on a customizable Risk/Reward ratio (default 1:2).
Features:
• Continuation Mode: An optional setting allows you to take retracements even if the 9 and 20 EMAs haven't recently crossed, as long as the broader trend (9 EMA above/below 20 EMA) holds.
• Visuals: Dotted lines project the Entry, Stop Loss, and Take Profit levels into the future for easy visualization.
• Alerts: Built-in alert conditions for instant notifications on a valid "9 EMA retrace".
Peace -
It’s a simple indicator, yet common in the Trading Community. Peace.
Here is the Luxalgo – Quant description:
MFB - 9 EMA Retrace Setup
This indicator identifies a trend-following pullback strategy based on the 9 and 20 Exponential Moving Averages (EMAs).
How it works:
1. The Setup: The script waits for a directional shift, signaled by the 9 EMA crossing the 20 EMA.
2. The Pullback (Retrace): Once a trend is established, it waits for price to pull back and touch or cross the 9 EMA.
3. The Trigger: A signal is generated when a candle finally closes beyond the 9 EMA in the direction of the trend (e.g., closing above the 9 EMA for longs).
4. Risk Management: Upon a valid signal, the indicator draws a projected trade setup directly on the chart. It places a Stop Loss at the 20 EMA and projects a Take Profit based on a customizable Risk/Reward ratio (default 1:2).
Features:
• Continuation Mode: An optional setting allows you to take retracements even if the 9 and 20 EMAs haven't recently crossed, as long as the broader trend (9 EMA above/below 20 EMA) holds.
• Visuals: Dotted lines project the Entry, Stop Loss, and Take Profit levels into the future for easy visualization.
• Alerts: Built-in alert conditions for instant notifications on a valid "9 EMA retrace".
Peace -
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.