OPEN-SOURCE SCRIPT
DAMMU AUTOMATICAL AI ENRTY AND TARGET AND EXIT

Main Components
Supertrend System –
Detects market trend direction (Buy/Sell zones).
→ Green = Uptrend (Buy)
→ Red = Downtrend (Sell)
SMA Filter –
Uses 50 & 200 moving averages to confirm overall trend.
→ Price above both → Bullish
→ Price below both → Bearish
Buy/Sell Signals –
Generated when Supertrend flips direction and SMA confirms.
→ Triangle up = Buy
→ Triangle down = Sell
Take Profit / Stop Loss Levels –
Automatically calculated after Buy/Sell entry.
→ TP1, TP2, SL shown on chart
ADX (Sideways Zone Filter) –
If ADX < 25 → Market sideways → Avoid trades
Shows “No Trade Zone” area
Smart Money Concepts (SMC) Tools –
🔹 Market structure (HH, HL, LH, LL)
🔹 Order blocks (OB)
🔹 Equal highs/lows
🔹 Fair Value Gaps (FVG)
🔹 Premium & Discount zones
Helps find institutional entry points
Visual Display –
Color-coded background (trend zones)
Labels for buy/sell/structure
Optional FVG and order block boxes
Risk Management –
Input-based position sizing, SL & TP management
(to calculate profit levels and minimize loss)
Supertrend System –
Detects market trend direction (Buy/Sell zones).
→ Green = Uptrend (Buy)
→ Red = Downtrend (Sell)
SMA Filter –
Uses 50 & 200 moving averages to confirm overall trend.
→ Price above both → Bullish
→ Price below both → Bearish
Buy/Sell Signals –
Generated when Supertrend flips direction and SMA confirms.
→ Triangle up = Buy
→ Triangle down = Sell
Take Profit / Stop Loss Levels –
Automatically calculated after Buy/Sell entry.
→ TP1, TP2, SL shown on chart
ADX (Sideways Zone Filter) –
If ADX < 25 → Market sideways → Avoid trades
Shows “No Trade Zone” area
Smart Money Concepts (SMC) Tools –
🔹 Market structure (HH, HL, LH, LL)
🔹 Order blocks (OB)
🔹 Equal highs/lows
🔹 Fair Value Gaps (FVG)
🔹 Premium & Discount zones
Helps find institutional entry points
Visual Display –
Color-coded background (trend zones)
Labels for buy/sell/structure
Optional FVG and order block boxes
Risk Management –
Input-based position sizing, SL & TP management
(to calculate profit levels and minimize loss)
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
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.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
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.