Bộ Tố Lệnh Fomo của Nuly-Mother and Break Candles - Gần giống như nến inside bar. Bộ tố lệnh này giúp các bạn fomo theo xu hướng. Cây nến mẹ bao trùm nến con, nến con bị nén giá. Trong 1 xu hướng mạnh, thì cây nến quyết định xu hướng sẽ là cây thứ 3. Giá phá vỡ đỉnh/ đáy cây mẹ sẽ tạo ra hướng đi quán tính cho giá. Vào lệnh tại điểm break cây mẹ hoặc trong thân cây mẹ. Dừng lỗ ở đỉnh/ đáy cây nến mẹ +1,5 point.
Hãy tuân thủ xu hướng. Ưu tiên nến m5 m15 trở lên.
Trong chỉ báo này nến mẹ được setup là nến vàng.
Almost similar to an inside bar pattern. This script helps traders follow the trend without succumbing to FOMO. The mother candle engulfs the inside candle, compressing the price within the inside candle. In a strong trend, the candle that determines the direction will be the third one. When the price breaks the high/low of the mother candle, it creates a momentum-driven price movement. The stop loss is placed at the high/low of the mother candle plus 1.5 points.
Always follow the trend. Prioritize using the M5 or M15 timeframe or higher.
In this indicator, the mother candle is highlighted in yellow.
Candlestick analysis
MACD + 200 EMA Strategy(Raju Basnet)this strategy uses MACD and 200 EMA
Strategy Logic:
Buy Signal: The strategy will generate a buy signal when the MACD line crosses above the signal line and the price is above the 200 EMA. This indicates upward momentum in an overall bullish market trend.
Sell Signal: A sell signal will be generated when the MACD line crosses below the signal line and the price is below the 200 EMA. This suggests downward momentum in a bearish market trend.
Visual Indicators:
200 EMA Line: Plotted in blue, it represents the long-term trend and helps filter signals by showing whether the market is in a bullish or bearish state.
Buy and Sell Signals: Plotted as green labels below the bar for buy signals and red labels above the bar for sell signals. Arrows may also appear to clearly mark the signal points.
Order Flow Indicator//@version=5
indicator("Order Flow Indicator", overlay=false)
// Inputs
length = input.int(20, title="Smoothing Length")
showDelta = input.bool(true, title="Show Delta Volume")
showCumulativeDelta = input.bool(true, title="Show Cumulative Delta")
// Volume calculation
buyVolume = volume * (close > open ? 1 : 0) // Volume when the close is above open
sellVolume = volume * (close < open ? 1 : 0) // Volume when the close is below open
deltaVolume = buyVolume - sellVolume
// Cumulative Delta
var float cumulativeDelta = na
cumulativeDelta := na(cumulativeDelta ) ? deltaVolume : cumulativeDelta + deltaVolume
// Smoothed Delta
smoothedDelta = ta.sma(deltaVolume, length)
smoothedCumulativeDelta = ta.sma(cumulativeDelta, length)
// Plot Delta Volume
plot(showDelta ? deltaVolume : na, color=color.new(color.blue, 0), title="Delta Volume", style=plot.style_histogram)
// Plot Cumulative Delta
plot(showCumulativeDelta ? cumulativeDelta : na, color=color.new(color.green, 0), title="Cumulative Delta")
plot(showCumulativeDelta ? smoothedCumulativeDelta : na, color=color.new(color.red, 0), title="Smoothed Cumulative Delta")
// Alerts
alertcondition(deltaVolume > smoothedDelta, title="High Delta Volume", message="Delta Volume is unusually high!")
alertcondition(cumulativeDelta > smoothedCumulativeDelta, title="High Cumulative Delta", message="Cumulative Delta is rising rapidly!")
Consecutive Candles TestIt sends a buy signal when it detects 3 positive candles in a row and sell after the fourth
Dynamic HTF Candles with Timeframe by ChrisPlots the respective HTF candles next to the chart, so you have idea whats where all the time.
1min plots 15min
5min plots 1h
15min plots 4hours
EMA 5 & EMA 20 with Buy/Sell Alerts//@version=5
indicator("EMA 5 & EMA 20 with Buy/Sell Alerts", overlay=true)
// Define the 5-period EMA
ema5 = ta.ema(close, 5)
plot(ema5, color=color.blue, linewidth=2, title="EMA 5")
// Define the 20-period EMA
ema20 = ta.ema(close, 20)
plot(ema20, color=color.orange, linewidth=2, title="EMA 20")
// Generate Buy Signal (5 EMA crosses above 20 EMA)
buySignal = ta.crossover(ema5, ema20)
plotshape(buySignal, color=color.green, style=shape.labelup, location=location.belowbar, text="BUY", title="Buy Signal")
// Generate Sell Signal (5 EMA crosses below 20 EMA)
sellSignal = ta.crossunder(ema5, ema20)
plotshape(sellSignal, color=color.red, style=shape.labeldown, location=location.abovebar, text="SELL", title="Sell Signal")
// Alert conditions for Buy and Sell signals
alertcondition(buySignal, title="Buy Alert", message="5 EMA crossed above 20 EMA - Buy Signal!")
alertcondition(sellSignal, title="Sell Alert", message="5 EMA crossed below 20 EMA - Sell Signal!")
TWO EMA CROSSThis script uses Pine Script version 5 and is designed for a 5-minute time frame. The script plots the EMA 7, EMA 21, and ZLMA, and generates buy and sell signals one candle before the crossover of EMA 7 and EMA 21.
Supertrend + RSI with Buy/Sell SignalsSupertrend + RSI with Buy/Sell Signals. Supertrend + RSI with Buy/Sell SignalsSupertrend + RSI with Buy/Sell SignalsSupertrend + RSI with Buy/Sell SignalsSupertrend + RSI with Buy/Sell SignalsSupertrend + RSI with Buy/Sell SignalsSupertrend + RSI with Buy/Sell SignalsSupertrend + RSI with Buy/Sell SignalsSupertrend + RSI with Buy/Sell Signals
Candlestick Pattern DetectorFeatures
Reversal Patterns:
Bullish Patterns:
Bullish Engulfing: A strong reversal signal when a bullish candle completely engulfs the previous bearish candle.
Hammer: Indicates a potential bottom reversal with a small body and a long lower wick.
Morning Star: A three-candle pattern signaling a transition from a downtrend to an uptrend.
Bearish Patterns:
Bearish Engulfing: A bearish candle fully engulfs the prior bullish candle, indicating a potential downtrend.
Shooting Star: A potential top reversal with a small body and a long upper wick.
Evening Star: A three-candle pattern signaling a shift from an uptrend to a downtrend.
Continuation Patterns:
Bullish Continuation:
Rising Three Methods: A consolidation pattern within an uptrend, indicating the trend is likely to continue.
Bearish Continuation:
Falling Three Methods: A consolidation pattern within a downtrend, suggesting further downside movement.
Visual Highlights:
Bullish Reversal Patterns: Labeled below candles with a green "Bullish" marker.
Bearish Reversal Patterns: Labeled above candles with a red "Bearish" marker.
Bullish Continuation Patterns: Displayed as blue triangles pointing upward.
Bearish Continuation Patterns: Displayed as orange triangles pointing downward.
Real-Time Alerts:
Get notified when a specific candlestick pattern is detected, enabling you to act quickly in dynamic market conditions.
Monday JumpThe "Monday Candles with Percentage Difference" indicator calculates the percentage difference between the opening and closing prices for each Monday and displays this difference. This indicator visually shows the user whether the price movement on Mondays is positive or negative.
Simple Moving Average Cross StrategyCondiciones de compra:
Se ejecuta una compra cuando el precio cruza la SMA de abajo hacia arriba.
La barra correspondiente se colorea en verde.
Condiciones de venta:
Se ejecuta una venta cuando el precio cruza la SMA de arriba hacia abajo.
La barra correspondiente se colorea en rojo.
Visualización:
La SMA se grafica en color azul para facilitar la identificación de los cruces.
Simple Moving Average Cross StrategyCondiciones de compra:
Se ejecuta una compra cuando el precio cruza la SMA de abajo hacia arriba.
La barra correspondiente se colorea en verde.
Condiciones de venta:
Se ejecuta una venta cuando el precio cruza la SMA de arriba hacia abajo.
La barra correspondiente se colorea en rojo.
Visualización:
La SMA se grafica en color azul para facilitar la identificación de los cruces.
Candle Counter by ComLucro - Multi-Timefram - 2025_V01Candle Counter by ComLucro - Multi-Timeframe - 2025_V01
The Candle Counter by ComLucro - Multi-Timeframe is a highly customizable tool designed to help traders monitor the number of candles across various timeframes directly on their charts. Whether you're analyzing trends or tracking specific market behaviors, this indicator provides a seamless and efficient way to enhance your technical analysis.
Key Features:
Flexible Timeframe Selection: Track candle counts on yearly, monthly, weekly, daily, or hourly intervals to suit your trading style.
Dynamic Label Positioning: Choose to display labels above or below candles, offering greater control over your chart layout.
Customizable Colors: Adjust label text colors to match your chart's aesthetics and improve visibility.
Clean and Organized Visualization: Automatically generates labels for each candle without overcrowding your chart.
How It Works:
Select a Timeframe: Choose from yearly, monthly, weekly, daily, or hourly intervals based on your analysis needs.
Automatic Counting: The indicator calculates and displays the number of candles for the selected period directly on your chart.
Label Customization: Adjust the position (above or below the candles) and color of the labels to align with your preferences.
Why Use This Indicator?
This script is perfect for traders who need a clear and visual representation of candle counts in specific timeframes. Whether you're monitoring trends, evaluating price action, or developing strategies, the Candle Counter by ComLucro adapts to your needs and helps you make informed decisions.
Disclaimer:
This script is intended for educational and informational purposes only. It does not constitute financial advice. Always practice responsible trading and ensure this tool aligns with your strategies and risk management practices.
About ComLucro:
ComLucro is dedicated to providing traders with practical tools and educational resources to improve decision-making in the financial markets. Discover other scripts and strategies developed to enhance your trading experience.
20% Move in 5 DaysThis script is used to mark the 20% move in 5 days. The main intention of the script is that to study the charts why that happened.
Here is the script
//@version=5
indicator("20% Move in 5 Days", overlay=true)
// Inputs
lookbackDays = 5 // Number of days to look back
moveThreshold = 20.0 // Percentage move threshold
// Calculations
startPrice = ta.valuewhen(bar_index >= bar_index , close , 0)
priceChange = ((close - startPrice) / startPrice) * 100
// Conditions for 20% move
isBigMoveUp = priceChange >= moveThreshold
isBigMoveDown = priceChange <= -moveThreshold
// Plotting signals on the chart
bgcolor(isBigMoveUp ? color.new(color.green, 80) : na)
bgcolor(isBigMoveDown ? color.new(color.red, 80) : na)
plotshape(isBigMoveUp, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="20% Up Move")
plotshape(isBigMoveDown, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="20% Down Move")
// Optional debugging labels for moves
if isBigMoveUp
label.new(bar_index, high, str.tostring(priceChange, "#.##") + "%", style=label.style_circle, color=color.new(color.green, 80))
if isBigMoveDown
label.new(bar_index, low, str.tostring(priceChange, "#.##") + "%", style=label.style_circle, color=color.new(color.red, 80))
My script1. The body is used to determine the size of the reversal wick. A wick
that is between 2.5 to 3.5 times larger than the size of the body is
ideal.
2. For a bullish reversal wick to exist, the close of the bar should fall
within the top 35 percent of the overall range of the candle.
3. For a bearish reversal wick to exist, the close of the bar should fall
within the bottom 35 percent of the overall range of the candle.
BENSIG//@version=5
indicator("Swing High/Low Entry Strategy with SL/TP", overlay=true)
// Input for the time range (10:30am to 16:45pm UTC-5)
startTime = timestamp("GMT-5", year, month, dayofmonth, 10, 30)
endTime = timestamp("GMT-5", year, month, dayofmonth, 16, 45)
// Variables to store the highest and lowest swing points within a specific time range
var float swingHigh = na
var float swingLow = na
// Lookback period for calculating swing high and low
lookbackPeriod = 10
// Calculate swing high and low between the specified time period
if (time >= startTime and time <= endTime)
swingHigh := na
swingLow := na
else
swingHigh := ta.highest(high, lookbackPeriod) // Highest high in the last 10 bars
swingLow := ta.lowest(low, lookbackPeriod) // Lowest low in the last 10 bars
// Detect when swing high is broken (swept)
sweepHigh = not na(swingHigh) and high > swingHigh
// Bearish Order Block Detection (simple method using previous bearish candle)
bearishOrderBlock = close > open and close < open
// Buy and Sell logic based on swing high being swept and a bearish order block detected
buyCondition = sweepHigh and bearishOrderBlock
sellCondition = sweepHigh and bearishOrderBlock
// Stop loss and take profit logic
SL_buy = swingHigh
SL_sell = swingLow
TP_buy = swingLow
TP_sell = swingHigh
// Plot Buy and Sell Signals with labels and lines for SL and TP
if (buyCondition)
label.new(bar_index, low, text="BUY", style=label.style_label_up, color=color.green, textcolor=color.white, size=size.small)
line.new(x1=bar_index, y1=SL_buy, x2=bar_index + 10, y2=SL_buy, color=color.red, width=2, extend=extend.right)
line.new(x1=bar_index, y1=TP_buy, x2=bar_index + 10, y2=TP_buy, color=color.green, width=2, extend=extend.right)
if (sellCondition)
label.new(bar_index, high, text="SELL", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.small)
line.new(x1=bar_index, y1=SL_sell, x2=bar_index + 10, y2=SL_sell, color=color.green, width=2, extend=extend.right)
line.new(x1=bar_index, y1=TP_sell, x2=bar_index + 10, y2=TP_sell, color=color.red, width=2, extend=extend.right)
// Alerts
alertcondition(buyCondition, title="Buy Signal", message="Buy signal triggered")
alertcondition(sellCondition, title="Sell Signal", message="Sell signal triggered")
Wick Reversal System 1.0This is a indicator that highlights candlestick when the show signs of reversal
Inside bar candle (Farzad)Hello friends, I have prepared an indicator that displays the INSIDE BAR candlestick pattern, which will help you a lot for trades that can be continuations or reversals.
使用 DI+ 和 DI- 的策略 (最終完整修正且含圖表止損止盈線)策略名稱: 基於 DI+ 和 DI- 的趨勢追蹤策略 (附 ATR 止損止盈) / DI+ and DI- Trend Following Strategy with ATR Stop Loss and Take Profit
策略描述 (中文):
本策略基於趨向指標 (Directional Movement Index, DMI) 中的 DI+ 和 DI- 指標,結合趨勢過濾均線和 ATR (Average True Range) 指標來判斷市場趨勢和設定動態的止損止盈。DMI 旨在衡量價格變動的方向和強度。
DI+ (正趨向指標): 衡量向上趨勢的強度。
DI- (負趨向指標): 衡量向下趨勢的強度。
當 DI+ 高於 DI- 且收盤價高於趨勢過濾均線時,視為強勢上漲趨勢,產生買入訊號;反之,當 DI- 高於 DI+ 且收盤價低於趨勢過濾均線時,視為強勢下跌趨勢,產生賣出訊號。
本策略使用 ATR 指標來計算動態的止損和止盈水平,使止損止盈的距離能根據市場的波動性進行調整,提高策略的適應性。
策略描述 (英文):
This strategy is based on the Directional Movement Index (DMI), specifically the DI+ and DI- indicators, combined with a trend-filtering moving average and the Average True Range (ATR) to identify market trends and set dynamic stop-loss and take-profit levels. The DMI is designed to measure the direction and strength of price movements.
DI+ (Positive Directional Indicator): Measures the strength of upward trends.
DI- (Negative Directional Indicator): Measures the strength of downward trends.
When DI+ is above DI- and the closing price is above the trend-filtering moving average, it is considered a strong uptrend, generating a buy signal. Conversely, when DI- is above DI+ and the closing price is below the trend-filtering moving average, it is considered a strong downtrend, generating a sell signal.
This strategy uses the ATR indicator to calculate dynamic stop-loss and take-profit levels, allowing the stop-loss and take-profit distances to adjust to market volatility, improving the strategy's adaptability.
策略參數 (中英文對照):
DI 長度 (DI Length): 計算 DI+ 和 DI- 的週期長度。 (預設值: 14) / The period length for calculating DI+ and DI-. (Default: 14)
ADX 平滑 (ADX Smoothing): 用於平滑 ADX 的週期長度 (即使不直接使用 ADX,此參數也是必需的)。 (預設值: 14) / The period length used for smoothing the ADX (this parameter is required even if ADX is not used directly). (Default: 14)
趨勢過濾均線長度 (Trend Filter Moving Average Length): 計算趨勢過濾均線的週期長度。 (預設值: 20) / The period length for calculating the trend-filtering moving average. (Default: 20)
趨勢強度門檻值 (Trend Strength Threshold): DI+ 和 DI- 之間差距的門檻值,用於判斷趨勢是否足夠強勁。 (預設值: 20) / The threshold for the difference between DI+ and DI-, used to determine if the trend is strong enough. (Default: 20)
ATR 長度 (ATR Length): 計算 ATR 的週期長度。 (預設值: 14) / The period length for calculating the ATR. (Default: 14)
ATR 停損倍數 (ATR Stop Loss Multiplier): 止損價格與進場價格之間以 ATR 的倍數表示的距離。 (預設值: 1.5) / The distance between the stop-loss price and the entry price, expressed as a multiple of the ATR. (Default: 1.5)
ATR 止盈倍數 (ATR Take Profit Multiplier): 止盈價格與進場價格之間以 ATR 的倍數表示的距離。 (預設值: 2.5) / The distance between the take-profit price and the entry price, expressed as a multiple of the ATR. (Default: 2.5)
策略用法 (中文):
在 TradingView 上開啟一個圖表。
開啟 Pine Script 編輯器。
複製並貼上提供的程式碼。
點擊「新增到圖表」。
在策略設定中,根據您的需求調整參數。
使用回測功能測試不同參數組合的表現。
策略用法 (英文):
Open a chart on TradingView.
Open the Pine Script editor.
Copy and paste the provided code.
Click "Add to Chart".
In the strategy settings, adjust the parameters according to your needs.
Use the backtesting feature to test the performance of different parameter combinations.
訊號判斷 (中英文對照):
買入訊號 (Long Entry Signal): DI+ > DI- + 趨勢強度門檻值 且 收盤價 > 趨勢過濾均線 / DI+ > DI- + Trend Strength Threshold AND Close > Trend Filter Moving Average
賣出訊號 (Short Entry Signal): DI- > DI+ + 趨勢強度門檻值 且 收盤價 < 趨勢過濾均線 / DI- > DI+ + Trend Strength Threshold AND Close < Trend Filter Moving Average
止損止盈計算 (中英文對照):
多單停損 (Long Stop Loss): 進場價格 - (ATR * ATR 停損倍數) / Entry Price - (ATR * ATR Stop Loss Multiplier)
多單止盈 (Long Take Profit): 進場價格 + (ATR * ATR 止盈倍數) / Entry Price + (ATR * ATR Take Profit Multiplier)
空單停損 (Short Stop Loss): 進場價格 + (ATR * ATR 停損倍數) / Entry Price + (ATR * ATR Stop Loss Multiplier)
空單止盈 (Short Take Profit): 進場價格 - (ATR * ATR 止盈倍數) / Entry Price - (ATR * ATR Take Profit Multiplier)
注意事項 (中英文對照):
回測結果僅供參考,不代表未來績效。 / Backtesting results are for reference only and do not guarantee future performance.
策略參數需要根據不同的市場和時間週期進行調整。 / Strategy parameters need to be adjusted according to different markets and timeframes.
此策略不適用於所有市場環境。 / This strategy is not suitable for all market conditions.
請謹慎使用,並自行承擔交易風險。 / Please use with caution and at your own risk.