Full Candle Size AnalyzerFull Candle Size Analyzer – Volatility-Based Candle Detector
This script helps traders visually and programmatically detect large candles based on price range volatility. It calculates the candle size as High - Low, then compares it against the average size over a user-defined period. The result is a powerful, visual volatility filter that:
✅ Colors candles red when their size exceeds a set multiple of the average
✅ Highlights the background when candle size surpasses a more aggressive alert threshold
✅ Plots both the current candle size and the average size in a sub-pane (optional toggle)
✅ Offers a built-in alert condition to catch large moves programmatically
📌 How to Use:
Choose your averaging period (e.g., 20 candles)
Adjust thresholds:
For visual coloring (e.g., 1.5× average)
For alerts and background highlight (e.g., 2.0× average)
Optionally toggle line plots to view candle size trends over time
📈 Trading Use Cases:
Detect volatility breakouts
Avoid entry during extreme candle ranges
Spot exhaustion candles or fakeouts
Filter false signals in ranging markets
Breadth Indicators
Enhanced RSI Divergence StrategyCore Strategy Logic
1. Higher Timeframe (HTF) Context
Purpose: Align with the dominant trend (e.g., "bullish made new highs").
Tools:
Price action (breakouts, key support/resistance levels).
Trend confirmation (e.g., 50EMA on 1H/4H charts).
2. Lower Timeframe (LTF) Entry Triggers
Momentum Breakdown (Short Example):
Signal: Price makes "high of the day" + reversal candlestick (e.g., bearish engulfing).
Confirmation: RSI divergence or volume spike.
Support Reversion (Long/Short):
Signal: False breakout (e.g., "faked bullish breakout and reversed").
Confirmation: Wick rejection at HTF support/resistance.
3. Trade Execution
Entry: On 5-minute close after trigger.
Stop Loss (SL):
Current: Fixed ticks (e.g., 7-13 pts) → Issue: Too tight for US100 volatility.
Improved: 1.5x ATR(14) or beyond recent swing high/low.
Take Profit (TP):
Current: Fixed price levels (e.g., 21523).
Improved: Tiered exits (50% at 1:1 RR, trail rest).
4. Position Sizing
Fixed contracts (e.g., 10 per trade).
Better Approach: Risk 1-2% of capital per trade (adjust size based on SL distance).
Key Strengths
HTF+LTF Alignment: Avoids counter-trend traps by trading in HTF direction.
Flexibility: Adapts to momentum and mean-reversion setups.
Journaling: Tracks emotions/mistakes (critical for improvement).
EMA34/89/200 (Văn Nam)This indicator displays three widely-used Exponential Moving Averages (EMAs): 34, 89, and 200 periods.
It is designed to help traders easily follow the market trend and spot potential momentum changes using EMA crossovers.
Features:
• Plots EMA34 (blue), EMA89 (green), and EMA200 (red) directly on your chart.
• Highlights crossovers between EMA34 & EMA89 (purple/orange) and between EMA89 & EMA200 (green/red).
• Includes built-in alert conditions for all crossover events.
Developed by Văn Nam.
Free to use and share.
For feedback or collaboration, please contact me.
Simple EMA34/89/200 (by Lê Văn Nam)This simple indicator displays three key Exponential Moving Averages (EMA): EMA34, EMA89, and EMA200.
It helps you identify trends and spot potential momentum shifts based on classic EMA crossovers.
Features:
- Plots EMA34 (blue), EMA89 (green), and EMA200 (red) on the chart.
- Marks EMA34 crossing above or below EMA89 (purple/orange cross).
- Marks EMA89 crossing above or below EMA200 (green/red cross).
- Built-in alert conditions for all cross events.
Developed by Lê Văn Nam.
Feel free to use and share. For suggestions or feedback, please contact me.
Hybrid: RSI + Breakout + Dashboard95% of traders lose, then i developped a bot that can go over those rules.
Solana Entrées / SL / TP - 5msol 5min tp sl avec points d'entrées et sorties et points d'achats et de ventes
Multi-Tool Indicator v6This is a versatile technical analysis tool designed to help traders quickly assess market trends and momentum. It combines a customizable Moving Average (MA) with Relative Strength Index (RSI) signals to highlight key market conditions directly on the chart.
🔧 Key Features:
Configurable Moving Average (MA):
Supports SMA (Simple Moving Average) and EMA (Exponential Moving Average).
User-defined length to match your strategy.
Plotted directly on the price chart for trend tracking.
RSI-Based Signal Detection:
Uses RSI to detect overbought (above 70) and oversold (below 30) conditions.
Plots red/green triangle shapes above/below bars when these conditions occur.
Background Highlighting:
Changes chart background to red when overbought and green when oversold to improve visual clarity.
Alerts for Key RSI Events:
Alerts can be triggered when RSI enters overbought or oversold zones.
Useful for automated strategy notifications.
MA Value Labels:
A label shows the current value of the MA near the most recent bar.
High/Low of Previous 3 Days & Daily Open (Frame-Independent)High/Low of Previous 3 Days & Daily Open
This indicator automatically plots:
The highest high and lowest low of the previous 3 trading days (excluding today),
Today’s daily open,
And shows a clear “Buy chủ đạo” (Strong Buy) label if price closes above the 3D-High,
Or a “Sell chủ đạo” (Strong Sell) label if price closes below the 3D-Low.
Key advantages:
Always calculates the true 3-day range on any timeframe (not just 3 bars),
Instantly highlights breakout zones for strong trend trading,
Simple, clean, and highly effective for both breakout and trend-following traders.
Just add it to your chart and watch for strong moves whenever price breaks out of the recent 3-day range!
Pseudo Renko-Linie + TurtleTrader S&R (TradingFrog)📊 Pseudo Renko + TurtleTrader S&R Indicator - Complete Analysis
🎯 Overview: What is this Indicator?
This Pine Script v6 indicator combines two powerful trading concepts:
🧱 Pseudo-Renko System - Filters market noise through artificial Renko blocks
🐢 TurtleTrader Support & Resistance - Identifies precise resistance lines and generates trading signals
⚠️ IMPORTANT: This is a PSEUDO-Renko System, not real Renko charts! The indicator simulates Renko logic on normal candlestick charts.
🧱 The Pseudo-Renko System in Detail
What is Pseudo-Renko?
Not a real Renko chart, but a simulation on normal candles
Filters market noise through defined box sizes
Generates clear trend signals without time factor
Visualizes price movements in uniform blocks
🔧 Renko Block Functions:
📈 Upward Blocks:
Kopieren
if close >= renko + boxsize
renko := renko + boxsize
dir := 1 // Upward trend
📉 Downward Blocks:
Kopieren
if close <= renko - boxsize
renko := renko - boxsize
dir := -1 // Downward trend
🎨 Visual Representation:
Green Blocks = Upward movement
Red Blocks = Downward movement
Dynamic Renko Line = Current trend level
Configurable transparency and borders
🐢 TurtleTrader Support & Resistance System
What are Turtle Lines?
The TurtleTrader method uses separate Renko logic to calculate:
Support Lines (support levels)
Resistance Lines (resistance levels)
🔍 Separate Renko Calculation for S&R:
// SEPARATE Turtle-Renko with own box size
turtle_boxsize = 15 // Independent from main Renko size
📊 Dual-Level System:
🔴 Major Support & Resistance:
Calculation: Highest/Lowest values of last 20 Renko blocks
Usage: Main resistance lines for larger movements
Color: Red (resistance) / Green (support)
🟡 Minor Support & Resistance:
Calculation: Highest/Lowest values of last 10 Renko blocks
Usage: Short-term resistance lines
Color: Orange (resistance) / Blue (support)
🚨 Signal Generation System
💥 Breakout Signals:
📈 Resistance Breakout:
resistanceBreakout = close > prev_resistance_major and close <= prev_resistance_major
Trigger: Price breaks through resistance line upward
Signal: "BREAKOUT RESISTANCE ↗"
Color: Lime/Green
📉 Support Breakdown:
supportBreakout = close < prev_support_major and close >= prev_support_major
Trigger: Price breaks through support line downward
Signal: "BREAKDOWN SUPPORT ↘"
Color: Red
👆 Touch Signals:
Resistance Touch: Price approaches resistance
Support Touch: Price approaches support
Tolerance: Configurable zone around S&R lines
🎯 Intelligent Filtering:
if use_renko_filter
resistanceBreakout := resistanceBreakout and dir == 1
supportBreakout := supportBreakout and dir == -1
Only signals in Renko trend direction are displayed!
🌈 S&R Zone System
What are S&R Zones?
Areas around resistance lines instead of just exact lines
Realistic representation of support/resistance
Configurable width (% of box size)
🎨 Zone Visualization:
Major Zones: Thicker, less transparent areas
Minor Zones: Thinner, more transparent areas
Color Coding: Red/Green for Major, Orange/Blue for Minor
📊 Live Dashboard Features
📈 Real-time Market Data:
// Distance to resistance
rDistance = ((resistance_major - close) / close) * 100
// Distance to support
sDistance = ((close - support_major) / close) * 100
🎯 Dashboard Contents:
Major Resistance/Support Values
Percentage distances to S&R lines
Turtle Box Size (currently used)
S&R Periods (Entry/Exit)
Current Renko Trend (Up/Down/Neutral)
Breakout Statistics (Total count)
🚨 Warning System:
Orange coloring when distance <1% to S&R lines
Trend display with arrows and colors
⚙️ Configuration Options
🧱 Renko Settings:
Box Size: 10 (default for main Renko)
Maximum Blocks: 1000
Colors: Up/Down configurable
Transparency: Individually adjustable
🐢 Turtle Parameters:
Separate Box Size: 15 (for S&R calculation)
Entry Period: 20 (Major S&R)
Exit Period: 10 (Minor S&R)
🎨 Visual Customizations:
Line Colors: All elements individually
Line Widths: 1-10 pixels
Line Styles: Solid/Dashed/Dotted
Transparency: 0-100% for all elements
🎯 Practical Application
📈 Long Signals:
Renko Trend: Upward (green blocks)
Signal: "BREAKOUT RESISTANCE ↗"
Confirmation: Price above Major Resistance
📉 Short Signals:
Renko Trend: Downward (red blocks)
Signal: "BREAKDOWN SUPPORT ↘"
Confirmation: Price below Major Support
⚠️ Caution Signals:
Touch Labels: Price approaches S&R
Orange Distances: <1% to important levels
Trend Change: Renko direction changes
🔥 Unique Strengths
💡 Dual-Renko System:
Main Renko: For trend and visualization
Turtle Renko: For precise S&R calculation
Independent box sizes for optimal adaptation
🎯 Precise Signals:
Trend-filtered breakouts
Touch detection before breakouts
Statistical evaluation
📊 Professional Appearance:
Fully customizable
Clear dashboard
Consistent color coding
🚀 Key Features Summary
🧱 Pseudo-Renko Core:
Simulates Renko logic on candlestick charts
Noise filtering through box-based price movements
Visual blocks showing trend direction
Dynamic trend line following Renko levels
🐢 TurtleTrader S&R Engine:
Separate calculation logic for support/resistance
Dual timeframe approach (Major/Minor levels)
Automatic level updates based on Renko blocks
Zone-based analysis instead of exact lines
🚨 Advanced Signal System:
Breakout detection with trend confirmation
Touch alerts for early warnings
Statistical tracking of all signals
Intelligent filtering to reduce false signals
📊 Professional Dashboard:
Real-time market metrics
Distance calculations to key levels
Trend status with visual indicators
Customizable positioning and styling
🎯 Trading Strategy Integration
📈 Entry Strategies:
Breakout Trading:
Wait for Renko trend confirmation
Look for breakout signal above/below S&R
Enter on signal with appropriate risk management
Use opposite S&R as profit target
Reversal Trading:
Watch for touch signals at S&R levels
Confirm with Renko trend change
Enter on trend reversal confirmation
Use tight stops below/above S&R zones
📉 Risk Management:
S&R zones provide natural stop levels
Distance indicators help with position sizing
Trend confirmation reduces false entries
Statistical tracking improves strategy refinement
🔧 Technical Implementation
🧮 Calculation Engine:
Kopieren
// Dual Renko systems running in parallel
var float renko = na // Main visualization
var float turtle_renko = na // S&R calculation
// Independent box sizes
boxsize = 10 // Visual Renko
turtle_boxsize = 15 // S&R Renko
📊 Data Management:
Array-based storage for historical S&R levels
Dynamic memory management to prevent overflow
Efficient calculation updates only on Renko changes
Real-time plotting with optimized performance
🎨 Rendering System:
Box objects for visual Renko blocks
Plot functions for S&R lines and zones
Label system for signals and touches
Table widget for dashboard display
🚀 Conclusion
This indicator represents advanced trading technology that:
✅ Implements Pseudo-Renko logic for noise filtering
✅ Uses TurtleTrader methodology for precise S&R lines
✅ Generates intelligent signals with trend filtering
✅ Offers complete customization for any trading style
✅ Provides professional visualization with live dashboard
✅ Combines multiple timeframes in one coherent system
✅ Delivers actionable insights for both breakout and reversal trading
This is trading technology at its finest! 🎯💪
The combination of Pseudo-Renko trend filtering with TurtleTrader S&R methodology creates a powerful tool that helps traders:
Identify high-probability setups
Filter out market noise
Time entries and exits precisely
Manage risk effectively
Track performance systematically
Perfect for both novice and professional traders! 📈🚀
Whale Volume Alerti am oublishtion for my own
so dont use it
it was made thrugh dont now
i have made it
NTL SCALP v2 with TP & SL (Absolute)NTL SCALP v2 with TP & SL (Absolute) – Scalping Trend System
Timeframe Example: 15-minute (XAUUSD)
Indicator Type: Combined trend-following and momentum-based scalping system
🔍 Purpose of This Indicator
This script is designed as a unified tool for intraday scalpers, combining multiple essential components—trend detection, entry signal logic, and automated risk management—into one streamlined system. Rather than simply merging various indicators, it integrates them with a clear purpose: to generate trade setups with actionable entries and realistic TP/SL targets in trending markets.
📌 Core Components & How They Work Together
Multi-Ribbon EMA Trend Filter
Multiple Exponential Moving Averages (EMAs) are used to detect short-, medium-, and long-term trends.
The EMA ribbons visually shift from red (bearish) to green (bullish) depending on the overall price structure.
These ribbons not only indicate trend direction but also serve as dynamic support/resistance levels.
Momentum-Based Entry Signals
Buy and sell signals are triggered when price momentum aligns with the trend (e.g., bullish breakout above EMAs with supporting candle structure).
The system ensures that trades are only taken in the direction of the prevailing trend, reducing the likelihood of false signals.
Auto-Generated Entry, TP & SL Levels
Once a valid setup is detected, the script plots the entry price, stop-loss (SL), and up to four take-profit (TP1–TP4) targets.
These levels are based on recent volatility and trend strength, allowing traders to manage risk and reward efficiently.
Labels such as “TP1 HIT” or “SL HIT” are displayed on the chart to show trade progress in real-time.
✅ How to Use This Indicator
Designed for scalping and short-term trend trading during high-volume market sessions (e.g., London/New York).
Ideal for traders who prefer clear rules for entry, exit, and risk management.
Can be used standalone, but works even better with confirmation from price action or volume-based tools.
🛑 Note
To ensure effective performance, avoid using this tool in ranging or low-volatility markets. It is optimized for trending environments.
⚠️ Disclaimer
This script is intended for educational purposes and does not constitute financial advice. Always conduct your own analysis and apply risk management when trading.
AMOGH SMC 1Smart Money Concept (SMC) Indicator market structure ke powerful elements jaise Break of Structure (BOS), Change of Character (CHoCH), liquidity zones, aur Fair Value Gaps (FVG) ko identify karta hai. Is indicator ka purpose hai institutional price movements ko track karna—jahaan large players apna entry ya exit plan karte hain. Traditional indicators ke mukable SMC ek zyada refined aur logic-driven approach deta hai jisme market ka intent samajhna asaan hota hai. Ye tool traders ko trending aur consolidating market conditions me structure-based signals provide karta hai, jisse trade execution aur risk management aur effective ho jata hai. FVGs un zones ko highlight karte hain jahan price imbalance hota hai, aur CHoCH/BOS se market ka directional bias confirm hota hai. Jo traders price action aur institutional footprint pe kaam karte hain, unke liye ye indicator ek must-have resource hai. Iska design clean, customizable aur real-time plotting ke saath optimized hai.
Gold Trend Scalper [Strategy]The Gold Trend Scalper (GTS Pro) is a trend-following momentum-based strategy specifically optimized for trading XAUUSD (Gold) on the 1-minute timeframe. It combines volatility filters, breakout logic, trend confirmation, and risk management to identify high-probability entry points with dynamic exits.
Gold Trend Scalper [Strategy]The Gold Trend Scalper (GTS Pro) is a trend-following momentum-based strategy specifically optimized for trading XAUUSD (Gold) on the 1-minute timeframe. It combines volatility filters, breakout logic, trend confirmation, and risk management to identify high-probability entry points with dynamic exits.
Alım Algoritması (EMA + RSI + MACD + ATR + Pozisyon Takibi)//@version=5
indicator("Alım Algoritması (EMA + RSI + MACD + ATR + Pozisyon Takibi)", overlay=true)
// === INPUTS ===
ema1_len = input.int(21, title="EMA 1")
ema2_len = input.int(50, title="EMA 2")
ema3_len = input.int(100, title="EMA 3")
rsi_len = input.int(14, title="RSI Length")
atr_len = input.int(14, title="ATR Length")
macd_fast = input.int(12, title="MACD Fast")
macd_slow = input.int(26, title="MACD Slow")
macd_signal = input.int(9, title="MACD Signal")
max_distance_pct = input.float(5.0, title="Max EMA Distance %", step=0.1)
// === CALCULATIONS ===
ema1 = ta.ema(close, ema1_len)
ema2 = ta.ema(close, ema2_len)
ema3 = ta.ema(close, ema3_len)
avg_ema = (ema1 + ema2 + ema3) / 3
distance_pct = math.abs(close - avg_ema) / avg_ema * 100
ema_near = distance_pct <= max_distance_pct
basis = ta.sma(close, 20)
dev = ta.stdev(close, 20)
upper = basis + 2 * dev
lower = basis - 2 * dev
width = (upper - lower) / basis
is_range = width < 0.12 // %5'ten dar bant
rsi = ta.rsi(close, rsi_len)
rsi_trend = ta.sma(rsi, 5)
rsi_up = rsi > rsi_trend
= ta.macd(close, macd_fast, macd_slow, macd_signal)
ema1_cross = ta.crossover(close, ema1) or ta.crossover(close, ema2) or ta.crossover(close, ema3)
ema_recent_cross = ta.barssince(ema1_cross) < 5
// === BUY SIGNAL ===
//buy_signal = ema_near and ema_recent_cross and
// macdLine > signalLine and hist > 0 and
// rsi > 45 and rsi < 65 and rsi_up
buy_signal = not is_range and ema_near and ema_recent_cross and
macdLine > signalLine and hist > 0 and
rsi > 45 and rsi < 65 and rsi_up
//buy_signal = not is_range and ema_near and ema_recent_cross and
// macdLine > signalLine and hist > 0 and
// rsi > 45 and rsi < 65 and rsi_up
// === POSITION LOGIC ===
var bool in_position = false
var float entry_price = na
var float stop_loss = na
var float take_profit_1 = na
var float take_profit_2 = na
atr = ta.atr(atr_len)
// Koşullar
new_buy = buy_signal and not in_position
// SL ve TP seviyeleri hesaplama
new_sl = close - 1.5 * atr
new_tp1 = close + 2.0 * atr
new_tp2 = close + 3.5 * atr
// Pozisyon açma
if new_buy
in_position := true
entry_price := close
stop_loss := new_sl
take_profit_1 := new_tp1
take_profit_2 := new_tp2
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.green, textcolor=color.white)
sl_hit = in_position and low <= stop_loss
tp1_hit = in_position and high >= take_profit_1
tp2_hit = in_position and high >= take_profit_2
// Pozisyon kapama sinyali
if sl_hit
in_position := false
//label.new(bar_index, low, "SL", style=label.style_label_down, color=color.red, textcolor=color.white)
if tp2_hit
in_position := false
//label.new(bar_index, high, "TP2", style=label.style_label_down, color=color.rgb(209, 34, 222), textcolor=color.white)
else if tp1_hit
in_position := false
//label.new(bar_index, high, "TP1", style=label.style_label_down, color=color.rgb(209, 34, 222), textcolor=color.white)
// === PLOT ===
// Sadece BUY, SL ve TP seviyeleri çizilir
plot(in_position ? stop_loss : na, title="Stop Loss", color=color.red, style=plot.style_linebr)
//plot(in_position ? take_profit_1 : na, title="TP1", color=color.rgb(209, 34, 222), style=plot.style_linebr)
//plot(in_position ? take_profit_2 : na, title="TP2", color=color.rgb(209, 34, 222), style=plot.style_linebr)
Renko MACD v2.0 (TradingFrog)Renko MACD (TradingFrog) – Professional Description with Code Explanations
Description:
The Renko MACD v2.0 (TradingFrog) merges the clarity of Renko charting with the power of the MACD indicator. This script SIMULATES RENKO BRICKS using price movement within any timeframe and calculates the MACD on these pseudo-Renko closes, resulting in clearer, noise-reduced trend signals.
Key Features & Code Insights
1. Pseudo-Renko Brick Calculation
price_diff = src - renko_close
abs_diff = math.abs(price_diff)
bricks_needed = math.floor(abs_diff / box_size)
Explanation:
This section computes how far the current price (src) has moved from the last Renko close. If the movement exceeds the predefined brick size, one or more new bricks will be created. This logic helps simulate Renko charts on any timeframe.
2. Brick Update Logic
if bricks_needed >= 1
direction = price_diff > 0 ? 1 : -1
brick_movement = direction * bricks_needed * box_size
new_renko_close = renko_close + brick_movement
renko_open := renko_close
renko_close := new_renko_close
renko_trend := direction
Explanation:
When the price moves enough to warrant at least one new brick, the script determines the direction (up or down), calculates the new Renko close, and updates all relevant Renko variables. This enables the indicator to track trend changes and reversals.
3. MACD Calculation on Renko Data
renko_macd = ta.ema(renko_close, fast_length) - ta.ema(renko_close, slow_length)
renko_signal = ta.ema(renko_macd, signal_length)
renko_histogram = renko_macd - renko_signal
Explanation:
Instead of using standard price closes, the MACD is calculated on the simulated Renko close prices. This reduces market noise and provides earlier, more reliable trend signals.
4. Alerts and Visual Markers
macd_cross_up = ta.crossover(renko_macd, renko_signal)
macd_cross_down = ta.crossunder(renko_macd, renko_signal)
Explanation:
These lines detect when the Renko MACD line crosses above or below its signal line. The script uses these events to trigger on-chart markers and TradingView alerts, making it easy to spot trading opportunities.
5. Debug & Display Table (Optional)
table.cell(myTable, 0, 0, "Renko Close: " + str.tostring(renko_close))
table.cell(myTable, 1, 0, "MACD: " + str.tostring(renko_macd))
Explanation:
An optional debug table displays real-time Renko and MACD values directly on the chart, supporting transparency and strategy development.
Advantages
Noise Reduction: By using Renko logic, the indicator filters out insignificant price moves.
Clarity: Trends and reversals become much easier to identify.
Flexibility: Works on all markets and timeframes, with customizable brick size and MACD settings.
Note:
This indicator simulates Renko bricks within standard timeframe charts. While not identical to true Renko charts, it offers highly valuable trend and signal analysis for all types of traders.
Recommended Usage:
Best suited for traders seeking clear, reliable trend signals. Combine with other strategies for optimal results.
Happy Trading!
RSI Cảnh Báo Vùng 20/80 by TTVRSI 8 tín hiệu B khi đạt 20 và Sell khi đạt 80, có thể cài đặt khi đạt đến ngưỡng này
AI Score Indicator//@version=5
indicator("AI Score Indicator", overlay=true)
// Eingaben
length = input.int(14, title="RSI Length")
smaLength = input.int(50, title="SMA Length")
bbLength = input.int(20, title="Bollinger Band Length")
stdDev = input.float(2.0, title="Standard Deviation")
// Indikatoren
rsi = ta.rsi(close, length)
sma = ta.sma(close, smaLength)
= ta.bb(close, bbLength, stdDev)
// Scoring (simuliert ein KI-System mit gewichteten Bedingungen)
score = 0
score := rsi < 30 ? score + 1 : score
score := close < sma ? score + 1 : score
score := close < bb_lower ? score + 1 : score
score := ta.crossover(close, sma) ? score + 1 : score
// Buy-/Sell-Signale auf Basis des Scores
buySignal = score >= 3
sellSignal = rsi > 70 and close > sma
// Signale anzeigen
plotshape(buySignal, title="Buy", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(sellSignal, title="Sell", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Score visualisieren (debugging)
plot(score, title="AI Score", color=color.orange)