Sessions [TBWS]Sessions displays the London, New York, and Asia trading sessions directly on your chart. Includes customizable session times, shaded areas, labels, and the option to toggle outlines—helping you focus on market activity with ease.
Indicators and strategies
Fibonacci Channel (200 SMA with Custom Levels)The Ultimate moving Fib channels based off the 200MA with fib extensions
Merry ChristmasThis indicator creates a dynamic table of holiday greetings in 40 languages, taking advantage of Pine Script v6's new variable text size feature. The messages appear with randomized colors, sizes, and positions, refreshing with each bar update to create an ever-changing festive display. Includes traditional Christmas, Hanukkah, and New Year wishes across cultures. To fellow Pine developers who continue to push the boundaries of what's possible with Pine Script - thank you and happy holidays.
Cross-Symbol Candle Comparison IndicatorEasily compare the candle closing direction of your current chart's symbol with another symbol of your choice using this Pine Script indicator. Whether you're analyzing NAS100 against S&P500 or any other pair of assets, this tool highlights candles where the two symbols diverge:
Bullish vs. Bearish: Highlights candles when one symbol closes bullish and the other bearish, and vice versa.
Custom Symbol Input: Select any symbol to compare with the chart you're currently analyzing.
Multi-Timeframe Support: Works seamlessly across all timeframes to fit your trading style.
Enhance your technical analysis with this user-friendly and dynamic comparison tool. Perfect for traders seeking correlation or divergence insights between different assets.
PineTraderOT_V5Are you tired of the complexities of creating properly formatted order tickets in TradingView? We’ve got you covered! The PineTrader Order Ticket Generator library is here to simplify the process and help you automate your trading strategies with ease.
Why This Library?
Currently, TradingView doesn’t support JSON formatting natively. This means creating order tickets for automation often involves tedious string manipulations to build a message that services like PineTrader can understand. Our library takes care of all that for you by providing an easy-to-use method to generate correctly formatted JSON order tickets.
What Does It Do?
This library is your shortcut to creating automated trades using TradingView and PineTrader. It lets you build buy, sell, and pending orders with all the parameters you need, such as:
Take Profit (TP)
Stop Loss (SL)
Trailing Stops
And more!
Once your order ticket is ready, you can send it to the PineTrader webhook URL:
👉 webhook.pinetrader.io
The webhook communicates with your broker (like MT5) to execute trades based on the order ticket.
How to Use It?
Import the Library
Add this library to your Pine Script™ project.
Use CreateOrderTicket Method
Call the CreateOrderTicket function in your script and define the parameters for your trade, such as size, price, order type, and more.
Set Up Alerts
Create an alert in TradingView.
Use the webhook URL (webhook.pinetrader.io) for the alert notification.
Set the alert message to {{strategy.order.message}} (make sure to include alert_message in your strategy.entry or strategy.exit methods).
Enjoy Automation
Once the alert is triggered, the order ticket is sent to PineTrader, and your trades are executed automatically.
Example Workflow
Here’s how simple it is:
Define your trading parameters using CreateOrderTicket.
Add an alert linked to the PineTrader webhook.
Watch as your TradingView strategy seamlessly interacts with your broker!
Why Choose PineTrader Order Ticket Generator?
This library:
Saves time by automating the formatting of order tickets.
Reduces errors in creating JSON strings manually.
Simplifies integration between TradingView and brokers like MT5.
Automate your strategies today with the PineTrader Order Ticket Generator—the bridge between TradingView and effortless trading automation!
Higher Timeframe MAsPlots moving averages from a higher timeframe onto the current chart. Each line can have its own MA type and length.
TS Aggregated Median Absolute DeviationTS Aggregated Median Absolute Deviation (MAD) Indicator Explanation
Overview
The TS Aggregated Median Absolute Deviation (MAD) is a powerful indicator designed for traders looking for momentum-based strategies. By aggregating the Median Absolute Deviation (MAD) across multiple timeframes, it provides a comprehensive view of market dynamics. This indicator helps identify potential reversal points, overbought/oversold conditions, and general market trends by leveraging the concept of MAD, which measures price dispersion from the median.
Signal Generation:
Long Signal: Triggered when the price moves above the aggregated upper band
Short Signal: Triggered when the price moves below the aggregated red band
Alerts:
Real-time alerts are integrated to notify the user of long or short signals when confirmed:
Long Signal Alert: "TS MAD Flipped ⬆LONG⬆"
Short Signal Alert: "TS MAD Flipped ⬇Short⬇"
Optimization:
Adjust thresholds, MAD lengths, and multipliers for each timeframe to suit the specific asset and market conditions.
Experiment with enabling/disabling MAD components to focus on particular timeframes.
Order Ticket Generator by Pinetrader (TradingView Automation)
Are you tired of the complexities of creating properly formatted order tickets in TradingView? We’ve got you covered! The PineTrader Order Ticket Generator library is here to simplify the process and help you automate your trading strategies with ease.
Why This Library?
Currently, TradingView doesn’t support JSON formatting natively. This means creating order tickets for automation often involves tedious string manipulations to build a message that PineTrader can understand. Our library takes care of all that for you by providing an easy-to-use method to generate correctly formatted JSON order tickets.
What Does It Do?
This library is your shortcut to creating automated trades using TradingView and PineTrader. It lets you build buy, sell, and pending orders with all the parameters you need, such as:
Take Profit (TP)
Stop Loss (SL)
Trailing Stops
And more!
Once your order ticket is ready, you can send it to the PineTrader webhook URL:
👉 webhook.pinetrader.io
The webhook communicates with your broker (like MT5) to execute trades based on the order ticket.
How to Use It?
1. Import the Library
Add this library to your Pine Script™ project.
2. Use CreateOrderTicket Method
Call the CreateOrderTicket function in your script and define the parameters for your trade, such as size, price, order type, and more.
3. Set Up Alerts
Create an alert in TradingView.
Use the webhook URL (webhook.pinetrader.io) for the alert notification.
Set the alert message to {{strategy.order.message}} (make sure to include alert_message in your strategy.entry or strategy.exit methods).
4. Enjoy Automation
Once the alert is triggered, the order ticket is sent to PineTrader, and your trades are executed automatically.
Example Workflow
Here’s how simple it is:
Define your trading parameters using CreateOrderTicket.
Add an alert linked to the PineTrader webhook.
Watch as your TradingView strategy seamlessly interacts with your broker!
Why Choose PineTrader Order Ticket Generator?
This library:
Saves time by automating the formatting of order tickets.
Reduces errors in creating JSON strings manually.
Simplifies integration between TradingView and brokers like MT5.
Automate your strategies today with the PineTrader Order Ticket Generator—the bridge between TradingView and effortless trading automation!
Additional ressources:
Pinetrader Website
Documentation
Youtube Tutorial
Market Movement After OpenDescription:
This script provides a detailed visualization of market movements during key trading hours: the German market opening (08:00–09:00 UTC+1) and the US market opening (15:30–16:30 UTC+1). It is designed to help traders analyze price behavior in these critical trading periods by capturing and presenting movement patterns and trends directly on the chart and in an interactive table.
Key Features:
Market Movement Analysis:
Tracks the price movement during the German market's first hour (08:00–09:00 UTC+1) and the US market's opening session (15:30–16:30 UTC+1).
Analyzes whether the price moved up or down during these intervals.
Visual Representation:
Dynamically colored price lines indicate upward (green) or downward (red) movement during the respective periods.
Labels ("DE" for Germany and "US" for the United States) mark key moments in the chart.
Historical Data Table:
Displays the past 10 trading days' movement trends in an interactive table, including:
Date: Trading date.
German Market Movement: Up (▲), Down (▼), or Neutral (-) for 08:00–09:00 UTC+1.
US Market Movement: Up (▲), Down (▼), or Neutral (-) for 15:30–16:30 UTC+1.
The table uses color coding for easy interpretation: green for upward movements, red for downward, and gray for neutral.
Real-Time Updates:
Automatically updates during live trading sessions to reflect the most recent movements.
Highlights incomplete periods (e.g., ongoing sessions) to indicate their status.
Customizable:
Suitable for intraday analysis or broader studies of market trends.
Designed to overlay directly on any price chart.
Use Case:
This script is particularly useful for traders who focus on market openings, which are often characterized by high volatility and significant price movements. By providing a clear visual representation of historical and live data, it aids in understanding and capitalizing on market trends during these critical periods.
Notes:
The script works best when the chart is set to the appropriate timezone (UTC+1 for the German market or your local equivalent).
For precise trading decisions, consider combining this script with other technical indicators or trading strategies.
Feel free to share feedback or suggest additional features to enhance the script!
ffejokrap indicatorDip buys with adds self testing indicator, test 1
sladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdkv
VIX Spike StrategyThis script implements a trading strategy based on the Volatility Index (VIX) and its standard deviation. It aims to enter a long position when the VIX exceeds a certain number of standard deviations above its moving average, which is a signal of a volatility spike. The position is then exited after a set number of periods.
VIX Symbol (vix_symbol): The input allows the user to specify the symbol for the VIX index (typically "CBOE:VIX").
Standard Deviation Length (stddev_length): The number of periods used to calculate the standard deviation of the VIX. This can be adjusted by the user.
Standard Deviation Multiplier (stddev_multiple): This multiplier is used to determine how many standard deviations above the moving average the VIX must exceed to trigger a long entry.
Exit Periods (exit_periods): The user specifies how many periods after entering the position the strategy will exit the trade.
Strategy Logic:
Data Loading: The script loads the VIX data, both for the current timeframe and as a rescaled version for calculation purposes.
Standard Deviation Calculation: It calculates both the moving average (SMA) and the standard deviation of the VIX over the specified period (stddev_length).
Entry Condition: A long position is entered when the VIX exceeds the moving average by a specified multiple of its standard deviation (calculated as vix_mean + stddev_multiple * vix_stddev).
Exit Condition: After the position is entered, it will be closed after the user-defined number of periods (exit_periods).
Visualization:
The VIX is plotted in blue.
The moving average of the VIX is plotted in orange.
The threshold for the VIX, which is the moving average plus the standard deviation multiplier, is plotted in red.
The background turns green when the entry condition is met, providing a visual cue.
Sources:
The VIX is often used as a measure of market volatility, with high values indicating increased uncertainty in the market.
Standard deviation is a statistical measure of the variability or dispersion of a set of data points. In financial markets, it is used to measure the volatility of asset prices.
References:
Bollerslev, T. (1986). "Generalized Autoregressive Conditional Heteroskedasticity." Journal of Econometrics.
Black, F., & Scholes, M. (1973). "The Pricing of Options and Corporate Liabilities." Journal of Political Economy.
Volume and Bollinger Band Arrow IndicatorThis is an indicator that is marked with arrows when the candle has a high volume despite its small size
It works when the candle touches the bolinger band (20, 2) at least once, and may be modified or added later
ATR Multi-Timeframe (Trend Direction + Current Levels) Indicator Name
ATR Multi-Timeframe (Trend Direction + Current Levels)
Description
This indicator helps you visualize support and resistance levels based on the Average True Range (ATR) and track the current trend direction across multiple timeframes (daily, weekly, and monthly). It is a valuable tool for traders looking to enhance decision-making and market volatility analysis.
Key Features
Multi-Timeframe ATR Analysis:
Calculates the Average True Range (ATR) and True Range (TR) for daily, weekly, and monthly timeframes.
Trend Direction Indicators:
Displays trend direction using arrows (▲ for uptrend, ▼ for downtrend) with color-coded labels (green for uptrend, red for downtrend).
Support and Resistance Levels:
Dynamically calculates trend levels (Open ± ATR) and opposite levels for each timeframe.
Persistent lines extend these levels into the future for better visualization.
Customizable Settings:
Toggle visibility of daily, weekly, and monthly levels.
Adjust line width and colors for each timeframe.
Summary Table:
Displays a compact table showing ATR percentages, TR percentages, and trend direction for all timeframes.
Why Use This Indicator?
Quickly identify key support and resistance levels across different timeframes.
Understand market volatility through ATR-based levels.
Spot trends and reversals with easy-to-read visual elements.
How to Use:
Add the indicator to your chart.
Enable or disable specific timeframes (Daily, Weekly, Monthly) in the settings.
Adjust line styles and colors to match your preferences.
Use the displayed levels to plan entry/exit points or manage risk.
This indicator is perfect for both swing and intraday traders who want a clear and dynamic view of volatility and trend across multiple timeframes.
SL (Daily ATR/3 from Yesterday)n den 1950er und 1960er Jahren kam es zwischen den USA und der Sowjetunion zum sogenannten Wettlauf ins All.
Der erste von Menschen konstruierte Raumflugkörper auf dem Mond war die sowjetische Sonde Lunik 2, die am 13. September 1959 gezielt auf dem Mond aufschlug. Der US-amerikanische Flugkörper Ranger 4 stürzte nach einem Kontaktabbruch am 26. April 1962 auf der Rückseite des Mondes ab. Die Raumsonden Ranger 7, 8 und 9 konnten 1964 und 1965 vor ihrem Aufschlag (planmäßig harte Landungen) jeweils Tausende von Bildern zur Erde übertragen. Am 3. Februar 1966 landete die sowjetische Luna 9 als erster Flugkörper weich auf dem Mond, und mit Surveyor 1 am 2. Juni 1966 auch erstmals eine US-amerikanische Sonde.
Die erste bemannte Flugmission zum Mond (ohne Landung auf dem Trabanten) war Apollo 8 im Dezember 1968. Frank Borman, William Anders und James („Jim“) Lovell umkreisten den Mond 10 Mal und waren die ersten Menschen, die mit eigenen Augen die Rückseite des Mondes sahen. Am 21. Juli 1969 um 3:56 Uhr MEZ betraten im Zuge der Mission Apollo 11 die ersten Menschen den Mond, Neil Armstrong und Buzz Aldrin. In den folgenden drei Jahren fanden fünf weitere bemannte Mondlandungen des Apollo-Programms statt.
Vermutlich versuchte die Sowjetunion, noch vor Apollo 11 Mondgestein zur Erde zu bringen. Dies gelang allerdings erst mit der am 20. September 1970 gelandeten Sonde Luna 16. Das geplante sowjetische bemannte Mondprogramm wurde nicht verwirklicht.
Als dritter Nation gelang der Volksrepublik China eine weiche Mondlandung; die chinesische Sonde Chang’e-3 setzte am 14. Dezember 2013 auf dem Mond auf. Am 3. Januar 2019 landete mit Chang'e-4 erstmals eine Sonde weich auf der Mondrückseite. Mit Chang’e 5 brachte die Volksrepublik China im Dezember 2020 auch als drittes Land Bodenproben vom Mond auf die Erde.
Der jeweils erste Landeversuch der indischen Raumfahrtbehörde ISRO und eines israelischen Privatprojekts schlug fehl, die beiden Sonden Chandrayaan-2 und Beresheet zerschellten im Jahr 2019 auf der Mondoberfläche. Im zweiten Versuch war Indien dann erfolgreich, Chandrayaan-3 landete am 23. August 2023 weich im südlichen Bereich der Mondvorderseite. Als fünftem Land gelang Japan am 19. Januar 2024 eine Mondlandung mit dem Smart Lander for Investigating Moon (SLIM).
Directional Volume IndexDirectional Volume Index (DVI) (buying/selling pressure)
This index is adapted from the Directional Movement Index (DMI), but based on volume instead of price movements. The idea is to detect building directional volume indicating a growing amount of orders that will eventually cause the price to follow. (DVI is not displayed by default)
The rough algorithm for the Positive Directional Volume Index (green bar):
calculate the delta to the previous green bar's volume
if the delta is positive (growing buying pressure) add it to an SMA, else add 0 (also for red bars)
divide these average deltas by the average volume
the result is the Positive Directional Volume Index (DVI+) (vice versa for DVI-)
Differential Directional Volume Index (DDVI) (relative pressure)
Creating the difference of both Directional Volume Indexes (DVI+ - DVI-) creates the Differential Directional Volume Index (DDVI) with rising values indicating a growing buying pressure, falling values a growing selling pressure. (DDVI is displayed by default, smoothed by a custom moving average)
Average Directional Volume Index (ADVX) (pressure strength)
Putting the relative pressure (DDVI) in relation to the total pressure (DVI+ + DVI-) we can determine the strength and duration of the currently building volume change / trend. For the DMI/ADX usually 20 is an indicator for a strong trend, values above 50 suggesting exhaustion and approaching reversals. (ADVX is not displayed by default, smoothed by a custom moving average)
Divergences of the Differential Directional Volume Index (DDVI) (imbalances)
By detecting divergences we can detect situations where e.g. bullish volume starts to build while price is in a downtrend, suggesting that there is growing buying pressure indicating an imminent bullish pullback/order block or reversal. (strong and hidden divergences are displayed by default)
Divergences Overview:
strong bull: higher lows on volume, lower lows on price
medium bull: higher lows on volume, equal lows on price
weak bull: equal lows on volume, lower lows on price
hidden bull: lower lows on volume, higher lows on price
strong bear: lower highs on volume, higher highs on price
medium bear: lower highs on volume, equal highs on price
weak bear: equal highs on volume, higher highs on price
hidden bear: higher highs on volume, lower highs on price
DDVI Bands (dynamic overbought/oversold levels)
Using Bollinger Bands with DDVI as source we receive an averaged relative pressure with stdev band offsets. This can be used as dynamic overbought/oversold levels indicating reversals on sharp crossovers.
Alerts
As of now there are no alerts built in, but all internal data is exposed via plot and plotshape functions, so it can be used for custom crossover conditions in the alert dialog. This is still a personal research project, so if you find good setups, please let me know.
Vertical Lines OverlayVertical Lines Overlay with Custom Time Inputs
This script allows users to draw vertical lines on their charts at specific times of the day, providing a customizable tool for marking key events, session changes, or any other time-based analysis.
Features:
Customizable Time Inputs: Set up to 6 distinct times (hours and minutes) to draw vertical lines.
Line Style Options: Choose between solid, dotted, or dashed line styles for each line.
Line Width Control: Adjust the thickness of each line individually.
Color Selection: Assign unique colors to each vertical line for better visibility and organization.
Dynamic Time Offsets: Adjust line positions with predefined time offsets, ensuring compatibility across different trading instruments and time zones.
Automatic Line Drawing: Lines are plotted automatically at the specified times if the conditions are met.
How to Use:
Open the settings panel by clicking the gear icon.
Enable or disable each line by toggling the respective checkboxes.
Set the desired time for each line using the hour and minute inputs.
Customize line styles, widths, and colors for each line.
Optionally, apply a time offset based on your trading instrument or preference.
KRIPTO TOLGA ÖZEL RSIBu indikatör ile her türlü fiyat hareketini yakalamak mümkün! işlem açmayı düşündüğünüz coin grafiğinde zaman birimini seçin, indikatör de dip ve tepe çizgilerini belirleyin, daha sonra renk değişimi veya al - sat sinyali ile işleme girin, al - sat sinyalleri güçlüdür ona göre ;) renk değişimleri 5 - 15 dakikalık scalp işlemleri için uygundur!
--------------------------------------------------------------------------------------
It's possible to catch any price movement with this indicator! select the time frame in the coin chart you are thinking of trading, define the support and resistance lines in the indicator, and then enter a trade with a color change or buy/sell signal; buy/sell signals are strong, so take note ;) color changes are suitable for scalping trades of 5-15 minutes!
ATR Percentage Covered% of ATR covered from yesterday's close. If a stock's ATR is for example 40$ and the stock gapped down 20$ and dropped 10$ more after the open, the Indicator will show 0.75 (75%) (30/40). It helps to understand how much move is there still "in" the asset analyzing.