指標和策略
MSTR/BTCUSD Ratio with MA ComparisonThis is R=MSTR/BTCUSD*1000. Green when the ratio is lower that 30 day Moving Average and red otherwise.
myc 15min//@version=5
strategy("MultiSymbol Smart Money EA sin Lotes ni Pares", overlay=true)
// Parámetros de la estrategia RSI
RSI_Period = input.int(14, title="RSI Periodo", minval=1)
RSI_Overbought = input.float(70, title="RSI sobrecompra")
RSI_Oversold = input.float(30, title="RSI sobreventa")
// Valores fijos para Stop Loss y Take Profit en porcentaje
FIXED_SL = input.float(0.2, title="Stop Loss en %", minval=0.0) / 100
FIXED_TP = input.float(0.6, title="Take Profit en %", minval=0.0) / 100
// Cálculo del RSI
rsi = ta.rsi(close, RSI_Period)
// Condiciones de compra y venta basadas en el RSI
longCondition = rsi <= RSI_Oversold
shortCondition = rsi >= RSI_Overbought
// Precio de entrada
longPrice = close
shortPrice = close
// Ejecutar las operaciones
if (longCondition)
strategy.entry("Compra", strategy.long)
if (shortCondition)
strategy.entry("Venta", strategy.short)
// Fijar el Stop Loss y Take Profit en base al porcentaje de la entrada
if (strategy.position_size > 0) // Si hay una posición larga
longStopLoss = longPrice * (1 - FIXED_SL)
longTakeProfit = longPrice * (1 + FIXED_TP)
strategy.exit("Salir Compra", from_entry="Compra", stop=longStopLoss, limit=longTakeProfit)
if (strategy.position_size < 0) // Si hay una posición corta
shortStopLoss = shortPrice * (1 + FIXED_SL)
shortTakeProfit = shortPrice * (1 - FIXED_TP)
strategy.exit("Salir Venta", from_entry="Venta", stop=shortStopLoss, limit=shortTakeProfit)
Fibonacci Rainbow EMAs & 55/144 CrossThe "Fibonacci Rainbow EMAs & 50/200 Cross" indicator is a powerful tool for visualizing price trends and identifying potential trading opportunities. It combines two key components: a Fibonacci-based EMA rainbow and a moving average crossover system.
Fibonacci Rainbow EMAs:
This indicator plots seven Exponential Moving Averages (EMAs) based on Fibonacci numbers: 8, 13, 21, 55, 89, 144, and 233. These EMAs are color-coded in a rainbow sequence (Red, Orange, Yellow, Green, Aqua, Blue, Purple) to provide a clear visual representation of the short-term, medium-term, and long-term price trends. The rainbow effect helps traders quickly assess the overall market direction and identify potential support and resistance levels. When the EMAs are aligned in the correct order (8 above 13, 13 above 21, etc.), it suggests a strong uptrend. The opposite order suggests a downtrend. Compression of the rainbow suggests consolidation, while expansion suggests increasing volatility.
55/144 EMA Cross Detection:
In addition to the rainbow, the script detects and visually highlights crossovers between the 55-period EMA and the 144-period EMA.
Bullish Cross: When the 55-period EMA crosses above the 144-period EMA, a green upward-pointing triangle is plotted below the bar. This signals a potential shift towards bullish momentum.
Bearish Cross: When the 55-period EMA crosses below the 144-period EMA, a red downward-pointing triangle is plotted above the bar. This signals a potential shift towards bearish momentum.
Alerts:
The indicator includes customizable alerts for both bullish and bearish crossovers. These alerts can be configured within TradingView to notify you when a crossover occurs, allowing you to react quickly to potential trading opportunities. The alert messages specifically state which EMAs have crossed (55 and 144).
Key Features:
Visual Trend Identification: The rainbow EMAs provide a clear, color-coded view of the trend.
Crossover Signals: The 55/144 EMA crossovers generate potential buy and sell signals.
Customizable Alerts: Real-time alerts keep you informed of significant market events.
Fibonacci Sequence: The use of Fibonacci numbers for EMA lengths adds a mathematical basis often considered significant in market analysis.
How to Use:
Use the EMA rainbow to identify the overall trend direction.
Look for 55/144 EMA crossovers as potential entry or exit points.
Combine the indicator with other technical analysis tools for confirmation.
Customize the alerts to fit your trading style.
Disclaimer: This indicator is for informational and educational purposes only and should not be considered financial advice. Trading involves risk, and 1 past performance is not indicative of future results. Always do your own research and consult with a qualified financial advisor before making any investment decision.
Antony Moving Average (AMA)EMA 9 (Blue), EMA 20 (Red), SMA 65 (Green), and SMA 200 (Yellow). Most times the stock respects 65 instead of 50 and so choosing 65 helps in better results.
Ichimoku Cloud with SL TPIndikatornya agak aneh titik harganya harus di pilih resolusi chart yang tepat
Weekend RangeWeekend Range Indicator – Customizable High/Low Zones
🔹 Overview
The Weekend Range Indicator marks the last 20 weekends on your chart, highlighting their highs and lows with fully customizable colors, transparency, and time settings. This tool helps traders identify key support and resistance levels from weekend price action.
🛠️ Features
✅ Custom Weekend Start & End – Choose the weekend days and time (UTC)
✅ Automatically Tracks the Last 20 Weekends (configurable up to 50)
✅ Custom Box Colors & Transparency – Adjust the fill and border colors easily
✅ Works on All Timeframes – Best viewed on 1H, 4H, or higher
✅ Efficient & Optimized Code – No lag, smooth performance
🎯 How to Use
1️⃣ Add the indicator to your chart.
2️⃣ Adjust the weekend start & end time in the settings.
3️⃣ Customize the box colors and transparency to match your style.
4️⃣ Watch how price reacts around the weekend high/low zones for trade opportunities.
💡 Trading Strategies
🔹 Breakout Trading – Look for price breaking above or below the weekend range.
🔹 Reversal Zones – Watch for rejections at weekend highs/lows.
🔹 Liquidity & Stop Hunts – Large players often target these levels.
📈 Recommended Markets
✔ Works best on Forex, Crypto, Indices, and Commodities
✔ Ideal for swing traders and intraday traders
🚀 Enjoy using the indicator! Let me know if you’d like any new features added! 🎯🔥
Pullback Indicator with Trend, SMC Logic & Signals3Pullback Indicator with Trend, SMC Logic & Signals3
SAR_BB_PC_ST_2025Супер трендовый инструмент
Использование самых популярных индикаторов настоящего времени в 1 для определения точки входа и выхода
Enhanced Gold Strategy (15M)Enhanced Gold Trading Strategy (15M)
This Pine Script strategy is designed for gold trading on a 15-minute timeframe, optimizing trend and momentum signals for high-probability trades. It incorporates multiple technical indicators to filter out false signals and improve trade accuracy.
Key Features:
✅ Moving Average Crossovers – Uses a 20-period short MA and 50-period long MA to identify trend shifts.
✅ Relative Strength Index (RSI) – Helps confirm overbought and oversold conditions to time entries better.
✅ Bollinger Bands Expansion – Ensures trades occur only in high-volatility market conditions.
✅ ADX Trend Strength Filter – Filters out trades in weak or choppy markets by requiring a trend strength above 20.
✅ Dynamic Support & Resistance – Uses the last 50-period high/low levels instead of static price levels.
✅ ATR-Based Stop-Loss & Take-Profit – Adapts dynamically to market conditions for optimal risk management.
✅ London/New York Overlap Filter – Restricts trading to the most liquid market hours (1 PM - 4 PM GMT).
Trading Logic:
Long Entry:
Short MA crosses above Long MA (Bullish crossover).
RSI below oversold level (Potential reversal).
Bollinger Bands expansion (Confirming strong momentum).
Price near dynamic support level (Ensuring a key level is respected).
ADX above 20 (Validating a strong trend).
Short Entry:
Short MA crosses below Long MA (Bearish crossover).
RSI above overbought level (Potential reversal).
Bollinger Bands expansion (Confirming strong momentum).
Price near dynamic resistance level (Ensuring a key level is respected).
ADX above 20 (Validating a strong trend).
This strategy is built for high-probability gold trades by combining trend-following, momentum, and volatility factors. With adaptive risk management, it ensures controlled losses and optimized profit potential.
KC+ST+FLI+EMAKC+ST+FLI+EMA
This indicator can be used for double confirmation of tend using super trend and follow line indicators. It also check ema crossover for confirmation. One can use this with volume and momentum indicator .
Keltner Channels (KC)
The Keltner Channels (KC) indicator is a banded indicator similar to Bollinger Bands and Moving Average Envelopes. They consist of an Upper Envelope above a Middle Line as well as a Lower Envelope below the Middle Line. The Middle Line is a moving average of price over a user-defined time period.
Basis = 20 Period EMA
Upper Envelope = 20 Period EMA + (2 X ATR)
Lower Envelope = 20 Period EMA - (2 X ATR)
What to look for
Trend Confirmation
During a Bullish Trend, a breakthrough above the upper envelope can be seen as a sign of strength and the uptrend is likely to continue.
During a Bearish Trend, a breakthrough below the lower envelope can be seen as a sign of strength and the downtrend is likely to continue.
Overbought and Oversold
When a market is choppy or trading sideways, Keltner Channels can be useful for identifying overbought and oversold conditions. These conditions can typically lead to price corrections where price moves back towards the moving average (Middle Line).
SuperTrend
Supertrend is ATR based tailing stop loss indicator.
It enters long whenever Supertrend changes its position from being above the chart to being below, and enters short when the opposite happens.
Follow Line Indicator
Follow Line Indicator is a trend following indicator. The blue or red lines are activated when price closes above the upper bollinger band and below lower one.
Exponential Moving Average (EMA)
The Exponential Moving Average (EMA) is a specific type of moving average that points towards the importance of the most recent data and information from the market. The Exponential Moving Average is just like it’s name says - it’s exponential, weighting the most recent prices more than the less recent prices. The EMA can be compared and contrasted with the simple moving average.
This can be used as crossover of triple ema or double ema. Like cross of 10ema and 50 ema as short term trend. and cross of 50 ema and 200 ema as long term trend.
Money Flow Indicator (Chaikin Oscillator) with VWAPStrategy Overview
Entry Conditions:
Buy Entry:
The Chaikin Oscillator crosses above the signal line.
The current price is above the VWAP.
Sell Entry:
The Chaikin Oscillator crosses below the signal line.
The current price is below the VWAP.
Exit Conditions:
Profit Taking:
Take profit when a target profit is reached (e.g., a 2% increase from the entry price).
Stop Loss:
Set a stop loss, for example, at a 1% decline from the entry price.
Risk Management:
Manage risk by limiting each trade to no more than 1-2% of the account balance.
Calculate position size based on risk and trade accordingly.
Trend Confirmation:
Use other indicators (like moving averages) to confirm the overall trend and focus trades in the direction of the trend.
In an uptrend, prioritize buy entries; in a downtrend, prioritize sell entries.
Specific Trade Scenarios
Example 1: Buy Entry:
Enter a buy position when the Chaikin Oscillator crosses above the signal line and the price is above the VWAP.
Set a stop loss 1% below the entry price and a profit target 2% above the entry price.
Example 2: Sell Entry:
Enter a sell position when the Chaikin Oscillator crosses below the signal line and the price is below the VWAP.
Set a stop loss 1% above the entry price and a profit target 2% below the entry price.
Additional Considerations
Backtesting: Test this strategy with historical data to evaluate performance and make adjustments as needed.
Market Conditions: Pay attention to market volatility and economic indicators, adjusting the trading strategy flexibly.
Psychological Factors: Avoid emotional decisions and follow clear rules when trading.
Pi Cycle Top [maxty]For the Bitcoin Pi Cycle Top Indicator (using the 111DMA and 350DMA x 2), you should use the Daily (D) chart.
The Bitcoin Pi Cycle Top Indicator is a technical analysis tool used to predict potential market tops in Bitcoin’s price cycles. It was created by analyst Philip Swift and relies on the interaction between two specific moving averages: the 111-day moving average (111DMA) and a 2x multiple of the 350-day moving average (350DMA x 2). The indicator signals a possible peak when the shorter 111DMA crosses above the longer 350DMA x 2, suggesting that Bitcoin’s price has reached an overheated, unsustainable level relative to its historical trend.
It has accurately flagged Bitcoin cycle tops in past bull markets, typically within a few days of the peak.
RSIOMA Quantum Vision Pro VD DUNG//@version=5
indicator(title="RSIOMA Quantum Vision Pro", shorttitle="QV-RSIOMA Pro", overlay=false, precision=2, max_lines_count=500)
// ======================
// 1. CORE CONFIGURATION
// ======================
rsi_len = input.int(21, "RSI Period", minval=1, group="Quantum Engine")
ema_smooth = input.int(9, "Primary Smoothing", minval=1, group="Quantum Engine")
wma_fast = input.int(45, "Momentum Wave", minval=1, group="Dynamic Filters")
wma_slow = input.int(89, "Trend Wave", minval=1, group="Dynamic Filters")
signal_len = input.int(5, "Signal Precision", minval=1, group="Signal Processor")
// ======================
// 2. QUANTUM CALCULATIONS
// ======================
raw_rsi = ta.rsi(close, rsi_len)
smooth_ema = ta.ema(raw_rsi, ema_smooth)
momentum_wave = ta.wma(smooth_ema, wma_fast)
trend_wave = ta.wma(smooth_ema, wma_slow)
signal_line = ta.ema(momentum_wave, signal_len)
// ======================
// 3. NEURAL VISUAL DESIGN
// ======================
// Professional Color Scheme
col_background = color.new(#12161D, 100)
col_primary = #6366F1
col_secondary = #10B981
col_tertiary = #F59E0B
col_signal = #EF4444
// Advanced Plot Styling
p1 = plot(momentum_wave, "Momentum Wave", col_primary, 2, style=plot.style_linebr)
p2 = plot(trend_wave, "Trend Wave", col_secondary, 2, style=plot.style_linebr)
p3 = plot(smooth_ema, "Alpha Smoothing", col_tertiary, 2, style=plot.style_linebr)
p4 = plot(signal_line, "Signal Core", col_signal, 3, style=plot.style_cross)
// 4. HOLOGRAPHIC FILL SYSTEM
fill(p1, p2, color.new(col_primary, 90), "Momentum/Trend Zone")
fill(p2, p3, color.new(col_secondary, 85), "Trend/Smooth Zone")
fill(p3, p4, color.new(col_tertiary, 80), "Smooth/Signal Zone")
// ======================
// 5. DYNAMIC SCALE OPTIMIZATION
// ======================
// Auto-Scaling Algorithm
upper_band = math.max(80, ta.highest(momentum_wave, 200))
lower_band = math.min(20, ta.lowest(momentum_wave, 200))
// ======================
// 6. INSTITUTIONAL LEVELS
// ======================
hline(80, "Overbought", color=color.new(#EF4444, 70), linestyle=hline.style_dotted)
hline(50, "Equilibrium", color=color.new(#64748B, 70), linestyle=hline.style_dashed)
hline(20, "Oversold", color=color.new(#10B981, 70), linestyle=hline.style_dotted)
// ======================
// 7. SIGNAL PROCESSOR
// ======================
alertcondition(ta.crossover(momentum_wave, signal_line), "Quantum Bullish", "QV: Long Signal Activated")
alertcondition(ta.crossunder(momentum_wave, signal_line), "Quantum Bearish", "QV: Short Signal Activated")
// ======================
// 8. VISUAL ANCHORS
// ======================
if barstate.islast
label.new(bar_index, 80, "RISK ZONE", yloc=yloc.price,
style=label.style_label_down, color=#EF4444, textcolor=color.white, size=size.normal)
label.new(bar_index, 20, "VALUE ZONE", yloc=yloc.price,
style=label.style_label_up, color=#10B981, textcolor=color.white, size=size.normal)
bgcolor(col_background)
Big Fish Small Fish Yummy (Forex)This indicator is a versatile, multi-functional tool built in Pine Script™ (v6) that blends volatility, price action, and risk management to help you spot key forex trading opportunities. Here’s what it offers:
Key Features:
ATR & Candle Analysis:
Utilizes the Average True Range (ATR) to gauge market volatility. It identifies “Big Fish” candles—those with significant bullish or bearish momentum—by comparing the current candle’s range against a multiple of the previous ATR. It also evaluates wick sizes to detect “yummy” pin bars, signaling potential reversals or precise entry/exit points.
Swing Detection:
Incorporates a swing detection system that examines recent price action over a user-defined lookback period. By confirming valid swing highs and lows through trend analysis and sequence validation, the script highlights potential shifts in market momentum.
Risk & Lot Size Calculator:
Features a built-in calculator that uses your capital, chosen risk percentage, and ATR-derived pip values to compute optimal lot sizes. The script adjusts calculations based on different symbols and currencies, ensuring proper sizing for various forex pairs.
Multi-Pair Data Integration:
Pulls daily price data from OANDA for several major currency pairs (e.g., USD/JPY, USD/CHF, AUD, GBP, NZD, CAD, EUR), which supports accurate cross-market analysis and risk adjustments.
SMA & Lookback Visualization:
Plots three Simple Moving Averages (SMAs) to provide additional trend context. A customizable lookback highlight further accentuates recent price movements, making it easier to identify relevant market conditions.
How It Works
ATR Calculation & Candle Evaluation:
The script computes the ATR over a user-specified period and uses it to determine whether a candle qualifies as a “Big Fish” based on its range. Both bullish and bearish conditions are assessed.
Swing & Pin Bar Identification:
Through a combination of swing range validation, linear regression for trend confirmation, and sequence checks, the indicator marks potential swing highs and lows. It then monitors subsequent bars for “yummy” pin bar patterns—small bodies with relatively large wicks—which may signal reversals.
Risk Management & Lot Sizing:
Once a qualifying candle is identified, the script calculates stop-loss levels and suggests a lot size tailored to your account balance and risk settings. This dynamic adjustment factors in the pip value differences among various currency pairs.
Visual Cues & Labels:
The indicator uses colored bars and plotted shapes to highlight swing changes and fish candle events. Informative labels display key metrics like ATR pips, calculated lot size, and account capital, providing a quick overview of potential trade setups.
Customization
Input Parameters:
Adjust ATR length, multipliers for both big and small fish, swing lookback periods, and wick size thresholds to suit your trading style.
Display Options:
Toggle visual elements such as ATR pip display, lot size, and capital information on labels.
SMA Settings:
Set the lengths for three SMAs to help visualize trend direction.
Engulfing S/R Reversal - Tawengskiuses engulfing candle confirmation for reversal with volume and S/R for confluence
VWAP 8:30 AM Backtest// Pine Script for TradingView to Backtest Anchored VWAP on EUR/USD (5-min Chart)
//@version=5
indicator("VWAP 8:30 AM Backtest", overlay=true)
// Define session time for 8:30 AM CST
startHour = 8
startMinute = 30
endHour = 12
endMinute = 30
// Get VWAP
vwapValue = ta.vwap
// Identify if price is below VWAP at 8:30 AM CST
is830CST = (hour == startHour and minute == startMinute)
belowVWAP_830 = is830CST ? close < vwapValue : na
// Track price for the next 4 hours
timeWithinRange = (hour * 60 + minute) >= (startHour * 60 + startMinute) and (hour * 60 + minute) <= (endHour * 60 + endMinute)
stayedBelow = timeWithinRange and close < vwapValue
// Count occurrences
var float countBelowVWAP = 0
var float totalOccurrences = 0
if is830CST
totalOccurrences := totalOccurrences + 1
if belowVWAP_830
countBelowVWAP := countBelowVWAP + 1
// Win rate calculation
winRate = totalOccurrences > 0 ? (countBelowVWAP / totalOccurrences) * 100 : 0
// Display results
plotshape(is830CST and belowVWAP_830, location=location.belowbar, color=color.red, title="Below VWAP at 8:30 AM CST")
plotshape(stayedBelow, location=location.abovebar, color=color.blue, title="Stayed Below VWAP 4hrs")
label = "Win Rate: " + str.tostring(winRate, "#.##") + "%"
label_position = close + 0.001
label.new(time, label_position, label, color=color.white, textcolor=color.black)
Bot for Spot Market - Custom GridThis script is designed to create a trading bot for the spot market, specifically for buying and selling bitcoins profitably. Recommended for timeframes above two hours. Here are the main functions and features of the script:
Strategy Setup: The bot is set up with a custom grid strategy, defining parameters like pyramiding (allowed number of simultaneous trades), margin requirements, commission, and initial capital.
Order Requirements: It calculates the order price and amount based on the minimum requirements set by the exchange and rounds them appropriately.
Entry Conditions: The bot makes new entries if the closing price falls a certain percentage below the last entry price. It continues to make entries until the closing price rises a certain percentage above the average entry price.
Targets and Plots:
It calculates and plots the target profit level.
It plots the average entry price and the last entry price.
It plots the next entry price based on the defined conditions.
It plots the maximum number of orders allowed based on equity and the number of open orders.
Timerange: The bot can start trading from a specific date and time defined by the user.
Entries: It places orders if the timerange conditions are met. It also places new orders if the closing price is below the last entry price by a defined percentage.
Profit Calculation: The script calculates open profit or loss for the open positions.
Exit Conditions: It closes all positions if the open profit is positive and the closing price is above the target profit level.
Performance Table: The bot maintains and displays statistics like the number of open and closed trades, net profit, and equity in a table format.
The script is customizable, allowing users to adjust parameters like initial capital, commission, order values, and profit targets to fit their specific trading needs and exchange requirements.
ICT Asian Range and Killzones (Power of 3) ANAKIN UTC+3 AMDworking amd indicator for p03 using p03 this is used by looking for sweeps and making use of stuff like
mmxm
smt
csd
and mss to find structural liquidity entries
Volume Bars with NumbersAttached is a custom script I developed with intent to facilitate your trading endeavors. If you are like me utilize price action, volume and momentum trading, then this is the indicator that will greatly benefit your trading strategy. This indicator will help you capture momentum trades as they occur. Hope it helps.
-Don V