CRT by DivyaprakashThis Indicator is Created by Divyaprakash Jha
This Indicator highlights the Liquidity Sweeps of previous Candle
current version focus on 4 conditions
previous candle bullish next candle bearish + high liquidity sweep
previous candle bearish next candle bearish + high liquidity sweep
previous candle bullish doji next candle bearish + high liquidity sweep
previous candle bearish doji next candle bearish + high liquidity sweep
previous candle bearish next candle bullish + low liquidity sweep
previous candle bullish next candle bullish + low liquidity sweep
previous candle bullish doji next candle bullish + low liquidity sweep
previous candle bearish doji next candle bullish + low liquidity sweep OANDA:XAUUSD
Indicators and strategies
3 Consecutive Bullish or Bearish CandlesAllows alerts to fire for 3 consecutive red or green candles
OCR With BBUsed in conjunction with bollinger bands set at standard deviation of 1.0 and length of 30. When the candle is white and closes above the BB, buy. Sell when it closes below the median line. When the candle is maroon and closes below the BB, sell and cover when it closes above the median line.
1:3 Risk-Reward Strategy//@version=5
strategy("1:3 Risk-Reward Strategy", overlay=true)
// Inputs
rsiLength = input(14, "RSI Length")
rsiOverbought = input(70, "RSI Overbought Level")
rsiOversold = input(30, "RSI Oversold Level")
emaFastLength = input(50, "Fast EMA Length")
emaSlowLength = input(200, "Slow EMA Length")
atrLength = input(14, "ATR Length")
riskRewardRatio = input(3.0, "Risk:Reward Ratio")
// Calculate Indicators
rsi = ta.rsi(close, rsiLength)
emaFast = ta.ema(close, emaFastLength)
emaSlow = ta.ema(close, emaSlowLength)
atr = ta.atr(atrLength)
macdLine = ta.ema(close, 12) - ta.ema(close, 26)
signalLine = ta.ema(macdLine, 9)
// Trend Filter (EMA)
uptrend = emaFast > emaSlow and close > emaFast
dntrend = emaFast < emaSlow and close < emaFast
// Entry Conditions
longCondition =
uptrend and
rsi < rsiOversold and
macdLine > signalLine
shortCondition =
dntrend and
rsi > rsiOverbought and
macdLine < signalLine
// Risk Management
stopLossDistance = atr * 1.5
takeProfitDistance = stopLossDistance * riskRewardRatio
// Strategy Execution
if (longCondition)
strategy.entry("Long", strategy.long)
strategy.exit("Exit Long", "Long", stop=close - stopLossDistance, limit=close + takeProfitDistance)
if (shortCondition)
strategy.entry("Short", strategy.short)
strategy.exit("Exit Short", "Short", stop=close + stopLossDistance, limit=close - takeProfitDistance)
// Plotting
plot(emaFast, color=color.blue, title="Fast EMA")
plot(emaSlow, color=color.red, title="Slow EMA")
plotshape(series=longCondition, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small)
plotshape(series=shortCondition, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small)
Katik Hurst & Lunar Cycle Indicator with BUY_SELL_SL_TARGET Pine Script indicator, "Katik Hurst & Lunar Cycle Indicator," integrates Lunar Cycles and Hurst’s Future Line of Demarcation (FLD) to generate BUY/SELL signals based on FLD crossovers.
Key Features:
# Lunar Cycle Analysis – Marks New Moon and Full Moon on the chart.
# Hurst Cycle & FLD – Plots FLD & FLD Future for trend analysis.
# Trade Signals – BUY when FLD Future crosses above FLD, SELL when it crosses below.
# Stop Loss & Targets – SL at FLD swing high/low, with 10 ATR-based targets.
# Visual Aids – Signals, SL, and targets are marked for clarity.
🚀 Ideal for traders using cyclical analysis in their strategies!
Jumbalika BandsBollinger Bands:
Color: You can set the color of the upper and lower Bollinger Bands (bbColor).
Line Width: You can set the thickness of the Bollinger Bands lines (bbLineWidth).
Exponential Moving Averages (EMA):
9 EMA: Custom color (ema9Color) and line width (ema9LineWidth).
20 EMA on Close: Custom color (ema20CloseColor) and line width (ema20CloseLineWidth).
20 EMA on High: Custom color (ema20HighColor) and line width (ema20HighLineWidth).
20 EMA on Low: Custom color (ema20LowColor) and line width (ema20LowLineWidth).
Parabolic SAR:
Jumbalika BandsBollinger Bands:
Color: You can set the color of the upper and lower Bollinger Bands (bbColor).
Line Width: You can set the thickness of the Bollinger Bands lines (bbLineWidth).
Exponential Moving Averages (EMA):
9 EMA: Custom color (ema9Color) and line width (ema9LineWidth).
20 EMA on Close: Custom color (ema20CloseColor) and line width (ema20CloseLineWidth).
20 EMA on High: Custom color (ema20HighColor) and line width (ema20HighLineWidth).
20 EMA on Low: Custom color (ema20LowColor) and line width (ema20LowLineWidth).
Parabolic SAR:
Auto Fibonacci Retracement- MSDThis Auto Fibonacci Retracement script automatically detects the most recent swing high and swing low and plots Fibonacci levels for better trading decisions. It helps traders identify support and resistance levels based on Fibonacci ratios.
BTC Strategy v6Claude
these are btc/usdt ccharts in different time frames, analyse these and create pine code indicator without any error for tradingview in v6, which can analyse the chart of cryptocurrency and show trend, support-resistance level, buy and sell signal if buy then chart background colour changes to green and if sell then red, risk to reward should 1:8-10, avoid false signals, these should show in a box above in the chart corner, entry and exit prediction.
remove halucination, improve error handling, create a better strategy based upon delta exchange for option trading in crypto,
ask if I have missed anything and suggest best improvements and how can I enhance and make it better for more efficiency
Gold Trading RSI//@version=6
strategy("Gold Trading RSI", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10)
// Cấu hình tham số đầu vào
rsi_length = input.int(14, title="RSI Period") // Độ dài RSI
rsi_overbought = input.int(70, title="RSI Overbought Level") // Mức quá mua
rsi_oversold = input.int(30, title="RSI Oversold Level") // Mức quá bán
sl_percent = input.float(1.0, title="Stop Loss (%)") / 100 // Cắt lỗ theo %
tp_percent = input.float(2.0, title="Take Profit (%)") / 100 // Chốt lời theo %
capital = strategy.equity // Vốn hiện tại
// Tính RSI trên khung M5
rsi_m5 = ta.rsi(close, rsi_length)
// Lấy giờ hiện tại theo múi giờ của biểu đồ
current_hour = hour(time)
// Giới hạn giao dịch trong khung giờ 6h - 17h
is_trading_time = current_hour >= 6 and current_hour < 17
// Điều kiện vào lệnh
long_condition = is_trading_time and rsi_m5 < rsi_oversold
short_condition = is_trading_time and rsi_m5 > rsi_overbought
// Tính toán SL/TP
sl_long = close * (1 - sl_percent)
tp_long = close * (1 + tp_percent)
sl_short = close * (1 + sl_percent)
tp_short = close * (1 - tp_percent)
// Vào lệnh
if (long_condition)
strategy.entry("Buy", strategy.long)
strategy.exit("Exit Buy", from_entry="Buy", stop=sl_long, limit=tp_long)
if (short_condition)
strategy.entry("Sell", strategy.short)
strategy.exit("Exit Sell", from_entry="Sell", stop=sl_short, limit=tp_short)
Bollinger Band Reentry StrategyAriels BB strat just follow the signals! Bollinger bands are the key to this strat take profit levels ! make sure you are fast
RSI-Based Buy/Sell Signals (15m)//@version=5
indicator("RSI-Based Buy/Sell Signals (15m)", overlay=false)
// Set the timeframe to 15 minutes
fifteenMinClose = request.security(syminfo.tickerid, "15", close)
// RSI Calculation
rsi = ta.rsi(fifteenMinClose, 14)
// Buy/Sell Conditions
buySignal = ta.crossover(rsi, 30) // Buy when RSI crosses above 30
sellSignal = ta.crossunder(rsi, 70) // Sell when RSI crosses below 70
// Plot Buy/Sell Signals in RSI pane
plotshape(buySignal, style=shape.triangleup, location=location.belowbar, color=color.new(color.green, 80), size=size.tiny, text="BUY")
plotshape(sellSignal, style=shape.triangledown, location=location.abovebar, color=color.new(color.red, 80), size=size.tiny, text="SELL")
// Plot RSI in a separate pane
hline(70, "Overbought", color=color.red)
hline(30, "Oversold", color=color.green)
plot(rsi, color=color.blue, title="RSI")
Bollinger Bands cross %The BB strategy (Bollinger Bands strategy) on TradingView utilizes the Bollinger Bands indicator to help traders identify market volatility and potential entry points. The Bollinger Bands indicator consists of three main components:
Middle Band: This is the simple moving average (SMA), usually calculated over a 20-period. It represents the average price over a specific period.
Upper Band and Lower Band: These bands are created by adding and subtracting a multiple of the standard deviation (typically 2) from the middle band. The upper and lower bands help determine the level of price volatility.
How the BB Strategy Works:
Break above the Upper Band: When the price moves above the upper band, it might signal that the market is in an "overbought" condition. This could be a sign to consider selling, but it could also continue if the trend is strong.
Break below the Lower Band: When the price moves below the lower band, it might signal that the market is in an "oversold" condition, which could be a signal to buy if the trend is reversing.
Squeeze (Coiling): When the Bollinger Bands contract, often referred to as a "squeeze," it indicates that the market may be preparing for a strong price move. This is a critical signal in the BB strategy because the narrowing bands signify low volatility and a potential breakout in price.
Specific Strategy:
Buy when price touches the lower band and shows signs of reversal (bullish reversal): If the price touches the lower band, you might wait for a reversal signal, such as a bullish candlestick pattern or confirmation from other indicators like RSI or MACD, indicating oversold conditions.
Sell when price touches the upper band and shows signs of reversal (bearish reversal): Similarly, when the price touches the upper band, you could wait for a bearish reversal signal, such as a bearish candlestick pattern or confirmation from other indicators, and then sell.
Trend-following when bands are expanding: If the Bollinger Bands are expanding and the price continues in the same direction, it could signal a trend-following opportunity.
RSI & MFI Combined With better divergences -100 to 100A modified RSI and MFI in one indicator.
Modifications:
Adjusted the range from 0 to 100 to -100 to 100
Modified divergence detection logic to plot using 2 different lookback periods
Added divergence detection to MFI
Added oversold/overbought gradient to MFI
Added combined oversold/overbought indication
Midnight and 7:30 AM Open with ResetExtreme Discount and Extreme Premium Indicator
This custom indicator identifies the relationship between the current price and key discount and premium levels on the chart. It helps determine whether the price is in an "extreme discount" or "extreme premium" zone, which can be important for making trading decisions based on market structure.
Extreme Discount Zone: The indicator identifies the "extreme discount" zone when the price is below both its extreme discount levels, indicating that the market is in a potential buying area, which could signal a reversal or a good entry point to buy.
Extreme Premium Zone: The indicator marks the "extreme premium" zone when the price is above both its extreme premium levels, suggesting that the market is in a potential selling area, signaling a possible price reversal or a good entry point to sell.
The indicator dynamically adjusts and highlights these zones based on price movement, allowing traders to visualize when the price is reaching extreme levels relative to historical price action.
Key Features:
Detects when the current price is below both extreme discount levels.
Detects when the current price is above both extreme premium levels.
Highlights these extreme areas visually to help traders make informed decisions on buying or selling.
Quarterly Theory IndicatorThe Quarterly Theory Indicator that we built is based on Jevaunie Daye's Quarterly Theory, which segments time into specific quarters to analyze market cycles more effectively. This indicator helps traders track price movements across different timeframes, identify key entry and exit points, and anticipate liquidity events using Accumulation, Manipulation, and Distribution (AMDX) cycles.
Morning Star Candlestick patternMorning star candlestick pattern with gap up opening- Bullish reversal entry indicator
It is more valid at support levels for reversal entry
Volume Spike BoxThis indicator highlights the highest volume candlestick in a specified number of bars. It extends for the same length in the future as the specified number of bars for identifying potential support and resistance
Dynamic Range Finder [The_lurker]هو أداة تهدف إلى تحديد نطاق السعر الديناميكي بناءً على التقلبات ومتوسط الأسعار . حيث يتم التعرف على مناطق التوحيد السعري (Consolidation) ويعطي إشارات شراء وبيع عند اختراق أو كسر هذا النطاق .
// يفضل استخدام المؤشر على اطار 4 ساعات واكثر //
مميزات المؤشر :
1- اكتشاف النطاق السعري الديناميكي
- يقوم المؤشر بحساب متوسط السعر خلال فترة محددة ومقارنة الإغلاقات الحديثة بمدى تقلب الأسعار (ATR) لمعرفة ما إذا كان السعر يتحرك داخل نطاق معين.
2- تحديد الاختراقات Breakout Signals
- عند اختراق السعر الحد العلوي للنطاق، يظهر المؤشر إشارة شراء (BUY).
- عند كسر السعر الحد السفلي للنطاق، يظهر المؤشر إشارة بيع (SELL).
3- دعم أنماط متعددة للمتوسطات المتحركة
- يسمح للمستخدمين باختيار نوع المتوسط المتحرك (SMA، EMA، WMA) المستخدم في حساب متوسط السعر.
4- إعدادات مخصصة للفلترة بحجم التداول (اختياري)
- فلترة حجم التداول هي ميزة اختيارية في المؤشر تسمح بتصفية إشارات الشراء والبيع بناءً على قوة الحجم المتداول مما يعزز دقة الإشارات عن طريق التأكد من أن الاختراقات السعرية مدعومة بحجم تداول قوي
5- تصميم مرن مع تخصيص للألوان والأنماط
- يمكن للمستخدمين تغيير ألوان النطاق وإشارات البيع والشراء حسب رغبتهم.
6- تنبيهات آلية عند حدوث كسر أو اختراق
- يتضمن تنبيهات (Alerts) عند حدوث إشارة بيع أو شراء.
كيف يعمل المؤشر؟
* يتم حساب متوسط السعر خلال الفترة المحددة (rangePeriod).
* يتم حساب التقلب السعري (ATR) ومضاعفته بمعامل النطاق (rangeMultiplier).
* يتم رسم مستطيل يعبر عن النطاق السعري بين (متوسط السعر ± التقلب).
* إذا تجاوز السعر الحد العلوي → إشارة شراء (BUY).
* إذا كسر السعر الحد السفلي → إشارة بيع (SELL).
* يمكن تصفية الإشارات باستخدام حجم التداول (اختياري).
1.0 → الحجم الحالي يجب أن يكون على الأقل مساويًا للمتوسط.
1.2 → الحجم الحالي يجب أن يكون أعلى من المتوسط بنسبة 20%.
1.5 → الحجم الحالي يجب أن يكون أعلى من المتوسط بنسبة 50%.
تنويه:
المؤشر هو أداة مساعدة فقط ويجب استخدامه مع التحليل الفني والأساسي لتحقيق أفضل النتائج.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
It is a tool that aims to determine the dynamic price range based on fluctuations and average prices. Consolidation areas are identified and buy and sell signals are given when this range is breached or broken.
// It is preferable to use the indicator on a 4-hour frame or more //
Features of the indicator:
1- Detecting the dynamic price range
- The indicator calculates the average price over a specific period and compares recent closings with the price volatility range (ATR) to see if the price is moving within a specific range.
2- Identifying Breakout Signals
- When the price breaks the upper limit of the range, the indicator shows a buy signal (BUY).
- When the price breaks the lower limit of the range, the indicator shows a sell signal (SELL).
3- Support for multiple moving average patterns
- Allows users to choose the type of moving average (SMA, EMA, WMA) used to calculate the average price.
4- Custom settings for filtering by trading volume (optional)
- Trading volume filtering is an optional feature in the indicator that allows filtering buy and sell signals based on the strength of the trading volume, which enhances the accuracy of the signals by ensuring that price breakouts are supported by strong trading volume
5- Flexible design with customization of colors and patterns
- Users can change the colors of the range and buy and sell signals as they wish.
6- Automatic alerts when a breakout or breakout occurs
- Includes alerts when a buy or sell signal occurs.
How does the indicator work?
* The average price is calculated over the specified period (rangePeriod).
* The price volatility (ATR) is calculated and multiplied by the range factor (rangeMultiplier).
* A rectangle is drawn that represents the price range between (average price ± volatility).
* If the price exceeds the upper bound → a buy signal (BUY).
* If the price breaks the lower bound → a sell signal (SELL).
* Signals can be filtered using trading volume (optional).
1.0 → Current volume should be at least equal to the average.
1.2 → Current volume should be 20% above the average.
1.5 → Current volume should be 50% above the average.
Disclaimer:
The indicator is an auxiliary tool only and should be used in conjunction with technical and fundamental analysis to achieve the best results.
Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of advice or recommendations provided or endorsed by TradingView.