Pivot and Golden Crossover Swing Strategy### Strategy Description:
This **Pivot and Golden Crossover Swing Strategy** combines moving averages and pivot points to identify potential swing trade opportunities. It is designed for traders who want to leverage momentum and key price levels in their decisions.
#### Key Features:
1. **Golden Crossover**:
- A long position is triggered when the short moving average (50-period by default) crosses above the long moving average (200-period by default).
- A short position is triggered when the short moving average crosses below the long moving average.
2. **Pivot Points**:
- Identifies recent high and low pivot levels based on a user-defined lookback period (default is 5 candles).
- Pivot points are used to determine entry levels and calculate stop-loss and take-profit targets.
3. **Risk Management**:
- Stop-loss levels are set relative to pivot points with a user-defined multiplier (default: 1.5x).
- Take-profit targets are based on the distance between moving averages, adjusted by a multiplier (default: 2.0x).
4. **Visual Indicators**:
- Moving averages are plotted on the chart for trend visualization.
- Pivot points are marked with triangle shapes for easy identification.
#### Use Case:
This strategy works well in trending markets where golden crossovers indicate momentum shifts. The pivot points ensure precise trade management, making it suitable for swing traders aiming to capture medium-term price movements.
Let me know if you'd like any further details or adjustments!
指标和策略
Macro+KZ (ICT concepts + HYRDRA macros)
This script will automatically highlight any time based sessions you like.
It will also showcase any macro times on your chart.
BB Scalp NAS100 1MTrades the Bollinger Bands with an RSI lookback and volatility limiter to limit consolidation trades
VIX vs VIX3M crossingDetects crossings between VIX and VIX3M.
VIX3M crossing below the VIX-line could be an indicator of rising panic in the market.
Intraday Momentum Strategy NoiseBands for SPY (v6)momentum strategy based on paper "Beat the Market",Zarratini 2024
It works with 5 minutes bar and SPY.
Intraday Momentum Strategy NoiseBands (v6)intraday momentum strategy good for SPY. Based on paper "Beat the market" Zarratini 2024
Works with 5 minutes bar.
LONG on 3min chart Bitget , Heikin Ashi candles, LogarithmicLONG on 3min chart Bitget , Heikin Ashi candles, Logarithmic
Intraday Momentum Strategy NoiseBands (v6)This indicator is intended to trade intraday momentum , using volatility bands noise.
It works best in 5-10 minutes frequency . It follows the paper "Beat the Market", Zarattini 2024
Order Flow VWAP chatGPTVWAP: El cálculo del VWAP se hace con la función ta.vwap(), que toma el cierre de cada barra para ponderarlo por el volumen de esa barra.
Bandas de VWAP: Este script también calcula bandas superiores e inferiores del VWAP usando una desviación estándar. Estas bandas ayudan a visualizar áreas de sobrecompra o sobreventa.
Opciones de visualización: Puedes activar o desactivar las bandas de VWAP con el parámetro show_bands.
Estilo y color: Puedes personalizar los colores, el ancho de las líneas y las bandas, según lo que prefieras para tu gráfico.
Daily Open LineIndicator Goal/Objective:
This is a Simple Code to show Daily Open Level in chart
This script plots a circle at the open price of the current day on the chart.
It marks the first bar's open price of each new trading day and
keeps the same value for the rest of the day until a new trading day begins.
It is only for analysis purpose only.
it is not a new indicator and can be replica of any other persons indicator.
The purpose of making indicator as an individual indicator is only for easiness.
MACD DEMA DEMİRHANMACD Demanın kesişim işaretlenmiş halidir.! Klasik Macd Dema diğer macd göre daha erken sinyal vermesiyle ünlüdür. Bu kodu tasarlayıp yatırımcılara daha etkin al ve sat kesişimleri belirleyip daha rahat ve konforlu analiz etme olanağı sağlamaktadır.
VIX vs VIX3M - TradingHoursAlertsDetects VIX vs VIX3M crossovers.
Crossovers that might happen outside rth will only be flagged if they persist into the next trading session.
CCI Buy Signal//@version=5
indicator("CCI Buy Signal", overlay=true)
// Inputs for CCI
length = input.int(14, title="CCI Length")
src = input.source(close, title="Source")
// Calculate CCI
cci = ta.cci(src, length)
prev_cci = ta.valuewhen(bar_index > 0, cci , 0)
// Buy condition
buySignal = (cci < -100) and (cci > prev_cci)
// Plot CCI
plot(cci, color=color.blue, title="CCI")
hline(100, color=color.red, linestyle=hline.style_dotted, title="Upper Threshold")
hline(0, color=color.gray, linestyle=hline.style_dotted, title="Zero Line")
hline(-100, color=color.red, linestyle=hline.style_dotted, title="Lower Threshold")
// Plot Buy Signal as Arrow
plotshape(buySignal, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="Buy Signal Arrow")
VWMACD-MFI-OBV Composite# MACD-MFI-OBV Composite
A dynamic volume-based technical indicator combining Volume-Weighted MACD, Money Flow Index (MFI), and normalized On Balance Volume (OBV). This composite indicator excels at identifying breakouts and strong trend movements through multiple volume confirmations, making it particularly effective for momentum and high-volatility trading environments.
## Overview
The indicator integrates trend, momentum, and cumulative volume analysis into a unified visualization system. Each component is carefully normalized to enable direct comparison, while the background color system provides instant trend recognition. This version is specifically optimized for breakout detection and strong trend confirmation.
## Core Components
### Volume-Weighted MACD
Visualized through the background color system, this enhanced MACD implementation uses Volume-Weighted Moving Averages (VWMA) instead of traditional EMAs. This modification ensures greater sensitivity to volume-supported price movements while filtering out less significant low-volume price changes. The background alternates between green (bullish) and red (bearish) to provide immediate trend feedback.
### Money Flow Index (MFI)
Displayed as the purple line, the MFI functions as a volume-weighted momentum oscillator. Operating within a natural 0-100 range, it helps identify potential overbought and oversold conditions while confirming volume support for price movements. The MFI is particularly effective at validating breakout momentum.
### Normalized On Balance Volume (OBV)
The white line represents normalized OBV, providing insight into cumulative buying and selling pressure. The normalization process scales OBV to match other components while maintaining its ability to confirm price trends through volume analysis. This component excels at identifying strong breakout movements and volume surges.
## Signal Integration
The indicator generates its most powerful signals when all three components align, particularly during breakout conditions:
Strong Bullish Signals develop when:
- Background shifts to green (VWMACD bullish)
- MFI shows strong upward momentum
- OBV demonstrates sharp volume accumulation
Strong Bearish Signals emerge when:
- Background turns red (VWMACD bearish)
- MFI exhibits downward momentum
- OBV shows significant volume distribution
## Market Application
This indicator variant is specifically designed for:
Breakout Trading:
The OBV component provides excellent sensitivity to volume surges, making it ideal for breakout confirmation and momentum validation.
Trend Following:
Sharp OBV movements combined with MFI momentum help identify and confirm strong trending conditions.
High Volatility Markets:
The indicator's design excels in active, volatile markets where clear signal generation is crucial for decision-making.
## Technical Implementation
Default Parameters:
Volume-Weighted MACD maintains traditional periods (12/26/9) while leveraging volume weighting. MFI uses standard 14-period calculation with 80/20 overbought/oversold thresholds. All components undergo normalization over a 100-period lookback for stable comparison.
Visual Elements:
- Background: VWMACD trend indication (green/red)
- Purple Line: Money Flow Index
- White Line: Normalized OBV
- Yellow Line: Combined signal (arithmetic mean of normalized components)
- Reference Lines: Key levels at 20, 50, and 80
## Trading Methodology
The indicator supports a systematic approach to breakout and momentum trading:
1. Breakout Identification
Monitor for background color changes accompanied by significant OBV movement, indicating potential breakout conditions.
2. Volume Surge Confirmation
Examine OBV slope and magnitude to confirm genuine breakout scenarios versus false moves.
3. Momentum Validation
Use MFI to confirm breakout strength and identify potential exhaustion points.
4. Combined Signal Analysis
The yellow line provides a unified view of all components, helping identify high-probability breakout opportunities.
## Interpretation Guidelines
Breakout Confirmation:
Strong breakouts typically show alignment of all three components with notable OBV surge. This configuration often precedes significant price movements.
Trend Strength:
Continuous OBV expansion during trends, supported by steady MFI readings, suggests sustained momentum.
## Market Selection
Optimal Markets Include:
- High-beta growth stocks
- Momentum-driven securities
- Stocks with significant volatility
- Active trading instruments
- Examples: TSLA, NVDA, growth stocks
## Version Information
Current Version: 2.0.0
This indicator represents a specialized adaptation of volume-based analysis, optimized for breakout trading and momentum strategies in high-volatility environments.
metaconnectorLibrary "metaconnector"
metaconnector
buy_market_order(License_ID, symbol, lot)
Places a buy market order
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to buy
Returns: String syntax for the buy market order
sell_market_order(License_ID, symbol, lot)
Places a sell market order
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to sell
Returns: String syntax for the sell market order
buy_limit_order(License_ID, symbol, lot, price)
Places a buy limit order
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to buy
price (float) : Limit price for the order
Returns: String syntax for the buy limit order
sell_limit_order(License_ID, symbol, lot, price)
Places a sell limit order
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to sell
price (float) : Limit price for the order
Returns: String syntax for the sell limit order
stoploss_for_buy_order(License_ID, symbol, lot, stoploss_price)
Places a stop-loss order for a buy position
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to buy
stoploss_price (float)
Returns: String syntax for the buy stop-loss order
stoploss_for_sell_order(License_ID, symbol, lot, stoploss_price)
Places a stop-loss order for a sell position
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to sell
stoploss_price (float)
Returns: String syntax for the sell stop-loss order
takeprofit_for_buy_order(License_ID, symbol, lot, target_price)
Places a take-profit order for a buy position
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to buy
target_price (float)
Returns: String syntax for the buy take-profit order
takeprofit_for_sell_order(License_ID, symbol, lot, target_price)
Places a take-profit order for a sell position
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to sell
target_price (float)
Returns: String syntax for the sell take-profit order
buy_stop_order(License_ID, symbol, lot, price)
Places a buy stop order above the current market price
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to buy
price (float) : Stop order price
Returns: String syntax for the buy stop order
sell_stop_order(License_ID, symbol, lot, price)
Places a sell stop order below the current market price
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to sell
price (float) : Stop order price
Returns: String syntax for the sell stop order
close_all_positions(License_ID, symbol)
Closes all positions for a specific symbol
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
Returns: String syntax for closing all positions
close_buy_positions(License_ID, symbol)
Closes all buy positions for a specific symbol
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
Returns: String syntax for closing all buy positions
close_sell_positions(License_ID, symbol)
Closes all sell positions for a specific symbol
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
Returns: String syntax for closing all sell positions
close_partial_buy_position(License_ID, symbol, lot)
Closes a partial buy position for a specific symbol
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to close
Returns: String syntax for closing a partial buy position
close_partial_sell_position(License_ID, symbol, lot)
Closes a partial sell position for a specific symbol
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to close
Returns: String syntax for closing a partial sell position
Market Structure CHoCH/BOS (Fractal) [vandji]Explication de la stratégie Market Structure CHoCH/BOS (Fractal)
Introduction
La stratégie Market Structure CHoCH/BOS (Fractal) est conçue pour analyser les structures de marché en identifiant les changements de caractère (Change of Character - CHoCH) et les cassures de structure (Break of Structure - BOS) basées sur des fractales. Cette approche permet aux traders de repérer les renversements de tendance ainsi que la continuation de celle-ci à l'aide d'un outil visuel intuitif et de niveaux clés marqués directement sur le graphique.
Fonctionnement de l'indicateur
L'indicateur utilise des fractales pour identifier des points hauts et bas significatifs dans le marché. Ces points permettent de :
Identifier les structures haussières (Bullish) :
Une cassure d'un sommet fractal indique une continuation ou un renversement haussier.
Des niveaux de support sont tracés pour repérer les zones où le prix peut rebondir.
Identifier les structures baissières (Bearish) :
Une cassure d'un bas fractal signale une continuation ou un renversement baissier.
Des niveaux de résistance sont tracés pour surveiller les zones où le prix peut se retourner.
L'indicateur utilise également des labels visuels tels que CHoCH et BOS :
CHoCH (Change of Character) : Indique un changement de tendance.
BOS (Break of Structure) : Confirme la continuation de la tendance.
Visualisation des Niveaux Clés
Support : Tracé lorsque la structure haussière est identifiée.
Résistance : Tracée lorsque la structure baissière est détectée. Ces niveaux servent de repères pour placer des ordres ou évaluer la force de la tendance.
Avantages
Identification claire des tendances : Les CHoCH et BOS aident à distinguer les renversements des continuations.
Zones clés définies : Les supports et résistances fractals donnent des points d'entrée ou de sortie potentiels.
Convient aux styles variés de trading : Applicable pour le scalping, le day trading ou le swing trading.
Exemple Visuel
Graphique annoté
L'image suivante illustre le fonctionnement de l'indicateur sur un graphique.
Les sommets fractals haussiers et baissiers sont marqués.
Les niveaux de support et de résistance sont dessinés.
Les labels CHoCH et BOS indiquent des points importants de renversement ou de continuation.
Price Projection by Linear RegressionPurpose:
This is a TradingView Pine Script indicator that performs a linear regression on historical price data to project potential future price levels. It's designed to help traders visualize long-term price trends and potential future price targets.
Key Components:
User Inputs:
Historical Data Points (default 1000 bars) - The amount of historical data used to calculate the trend
Years to Project (default 10 years) - How far into the future to project the price
Technical Implementation:
Uses linear regression (ta.linreg) to calculate the trend slope
Converts years to trading days using 252 trading days per year
Limits visible projection to 500 bars due to TradingView's drawing limitations
Projects prices using the formula: current_price + (slope × number_of_bars)
Visual Elements:
Blue line showing actual historical prices
Red projection line showing the expected price path
Label showing the projected price at the visible end of the line
Information table in the top-right corner showing:
Current price
Final projected price after the full time period
Limitations:
Can only display projections up to 500 bars into the future (about 2 years) due to TradingView limitations
The full projection value is still calculated and shown in the table
Past performance doesn't guarantee future results - this is a mathematical projection based on historical trends
Usage:
Traders can use this to:
Visualize potential long-term price trends
Set long-term price targets
Understand the historical trend's trajectory
Compare current prices with projected future values