Breakout Pivot High-LowThis strategy uses a breakout approach by identifying the Previous Pivot High as the entry signal. The strategy calculates Pivot High/Low using a customizable LENGTH LEFT/RIGHT parameter, allowing flexibility in defining the number of candles for the calculation. To manage risk, it uses position sizing based on Trailing Stop or Previous Pivot Low. Specifically, the Trailing Stop is calculated using the ATR of the last 10 candles multiplied by 2.3.
The reason for using ATR Trailing Stop in position sizing is that it generally creates a narrower price range compared to Previous Pivot Low. This allows for a larger position size, which can lead to higher profits for each trade.
The exit condition is determined by the price closing below the Previous Pivot Low. This indicates a potential shift in market structure from an uptrend to a downtrend, making it a logical point to close the order.
The backtesting period can be set in the Backtest Settings, with the default range from 1/1/2012 to the present. The strategy’s exit rules are designed to trigger when the price breaks either the Middle Line or the Previous Pivot Low.
This script is intended to help traders manage breakout opportunities effectively while maintaining risk control through customizable parameters. It is particularly suitable for traders who prefer a structured and adaptive approach to trading. All default settings are carefully optimized for realistic trading scenarios, but they can be fully adjusted to meet individual trading preferences.
Corak carta
MXI ALGO The provided script combines two powerful technical indicators, Ichimoku Cloud and HalfTrend, to create a hybrid trading tool. Here's an analysis of the key components and how they work together:
MXI ALGO The provided script combines two powerful technical indicators, Ichimoku Cloud and HalfTrend, to create a hybrid trading tool. Here's an analysis of the key components and how they work together:
$TRUMPT 多空策略分享【$TRUMP多空策略分享】
这是一个结合趋势跟随和波段交易的策略,通过多重技术指标确认入场,配合动态仓位管理和灵活止盈机制。
策略核心逻辑:
入场信号
多头:快速EMA上穿慢速EMA + MACD金叉 + RSI<70
空头:快速EMA下穿慢速EMA + MACD死叉 + RSI>30
风险管理
止损:5%
第一止盈:8%
第二止盈:12%
杠杆:3倍
仓位管理
基于ATR动态调整仓位大小
单笔最大风险控制在5%
最大仓位不超过40%账户权益
回测数据:
净利润:145.37 USDT (14.56%)
交易次数:164次
胜率:39.02%
盈亏比:1.468
最大回撤:84.43 USDT (6.90%)
平均每笔:0.89 USDT
策略特点:
多重指标过滤,提高交易质量
分批止盈,动态调整目标位
完善的风控体系,确保长期稳定
适合波动性较大的币种
注意:回测表现不代表未来收益,请理性对待,严格执行风控。
EMA 21/50 Buy Strategy//@version=5
strategy("EMA 21/50 Buy Strategy", overlay=true)
// Input for EMA lengths
ema21Length = input.int(21, title="EMA 21 Length")
ema50Length = input.int(50, title="EMA 50 Length")
// Stop loss and take profit in pips
stopLossPips = input.int(50, title="Stop Loss (pips)")
takeProfitPips = input.int(100, title="Take Profit (pips)")
// Convert pips to price (adjust for pip value based on market type)
pipValue = syminfo.mintick
stopLossPrice = stopLossPips * pipValue
takeProfitPrice = takeProfitPips * pipValue
// Calculate EMAs
ema21 = ta.ema(close, ema21Length)
ema50 = ta.ema(close, ema50Length)
// Bullish crossover condition
bullishCrossover = ta.crossover(ema21, ema50)
// Strategy entry logic
if (bullishCrossover)
strategy.entry("Buy", strategy.long)
strategy.exit("Take Profit", from_entry="Buy", limit=close + takeProfitPrice, stop=close - stopLossPrice)
// Plot the EMAs
plot(ema21, color=color.blue, title="EMA 21")
plot(ema50, color=color.red, title="EMA 50")
Supply and Demand Zones with SMAI've added the 50 and 200 moving averages to your script. The 50 SMA will turn green when it's above the 200 SMA and red when it's below. Let me know if you need any adjustments!
TheWaved Helper LiteEnhance your technical analysis workflow with our all-in-one indicator, now in a lightweight edition designed for maximum efficiency and ease of use. This Lite version combines several core trading tools into a single package:
9 Configurable SMAs
Plot up to nine different Simple Moving Averages simultaneously.
Customize the length (period) and offset of each SMA to fine-tune your analysis across multiple timeframes.
Ideal for quickly identifying support/resistance levels, trend direction, and short-term price momentum.
Automatic High/Low Candle Markers
Instantly highlight candle highs and lows that form potential reversal or continuation patterns.
Streamline your chart reading by spotting key price action setups (e.g., swing highs/lows, double tops/bottoms).
Auto-Drawn Trend Lines for Long and Short
The indicator automatically detects and plots ascending/descending trend lines.
Quickly gauge overall market bias and locate potential breakout or pullback zones.
Particularly useful for scalpers, day traders, and swing traders alike.
Alert Customization
Set alerts for newly formed highs/lows, trend line breaks, and SMA crossovers.
Never miss a crucial market move—receive notifications directly in TradingView or via your preferred method.
Why You Need This Lite Version
Scalping and Day Trading: Multi-SMA setup helps confirm short-term momentum shifts.
Swing Trading: Trend lines and pattern markers make it easier to spot longer-term breakout points and trend reversals.
Risk Management: Clear visuals of support/resistance and pattern formations enable tighter stop-loss placement and better profit targets.
Price Action Confirmation: Candle high/low markers allow you to detect important pivot points without constant manual drawing.
This is just the Lite version of our powerful indicator. If you’re interested in unlocking all features, feel free to send me a direct message for more information on the full release.
Stay ahead in today’s fast-paced markets with this streamlined yet powerful indicator—get started by adding the Lite version to your TradingView setup and elevate your technical analysis to the next level!
Dhawal_Dynamic Zone Dynamic Zones will be created
Day
Week
Month
These lines may act as support and resistance and user can trade accordingly
IME-Bands with RSI Strategy//@version=5
strategy("IME-Bands with RSI Strategy", overlay=true)
// === INPUTS ===
src = close
emaS_value = input.int(50, minval=1, title="EMA Small - Value") // 50 EMA
emaB_value = input.int(100, minval=1, title="EMA Big - Value") // 100 EMA
rsi_length = input.int(14, title="RSI Length")
rsi_source = input.source(close, title="RSI Source")
rsi_overbought = input.int(70, title="RSI Overbought Level")
rsi_oversold = input.int(30, title="RSI Oversold Level")
// === CALCULATIONS ===
// EMAs
emaS = ta.ema(close, emaS_value)
emaB = ta.ema(close, emaB_value)
// RSI
rsi = ta.rsi(rsi_source, rsi_length)
// IME-Band Cross Conditions
isGreenCrossover = emaS > emaB // Green band
isRedCrossover = emaS < emaB // Red band
// Track Green Cross Confirmation
var bool isGreenConfirmed = false
if (isGreenCrossover and not isGreenCrossover ) // First green crossover
isGreenConfirmed := true
if (not isGreenCrossover)
isGreenConfirmed := false
// Entry Condition: RSI above 70 on second green candle
entryCondition = isGreenConfirmed and rsi > rsi_overbought and isGreenCrossover
// Exit Condition: Red band confirmed
exitCondition = isRedCrossover
// === STRATEGY RULES ===
// Stop Loss: Lowest point of crossover
var float stopLoss = na
if (isGreenCrossover and not isGreenCrossover )
stopLoss := emaB // Set stop loss to EMA Big (crossover point)
// Entry and Exit Trades
if (entryCondition)
strategy.entry("Buy", strategy.long)
stopLoss := na // Reset stop loss after entry
if (exitCondition)
strategy.close("Buy")
// Stop Loss logic
if (strategy.position_size > 0 and not na(stopLoss))
strategy.exit("Stop Loss", from_entry="Buy", stop=stopLoss)
// Plotting
plot(emaS, color=color.green, title="EMA Small (50)", linewidth=1)
plot(emaB, color=color.red, title="EMA Big (100)", linewidth=1)
hline(rsi_overbought, "RSI Overbought", color=color.new(color.red, 70), linestyle=hline.style_dotted)
plot(rsi, color=color.blue, title="RSI")
9 MME + 21,50,200 MMA + Breakout Probability (Expo)9 MME + 21,50,200 MMA + Breakout Probability (Expo)
Bollinger Band Squeeze
This indicator is designed to identify periods of market volatility compression using Bollinger Bands (BB) and Keltner Channels (KC), i.e. the Bollinger Band Squeeze.
When the Bollinger Bands fall entirely within the bounds of the Keltner Channels the bands are highlighted in red. During periods of no compression, the bands are displayed in gray.
-- BB: 20 SMA
-- KC: 20 EMA
Smart Money Concepts.meFor Overall Use
comprises of: OB, Market structure, custom time zones, Hull, SAR, FVG and more...
Buy/Sell Break and RetestThis script is a Pine Script indicator for TradingView titled **"Buy/Sell Break and Retest"**. Here's a description of its functionality:
### Purpose:
The script identifies potential **buy** and **sell entry levels** based on break-and-retest patterns in the market. It works by analyzing higher timeframe data (e.g., 1-hour) and marking entries on a lower timeframe (e.g., 1-minute).
### Key Features:
1. **Configurable Timeframes**:
- `Analysis Timeframe`: Used for identifying break-and-retest signals (default: 1-hour).
- `Entry Timeframe`: Used for marking and plotting entries (default: 1-minute).
2. **Buy and Sell Signals**:
- A **sell entry** is triggered when a bearish candle (close < open) is identified in the analysis timeframe.
- A **buy entry** is triggered when a bullish candle (close > open) is identified in the analysis timeframe.
3. **Retest Logic**:
- For sell signals: The retest is validated when the price breaks below the identified sell level.
- For buy signals: The retest is validated when the price breaks above the identified buy level.
4. **Visual Indicators**:
- Entry levels are marked with labels:
- **Buy Entry**: Green labels are placed at bullish candle opens.
- **Sell Entry**: Red labels are placed at bearish candle closes.
- Plots the levels for easy reference:
- **Sell Level**: Displayed as red circles on the chart.
- **Buy Level**: Displayed as green circles on the chart.
5. **Dynamic Updates**:
- Levels are cleared when invalidated by the price action.
### Use Case:
This indicator helps traders spot break-and-retest opportunities by:
- Allowing higher timeframe analysis to determine trend direction and key levels.
- Providing actionable buy and sell entry points on lower timeframes for precision.
Let me know if you'd like further clarification or improvements!
RSI Divergence with Bullish CandleKey Concepts in the Script:
RSI Calculation: The RSI is calculated with the user-defined period (rsiLength). The script uses the default 14-period RSI but you can adjust it.
Bullish Divergence:
Price Low: The script checks for the lowest price over the last 20 bars (ta.lowest(close, 20)).
RSI Low: The script checks for the lowest RSI over the same 20 bars.
Divergence Condition: Bullish divergence is identified when the price forms a lower low (priceLow1 < priceLow2), while the RSI forms a higher low (rsiLow1 > rsiLow2), and the RSI is below the oversold level (typically 30).
Bullish Candle Pattern:
A Bullish Engulfing pattern is defined as the current candle closing higher than it opened, and the close being above the previous candle's high.
A Hammer pattern is defined as a candlestick where the close is higher than the open, and the low is the lowest of the last 5 bars.
Buy Signal: The script generates a buy signal when both the bullish divergence and bullish candle are confirmed at the same time.
Ichimoku Cloud / Owl of ProfitIchimoku Cloud Strategy
This strategy uses the Ichimoku Cloud indicator to detect trend direction and momentum for generating entry and exit signals.
Features:
Ichimoku Cloud Components:
Tenkan-Sen (Conversion Line): Calculated as the midpoint of the highest high and lowest low over the past 9 periods (default).
Kijun-Sen (Base Line): Calculated as the midpoint of the highest high and lowest low over the past 26 periods (default).
Senkou Span A (Leading Span A): The average of Tenkan-Sen and Kijun-Sen, displaced 26 periods into the future.
Senkou Span B (Leading Span B): The midpoint of the highest high and lowest low over the past 52 periods, displaced 26 periods into the future.
Chikou Span (Lagging Span): The current close, displaced 26 periods into the past.
Entry Conditions:
Long: Price is above the cloud (Span A and Span B) and Tenkan-Sen is above Kijun-Sen.
Short: Price is below the cloud (Span A and Span B) and Tenkan-Sen is below Kijun-Sen.
Exit Conditions:
Positions are exited when the opposite signal is generated.
Visualization:
The Ichimoku Cloud (Kumo) is displayed with a green fill for bullish trends and a red fill for bearish trends.
Tenkan-Sen and Kijun-Sen are plotted as dynamic support and resistance levels.
This strategy is ideal for identifying strong trends and capturing momentum-based trade opportunities. Use it for backtesting and further adaptation to your trading preferences.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
BuyTheDips Trade on Trend and Fixed TP/SL
This strategy is designed to trade in the direction of the trend using exponential moving average (EMA) crossovers as signals while employing fixed percentages for take profit (TP) and stop loss (SL) to manage risk and reward. It is suitable for both scalping and swing trading on any timeframe, with its default settings optimized for short-term price movements.
How It Works
EMA Crossovers:
The strategy uses two EMAs: a fast EMA (shorter period) and a slow EMA (longer period).
A buy signal is triggered when the fast EMA crosses above the slow EMA, indicating a potential bullish trend.
A sell signal is triggered when the fast EMA crosses below the slow EMA, signaling a bearish trend.
Trend Filtering:
To improve signal reliability, the strategy only takes trades in the direction of the overall trend:
Long trades are executed only when the fast EMA is above the slow EMA (bullish trend).
Short trades are executed only when the fast EMA is below the slow EMA (bearish trend).
This filtering ensures trades are aligned with the prevailing market direction, reducing false signals.
Risk Management (Fixed TP/SL):
The strategy uses fixed percentages for take profit and stop loss:
Take Profit: A percentage above the entry price for long trades (or below for short trades).
Stop Loss: A percentage below the entry price for long trades (or above for short trades).
These percentages can be customized to balance risk and reward according to your trading style.
For example:
If the take profit is set to 2% and the stop loss to 1%, the strategy operates with a 2:1 risk-reward ratio. BINANCE:BTCUSDT
Bearish Wick Reversal█ STRATEGY OVERVIEW
The "Bearish Wick Reversal Strategy" identifies potential bullish reversals following significant bearish price rejection (long lower wicks). This counter-trend approach enters long positions when bearish candles show exaggerated downside wicks relative to closing prices, then exits on bullish confirmation signals. Includes optional EMA trend filtering for improved reliability.
█ What is a Bearish Wick?
A price rejection pattern where:
Bearish candle (close < open) forms with extended lower wick
Wick represents failed selloff: Low drops significantly below close
Measured as: (Low - Close)/Close × 100 (Negative percentage indicates downward extension)
█ SIGNAL GENERATION
1. LONG ENTRY CONDITION
Bearish candle forms with close < open
Lower wick exceeds user-defined threshold (Default: -1% of close price)
The signal occurs within the specified time window
If enabled, the close price must also be above the 200-period EMA (Exponential Moving Average)
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the highest high of the previous seven bars (`close > _highest `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ PERFORMANCE OVERVIEW
Ideal Market: Volatile instruments with frequent price rejections
Key Risk: False signals in sustained bearish trends
Optimization Tip: Test various thresholds
Filter Impact: EMA reduces trades but improves win rate and reduces drawdown
7 Indicator Bottom and Top finder
The script is a trading indicator for the TradingView platform designed to generate and visualise buy and sell signals based on various technical indicators. It utilises short periods and smoothes data to achieve high sensitivity to volatile markets. The functionality, application and use of the script are explained below:
1. how it works
The script combines several technical indicators to create a summarised signal for buy and sell decisions. It includes:
a. Calculation of the indicators:
BBTrend: Determines the difference between two moving averages (shorter and longer period).
VMC (RSI): Uses the Relative Strength Index (RSI) for trend evaluation.
SMI (Stochastic Momentum Index): Measures the difference in current and previous prices.
RSI: A classic momentum indicator.
OBV RSI: Combines the On-Balance Volume indicator with the RSI.
SQMOM_LB (Squared Momentum): Measures the speed of price changes.
MACD: Utilises the difference between fast and slow moving averages and their signal.
b. Generation of signals:
Each indicator provides an individual signal based on set thresholds:
Each indicator provides an individual signal based on defined threshold values:
1: Signal for buy (strongly positive).
-1: Sell signal (strongly negative).
0: No signal (neutral).
c. Signal evaluation and aggregation:
All signals are totalled to calculate a strength for buy and sell signals.
The stronger signal (buy or sell) is prioritised, smoothed and limited to a maximum signal value.
d. Identification of extremes (tops and bottoms):
Extrema detection uses dynamic thresholds that depend on market volatility.
Peaks (tops) and troughs (bottoms) are marked, signalling potential turning points in the market.
e. Visualisation:
A histogram shows the strength of buy and sell signals (green for buy, red for sell).
Circles mark tops and bottoms in the chart.
Threshold lines (upper and lower limits) and a centre line help with interpretation.
2. application
The script is used as follows:
Installation:
Copy the code into a new indicator in the TradingView environment.
Add the indicator to a chart.
Customisation of parameters:
Users can customise the input values (input) to suit their trading strategy and market conditions, e.g. indicator length, thresholds and smoothing parameters.
Signal interpretation:
Green bars: Strong buying opportunity.
Red bars: Strong selling opportunity.
Circles: Potential reversal points (top/bottom).
Optimisation:
The indicator can be fine-tuned by adjusting the periods (shorter for volatile markets) and threshold values.
3. use
Short-term trading: The indicators' short periods and high sensitivity are ideal for volatile markets and short-term strategies.
Recognising market turns: Extrema detection helps to find potential tops and bottoms.
Evaluate signal strength: The histogram allows you to visually assess the signal strength.
Note: This indicator should not be used alone, but in combination with other analysis methods, such as fundamental analysis or additional technical analysis.
Summary
The ‘Volatile and Optimised Multi-Signal Evaluator’ script combines several indicators in a flexible and sensitive tool that identifies buy and sell signals as well as market reversal points in volatile environments. It offers the user a variety of customisation options and a clear visual representation of market dynamics.
Gap Down Reversal Strategy█ STRATEGY OVERVIEW
The "Gap Down Reversal Strategy" capitalizes on price recovery patterns following bearish gap-down openings. This mean-reversion approach enters long positions on confirmed intraday recoveries and exits when prices breach previous session highs. This strategy is NOT optimized.
█ What is a Gap Down Reversal?
A gap down reversal occurs when:
An instrument opens significantly below its prior session's low (price gap)
Selling pressure exhausts itself during the session
Buyers regain control, pushing price back above the opening level
Creates a candlestick with:
• Open < Prior Session Low (true gap)
• Close > Open (bullish reversal candle)
█ SIGNAL GENERATION
1. LONG ENTRY CONDITION
Previous candle closes BELOW its opening price (bearish candle)
Current session opens BELOW prior candle's low (gap down)
Current candle closes ABOVE its opening price (bullish reversal)
Executes market order at session close
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the highest high of the previous seven bars (`close > _highest `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ PERFORMANCE OVERVIEW
Ideal Market: High volatility instruments with frequent gaps
Key Risk: False reversals in sustained downtrends
Optimization Tip: Test varying gap thresholds (1-3% ranges)
Monthly Start LinesThis script automatically draws vertical lines on the chart at the start of each new month
ATR + Pivot Points / Owl of ProfitThis strategy combines ATR (Average True Range) and Pivot Points for trade entries and exits. It uses dynamic stop loss and take profit levels based on ATR, and incorporates daily Pivot Points as key levels for decision-making.
Features:
Pivot Points: Calculates standard daily Pivot Points (Pivot, R1, R2, S1, S2) for support and resistance levels.
ATR Integration: Uses ATR to dynamically set stop loss and take profit levels with customizable multipliers.
Entry Conditions:
Long: Price crosses above R1.
Short: Price crosses below S1.
Exit Conditions:
Optional closing of positions when crossing the main pivot point.
Fully visualized Pivot Points for easy reference on the chart.
Customization Options:
Adjust Pivot Points calculation period.
Modify ATR length and multiplier for tailored risk management.
Enable or disable Pivot Points visualization.
This strategy is designed for demonstration and educational purposes. Use it as a foundation for further backtesting and customization.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
3 Line Strike + EMA / Owl of ProfitThis script is based on the TMA Overlay by Arty and extended with an ATR and EMA filter for enhanced strategy conditions.
Features:
Detects Bullish and Bearish 3 Line Strike patterns:
Bullish: Three consecutive red candles followed by a large green engulfing candle.
Bearish: Three consecutive green candles followed by a large red engulfing candle.
Adds an EMA filter:
Bullish signals only trigger if the price is above the EMA.
Bearish signals only trigger if the price is below the EMA.
Uses ATR to calculate dynamic Take Profit (TP) and Stop Loss (SL) levels.
Includes alert conditions for automation or monitoring of key signals.
Strategy entries are based on combined candlestick patterns and trend validation.
Customization Options:
Adjust ATR and EMA lengths for flexibility.
Enable/disable specific signals (e.g., Bullish or Bearish 3 Line Strike).
This strategy is designed for educational and testing purposes. Use it as a foundation for further customization and backtesting on your preferred markets.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!