OPEN-SOURCE SCRIPT
Güncellendi Painel Técnico (4H x 1D) — Clean UI + Alertas BrenoG

📋 Main Functions
1️⃣ Analysis in two fixed timeframes
4 hours and 1 day analyzed in parallel.
Each column in the table displays the data for its respective timeframe.
2️⃣ Entry point based on oversold conditions
The “entry point” is not the current price, but rather the last candle that went into oversold territory (RSI ≤ configured threshold).
If there has been no recent oversold condition, the current price is used as a fallback.
All calculations (Buy Zone, Stops, TPs) are based on this point.
3️⃣ Buy Zone
Defined as:
java
Copiar
Editar
Low Zone = entry * (1 - width%)
High Zone = entry
Always visible in the table, but alerts can be set to trigger only if RSI is oversold at the moment of entry.
4️⃣ Automatic Stops
Moderate Stop and Conservative Stop, calculated as a % below the entry point.
Displayed in the table with black text on a gray background for emphasis.
Alerts trigger when price crosses below these levels.
5️⃣ Take Profits (TP1–TP4)
Calculated from the entry point:
By percentage (usePercentTP = true) or
By fixed prices (usePercentTP = false).
The table displays:
Target price
% gain over the entry point
They only appear when RSI > 50 and EMA50 > EMA200 (the “alignment” condition).
Alerts trigger only on breakouts upward.
6️⃣ Context Indicators
RSI → shows numeric value and green/red color.
MACD → indicates if the MACD line is above or below the signal line.
EMAs 50/200 → indicates “Golden Cross” or “Death Cross”.
Price vs EMA200 → dedicated row showing “Above” or “Below EMA 200” with green/red color.
7️⃣ Visual Panel
Semi–transparent dark gray background, thin borders.
Colored header:
Blue for 4H
Orange for 1D
Rows separated by data type for easy reading.
Configurable font size (tiny to large).
Table position configurable (top_left, top_right, etc.).
8️⃣ Integrated Alerts
Entry/Exit of Buy Zone
Touch of each TP
Touch of each Stop
RSI entering Oversold
All alerts are separated by timeframe with clear, fixed messages.
📌 Simple Summary:
It’s an intelligent panel that combines multi–timeframe technical analysis, automatic calculation of entries/stops/TPs based on oversold conditions, and ready–to–use alerts — all presented in a visual, compact, and fully configurable format.
1️⃣ Analysis in two fixed timeframes
4 hours and 1 day analyzed in parallel.
Each column in the table displays the data for its respective timeframe.
2️⃣ Entry point based on oversold conditions
The “entry point” is not the current price, but rather the last candle that went into oversold territory (RSI ≤ configured threshold).
If there has been no recent oversold condition, the current price is used as a fallback.
All calculations (Buy Zone, Stops, TPs) are based on this point.
3️⃣ Buy Zone
Defined as:
java
Copiar
Editar
Low Zone = entry * (1 - width%)
High Zone = entry
Always visible in the table, but alerts can be set to trigger only if RSI is oversold at the moment of entry.
4️⃣ Automatic Stops
Moderate Stop and Conservative Stop, calculated as a % below the entry point.
Displayed in the table with black text on a gray background for emphasis.
Alerts trigger when price crosses below these levels.
5️⃣ Take Profits (TP1–TP4)
Calculated from the entry point:
By percentage (usePercentTP = true) or
By fixed prices (usePercentTP = false).
The table displays:
Target price
% gain over the entry point
They only appear when RSI > 50 and EMA50 > EMA200 (the “alignment” condition).
Alerts trigger only on breakouts upward.
6️⃣ Context Indicators
RSI → shows numeric value and green/red color.
MACD → indicates if the MACD line is above or below the signal line.
EMAs 50/200 → indicates “Golden Cross” or “Death Cross”.
Price vs EMA200 → dedicated row showing “Above” or “Below EMA 200” with green/red color.
7️⃣ Visual Panel
Semi–transparent dark gray background, thin borders.
Colored header:
Blue for 4H
Orange for 1D
Rows separated by data type for easy reading.
Configurable font size (tiny to large).
Table position configurable (top_left, top_right, etc.).
8️⃣ Integrated Alerts
Entry/Exit of Buy Zone
Touch of each TP
Touch of each Stop
RSI entering Oversold
All alerts are separated by timeframe with clear, fixed messages.
📌 Simple Summary:
It’s an intelligent panel that combines multi–timeframe technical analysis, automatic calculation of entries/stops/TPs based on oversold conditions, and ready–to–use alerts — all presented in a visual, compact, and fully configurable format.
Sürüm Notları
TABLE WITH ADJUSTMENTS THAT FACILITATE MY ACCURATE ENTRY IN THE 4H AND 1D FOR SWING TRADE, I USE THE EMA 12 ABOVE THE 26 TO ENTER IN THE SHORT TERM AND 50 ABOVE THE 200 AS WELLSürüm Notları
TABLE WITH ADJUSTMENTS THAT FACILITATE MY ACCURATE ENTRY IN THE 4H AND 1D FOR SWING TRADE, I USE THE EMA 12 ABOVE THE 26 TO ENTER IN THE SHORT TERM AND 50 ABOVE THE 200 AS WELLSürüm Notları
TABLE WITH ADJUSTMENTS THAT FACILITATE MY ACCURATE ENTRY IN THE 4H AND 1D FOR SWING TRADE, I USE THE EMA 12 ABOVE THE 26 TO ENTER IN THE SHORT TERM AND 50 ABOVE THE 200 AS WELLAçık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.