Stema sau Banul📜 Povestea Indicatorului „Stema sau Banul” 🎲💰
În vremuri de demult, când piețele financiare erau dominate de strategii complexe și analiști îmbrăcați în costume scumpe, un investitor legendar pe nume Maestrul Stemei și-a pus o întrebare simplă:
👉 „Dacă oricum piețele sunt imprevizibile, de ce să nu lăsăm soarta să decidă?”
Astfel, într-o noapte ploioasă, în fața unui birou plin de grafice și lumânări roșii și verzi, Maestrul Stemei a luat o monedă veche de aur și a început să o arunce.
Dacă ieșea Stema, el cumpăra.
Dacă ieșea Banul, vindea fără ezitare.
Spre uimirea tuturor, strategia sa pur aleatorie a început să rivalizeze cu cele mai sofisticate modele matematice. Traderii de pe Wall Street îl priveau cu neîncredere, iar roboții de tranzacționare încercau să-l copieze. Dar nimeni nu putea egala simplitatea filozofiei sale: „Lasă banul să vorbească”.
Astăzi, moștenirea Maestrului Stemei continuă prin acest indicator, care îți oferă semnale bazate pe vechea metodă a aruncării monedei. Va fi norocul de partea ta? Sau vei blestema ziua în care ai ascultat de un cod care decide aleatoriu? 🎲
💡 Regulă de aur:
➡ Dacă pierzi, spune că e doar o glumă.
➡ Dacă câștigi, pretinde că ai descoperit un algoritm revoluționar.
Acum, Stema sau Banul îți stă la dispoziție! 🎩📈
Pattern grafici
Hôm qua RSI14_EMA9_WMA45_V09rsi ema wma
Buy khi thoa man dieu kien: ema9 cắt lên wma45 và thỏa mãn rsi >y, wma>x ema >z
Sell khi thoa man dieu kien: ema9 cắt xuong wma45 và thỏa mãn rsi >y, wma>x ema >z
Callout Signals (RSI + MACD)ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffff
Estrategia Barrido de Liquidez + EMAsDetección de swing highs (H) y swing lows (L).
Confirmación con EMAs, RSI y volumen.
Reglas de entrada/salida y gestión de riesgo.
[SHORT ONLY] Consecutive Bars Above MA Strategy█ STRATEGY DESCRIPTION
The "Consecutive Bars Above MA Strategy" is a contrarian trading system aimed at exploiting overextended bullish moves in stocks and ETFs. It monitors the number of consecutive bars that close above a chosen short-term moving average (which can be either a Simple Moving Average or an Exponential Moving Average). Once the count reaches a preset threshold and the current bar’s close exceeds the previous bar’s high within a designated trading window, a short entry is initiated. An optional EMA filter further refines entries by requiring that the current close is below the 200-period EMA, helping to ensure that trades are taken in a bearish environment.
█ HOW ARE THE CONSECUTIVE BULLISH COUNTS CALCULATED?
The strategy utilizes a counter variable, `bullCount`, to track consecutive bullish bars based on their relation to the short-term moving average. Here’s how the count is determined:
Initialize the Counter
The counter is initialized at the start:
var int bullCount = na
Bullish Bar Detection
For each bar, if the close is above the selected moving average (either SMA or EMA, based on user input), the counter is incremented:
bullCount := close > signalMa ? (na(bullCount) ? 1 : bullCount + 1) : 0
Reset on Non-Bullish Condition
If the close does not exceed the moving average, the counter resets to zero, indicating a break in the consecutive bullish streak.
█ SIGNAL GENERATION
1. SHORT ENTRY
A short signal is generated when:
The number of consecutive bullish bars (i.e., bars closing above the short-term MA) meets or exceeds the defined threshold (default: 3).
The current bar’s close is higher than the previous bar’s high.
The signal occurs within the specified trading window (between Start Time and End Time).
Additionally, if the EMA filter is enabled, the entry is only executed when the current close is below the 200-period EMA.
2. EXIT CONDITION
An exit signal is triggered when the current close falls below the previous bar’s low, prompting the strategy to close the short position.
█ ADDITIONAL SETTINGS
Threshold: The number of consecutive bullish bars required to trigger a short entry (default is 3).
Trading Window: The Start Time and End Time inputs define when the strategy is active.
Moving Average Settings: Choose between SMA and EMA, and set the MA length (default is 5), which is used to assess each bar’s bullish condition.
EMA Filter (Optional): When enabled, this filter requires that the current close is below the 200-period EMA, supporting entries in a downtrend.
█ PERFORMANCE OVERVIEW
This strategy is designed for stocks and ETFs and can be applied across various timeframes.
It seeks to capture mean reversion by shorting after a series of bullish bars suggests an overextended move.
The approach employs a contrarian short entry by waiting for a breakout (close > previous high) following consecutive bullish bars.
The adjustable moving average settings and optional EMA filter allow for further optimization based on market conditions.
Comprehensive backtesting is recommended to fine-tune the threshold, moving average parameters, and filter settings for optimal performance.
VWAP & EMA Trend Trading with buy and sell signalin my opinion after using so many indicators this is the only indicator i need to scalp or swing depending on what we want to accomplish easy read of buy and sell signal. Too much complication clutters the mind and very hard to get in any trade and leave so much on the table , small position with high probablity trades is all we need. good luck all.
BTC Smart Volume Confirmation Btc Market Stats Panel Introduction I've created a script that brings TradingView's watchlist stats panel functionality directly to your charts. This isn't just another performance indicator - it's a
EMA & SMA IndicatorThis indicator displays Exponential Moving Averages (EMA) and a Simple Moving Average (SMA) to help analyze market trends.
Features:
✅ EMA 9, 21, 50, 200 – show short-term, mid-term, and long-term trends.
✅ SMA 9 – an additional filter for short-term analysis.
✅ Labels on the last candle – makes it easy to identify moving average levels without cluttering the chart.
✅ Clear color coding – distinct lines that enhance visualization without distractions.
🔹 How to Use:
Works for all markets (Forex, Stocks, Crypto, etc.).
EMA 9 & 21 help identify short-term entry and exit points.
EMA 50 & 200 provide insights into the overall market trend.
SMA 9 serves as a confirmation tool.
This indicator is designed to improve market analysis and help traders make informed decisions! 🚀
RSI14_EMA9_WMA45_V06Cập nhật tùy biến:
RSI EMA WMA
Cài đặt thông số tiêu chuẩn rsi14, ema9, wma45
Buy khi: ema9 cắt lên wma45 và rsi <40
Sell khi : ema9 cắt xuống wma50 và rsi >50
RSI14_EMA9_WMA45_V02ĐIều kiện vào lệnh
rsi 14 ema9 và wma45
Buy: ema9 cắt lên wma45 và thỏa mãn rsi tại vùng x (x tùy biến)
Sell: ema9 cắt xuống wma45 và thỏa mãn rsi tại vùng x (x tùy biến)
Scalping Cripto con Indicadores Combinados PegofeThis script is a scalping strategy designed for the crypto market, using key indicators to filter high-probability entries and exits. The strategy is optimized for a minimum risk/reward ratio of 1:2, ensuring sustainable profitability over time.
🔹 📊 Indicators Used: ✔ EMA 9 & EMA 21: Identify trends and momentum shifts.
✔ VWAP: Evaluates relative price levels to avoid overbought/oversold zones.
✔ Stochastic RSI: Detects extreme conditions and confirms trade setups.
✔ ATR (Average True Range): Sets dynamic Stop Loss & Take Profit based on market volatility.
🔹 📌 Entry & Exit Conditions: ✅ Long Entry:
EMA 9 crosses EMA 21 upwards 📈
Price is above VWAP ✅
Stochastic RSI < 20 (indicating oversold and potential reversal)
✅ Short Entry:
EMA 9 crosses EMA 21 downwards 📉
Price is below VWAP ❌
Stochastic RSI > 80 (indicating overbought and potential drop)
✅ Risk Management:
Stop Loss: 1.5x ATR
Take Profit: 2x ATR (minimum 1:2 risk/reward ratio)
BTC Strategy with High Accuracy (Example)BTC script BTC script BTC script BTC script BTC script BTC script BTC script BTC script
ICT Strategy - Final//@version=5
indicator("ICT Strategy - Final", overlay=true)
// تنظیمات
var int lookback = 50 // تعداد کندلها برای شناسایی نقدینگی
var float risk_reward_ratio = 2 // نسبت ریسک به ریوارد
var int min_ob_size = 2 // حداقل اندازه اوردربلوک (تعداد کندلها)
// شناسایی نقدینگی (Liquidity)
var float liquidity_high = ta.highest(high, lookback) // بالاترین High در lookback کندل
var float liquidity_low = ta.lowest(low, lookback) // پایینترین Low در lookback کندل
// شناسایی CHoCH (Change of Character)
var bool is_choch = na
is_choch := ta.crossover(close, ta.highest(high, 5)) or ta.crossunder(close, ta.lowest(low, 5))
// شناسایی BOS (Break of Structure)
var bool is_bos = na
is_bos := ta.crossover(high, ta.highest(high, 5)) or ta.crossunder(low, ta.lowest(low, 5))
// شناسایی FVG (Fair Value Gap)
var bool is_fvg = na
is_fvg := (high < low and low > high ) or (low > high and high < low )
// شناسایی اوردربلوکها (Order Blocks)
var float ob_high = na
var float ob_low = na
var string ob_type = na
var int ob_size = 0 // اندازه اوردربلوک (تعداد کندلها)
if (is_choch or is_bos or is_fvg) and close > open and close < open // کندل صعودی پس از کندل نزولی
ob_high := high
ob_low := low
ob_type := "Buy"
ob_size := 1
else if (is_choch or is_bos or is_fvg) and close < open and close > open // کندل نزولی پس از کندل صعودی
ob_high := high
ob_low := low
ob_type := "Sell"
ob_size := 1
else if ob_type == "Buy" and low > ob_low // ادامه اوردربلوک خرید
ob_size += 1
else if ob_type == "Sell" and high < ob_high // ادامه اوردربلوک فروش
ob_size += 1
// فیلتر اوردربلوکهای قوی
var bool is_strong_ob = na
if ob_size >= min_ob_size
is_strong_ob := true
else
is_strong_ob := false
// شناسایی نقاط ورود با فیلتر نویز و نقدینگی
var string entry = na
var float stop_loss = na
var float take_profit = na
if is_strong_ob and ob_type == "Buy" and low > ob_low and close > ob_high and high >= liquidity_high // ورود خرید
entry := "Buy"
stop_loss := ob_low - 1 // حد ضرر کمی پایینتر از اوردربلوک
take_profit := close + (risk_reward_ratio * (close - stop_loss)) // حد سود بر اساس RR
else if is_strong_ob and ob_type == "Sell" and high < ob_high and close < ob_low and low <= liquidity_low // ورود فروش
entry := "Sell"
stop_loss := ob_high + 1 // حد ضرر کمی بالاتر از اوردربلوک
take_profit := close - (risk_reward_ratio * (stop_loss - close)) // حد سود بر اساس RR
// نمایش نقدینگی
plot(liquidity_high, color=color.blue, linewidth=1, title="Liquidity High")
plot(liquidity_low, color=color.blue, linewidth=1, title="Liquidity Low")
// نمایش اوردربلوکهای قوی
plotshape(series=is_strong_ob and ob_type == "Buy", title="Strong Buy OB", location=location.belowbar, color=color.green, style=shape.labelup, text="OB Buy")
plotshape(series=is_strong_ob and ob_type == "Sell", title="Strong Sell OB", location=location.abovebar, color=color.red, style=shape.labeldown, text="OB Sell")
// نمایش سیگنالهای ورود
plotshape(series=entry == "Buy", title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=entry == "Sell", title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// نمایش حد ضرر و حد سود
plot(stop_loss, color=color.red, linewidth=2, title="Stop Loss")
plot(take_profit, color=color.green, linewidth=2, title="Take Profit")
Pegofe NY Breakout StrategyDescription for TradingView Publication
Title: Pegofe NY Breakout Strategy – EUR/USD (1:2 Risk/Reward)
Description:
The Pegofe NY Breakout Strategy is designed to capture high-probability trading opportunities in EUR/USD at the opening of the New York session (15:30 Spain / 14:30 UTC) on a 5-minute timeframe.
Key Features:
✅ Trend Confirmation: Uses EMA 50 and EMA 9 to filter high-probability trades.
✅ Momentum-Based Entries: Combines RSI (14) and EMA crossovers to detect overbought/oversold conditions.
✅ Risk-Reward Ratio of 1:2: Automatically calculates Stop Loss (SL) and Take Profit (TP) based on ATR (14) for dynamic volatility adjustment.
✅ Clear Trade Signals: Visual buy and sell signals appear when the entry criteria are met.
✅ Stop Loss & Take Profit Labels: Displays SL and TP levels on the chart using label.new() for better visualization.
Entry Conditions:
📈 Long Entry (Buy Signal):
• The price is above EMA 50 (uptrend).
• RSI < 35 (oversold).
• EMA 9 crosses above the price.
• The trade occurs after 14:30 UTC (New York session open).
📉 Short Entry (Sell Signal):
• The price is below EMA 50 (downtrend).
• RSI > 65 (overbought).
• EMA 9 crosses below the price.
• The trade occurs after 14:30 UTC (New York session open).
How It Works:
• When a valid trade setup occurs, the strategy executes an entry order and automatically sets a Stop Loss (1.5x ATR) and Take Profit (2x SL).
• The SL and TP levels are dynamically adjusted based on market volatility.
• The script labels SL and TP directly on the chart for better tracking.
Recommended Settings:
• Market: EUR/USD
• Timeframe: 5 minutes
• Session: After 14:30 UTC (New York open)
🚀 Try it now and optimize your NY session trading!
SOL Multi-Indicator StrategyThis strategy is designed to identify potential trading opportunities in the Solana (SOL) market by combining trend, momentum, and overbought/oversold indicators. Here’s how it works:
1. **Trend Detection with EMAs:**
- The strategy calculates two exponential moving averages (EMAs): a **fast EMA** (shorter period) and a **slow EMA** (longer period).
- **Buy Signal:** When the fast EMA crosses above the slow EMA, it suggests that the short-term price momentum is turning bullish.
- **Sell Signal:** Conversely, when the fast EMA crosses below the slow EMA, it indicates a potential downturn.
2. **Momentum and Overbought/Oversold Check with RSI:**
- The Relative Strength Index (RSI) is used to measure whether the market is overbought or oversold.
- **Buy Signal:** An RSI value below the oversold threshold (e.g., 30) suggests that the market may be undervalued and could be due for a bounce.
- **Sell Signal:** An RSI value above the overbought threshold (e.g., 70) indicates that the market might be overextended and due for a reversal.
3. **Additional Momentum Confirmation with MACD:**
- The MACD (Moving Average Convergence Divergence) indicator is used to gauge momentum changes.
- **Buy Signal:** A bullish crossover, where the MACD line crosses above its signal line, adds further confirmation that upward momentum is building.
- **Sell Signal:** A bearish crossover, where the MACD line crosses below its signal line, reinforces the possibility of declining momentum.
4. **Entry and Exit Conditions:**
- **Entry (Buy):** The strategy initiates a long position when all the following conditions are met:
- The fast EMA crosses above the slow EMA.
- The RSI is below the oversold threshold.
- The MACD line crosses above its signal line.
- **Exit (Sell):** The strategy exits the long position when any one of these conditions occurs:
- The fast EMA crosses below the slow EMA.
- The RSI rises above the overbought threshold.
- The MACD line crosses below its signal line.
5. **Plotting for Visual Confirmation:**
- The EMAs, RSI, and MACD lines are plotted on the chart. The use of `color.new()` ensures that the plotted lines have the desired transparency, making the visual representation clearer.
**Note:**
- This is an example strategy and should be thoroughly backtested and optimized before being used with real money.
- The script does not include additional risk management measures (like stop losses or position sizing beyond a percentage of equity), so you might want to incorporate those based on your trading requirements.
This multi-indicator approach aims to filter out false signals by requiring confirmation from multiple technical tools, ideally helping you capture strong moves in the SOL market.
Fair Value Gap (FVG) Detector//@version=6
indicator("Fair Value Gap (FVG) Detector", overlay=true)
// User Settings
show_bullish_fvg = input(true, title="Show Bullish FVG")
show_bearish_fvg = input(true, title="Show Bearish FVG")
gap_threshold = input(0.5, title="Gap Threshold (%)") / 100 // Minimum gap percentage
// Calculating Fair Value Gaps
prev_high = high
prev_low = low
current_low = low
current_high = high
// Bullish Fair Value Gap (Previous high > Current low)
bullish_fvg = show_bullish_fvg and (prev_high > current_low) and ((prev_high - current_low) / prev_high > gap_threshold)
// Bearish Fair Value Gap (Previous low < Current high)
bearish_fvg = show_bearish_fvg and (prev_low < current_high) and ((current_high - prev_low) / prev_low > gap_threshold)
// Plot Bullish FVG
if bullish_fvg
var box b = na
b := box.new(left=bar_index , right=bar_index, top=prev_high, bottom=current_low, bgcolor=color.new(color.green, 90), border_color=color.green)
// Plot Bearish FVG
if bearish_fvg
var box b = na
b := box.new(left=bar_index , right=bar_index, top=current_high, bottom=prev_low, bgcolor=color.new(color.red, 90), border_color=color.red)