ETH/USDT Futures Helper (25x Leverage)//@version=5
indicator("ETH/USDT Futures Helper (25x Leverage)", overlay=true)
// Configuración de parámetros
length = input.int(14, title="Longitud para Soportes y Resistencias", minval=1)
rsi_length = input.int(14, title="Longitud del RSI")
ema_length = input.int(50, title="Longitud del EMA")
show_sr = input.bool(true, title="Mostrar Soportes y Resistencias")
show_rsi_filter = input.bool(true, title="Filtrar con RSI")
rsi_upper = input.int(70, title="RSI Sobrecomprado")
rsi_lower = input.int(30, title="RSI Sobrevendido")
// Cálculo de Soportes y Resistencias
highest_high = ta.highest(high, length)
lowest_low = ta.lowest(low, length)
resistance = highest_high
support = lowest_low
// RSI
rsi = ta.rsi(close, rsi_length)
// EMA
ema = ta.ema(close, ema_length)
// Condiciones de Señales con RSI y EMA
buy_condition = ta.crossover(close, support) and close > ema and (not show_rsi_filter or rsi < rsi_lower)
sell_condition = ta.crossunder(close, resistance) and close < ema and (not show_rsi_filter or rsi > rsi_upper)
// Mostrar Soportes y Resistencias
if show_sr
line.new(bar_index , resistance, bar_index , resistance, color=color.red, width=2, style=line.style_dotted, extend=extend.right)
line.new(bar_index , support, bar_index , support, color=color.green, width=2, style=line.style_dotted, extend=extend.right)
// Mostrar Señales en el Gráfico
plotshape(buy_condition, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, title="Buy Signal")
plotshape(sell_condition, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.small, title="Sell Signal")
// Dibujar el EMA
plot(ema, color=color.blue, title="EMA")
// Alertas
alertcondition(buy_condition, title="Compra", message="¡Señal de compra detectada!")
alertcondition(sell_condition, title="Venta", message="¡Señal de venta detectada!")
// RSI Panel
hline(70, "RSI Overbought", color=color.red)
hline(30, "RSI Oversold", color=color.green)
plot(rsi, title="RSI", color=color.orange)
Indicatori e strategie
Richs Market StructureThis Pine Script indicator, "Last Bullish High & Lowest Low Tracker with Timeframe Background and Fill", is designed to visually track bullish and bearish trends based on price action on the current chart and a user-defined timeframe. It provides dynamic line plotting, area fills, and background coloring to represent trend alignment between the current chart and the selected timeframe.
Features and Functionalities
Tracks Bullish Highs and Bearish Lows:
The script identifies:
Bullish High: The highest price reached after a bullish (green) candle.
Bearish Low: The lowest price reached after a bearish (red) candle.
It dynamically updates these levels based on the price movements.
Line Plotting:
Current Chart Lines:
The Plotted Bullish High line (green/red) indicates the last bullish high.
The Lowest Low line (green/red) indicates the last bearish low.
Selected Timeframe Lines:
A separate set of lines is plotted for the user-defined timeframe (e.g., daily, weekly):
A Bullish High Line for the selected timeframe (lighter green).
A Lowest Low Line for the selected timeframe (lighter red).
Dynamic Area Fills:
The area between the Plotted Bullish High and Lowest Low is filled:
Green Fill: When both lines are green (indicating a bullish alignment).
Red Fill: When both lines are red (indicating a bearish alignment).
For the selected timeframe:
The area between the timeframe-specific Bullish High and Lowest Low is similarly filled with lighter colors.
Background Color Based on Timeframe Alignment:
The background color represents the trend alignment on the selected timeframe:
Green Background: When the timeframe’s Bullish High is rising and Lowest Low is rising (bullish trend).
Red Background: When the timeframe’s Bullish High is falling and Lowest Low is falling (bearish trend).
What It’s For
This indicator is designed for traders who want to:
Visualize Trends Across Timeframes:
It helps identify when the current chart’s trend aligns with a higher timeframe trend (e.g., daily, weekly).
Useful for multi-timeframe analysis.
Spot Bullish and Bearish Trends:
The color-coded lines and fills clearly show the dominant trend on both the current chart and the selected timeframe.
Plan Trades Based on Trend Alignment:
When the current chart and selected timeframe show the same trend:
Both lines and fills turn green (bullish).
Both lines and fills turn red (bearish).
This alignment is a potential signal for entering long or short trades.
Identify Reversals and Divergences:
Divergence between the current chart and timeframe trends (e.g., green on one, red on the other) may indicate trend weakening or reversal.
Visual Elements
Lines:
Solid lines (current chart): Represent the Plotted Bullish High and Lowest Low.
Dashed/lighter lines (selected timeframe): Represent the timeframe-specific Bullish High and Lowest Low.
Fills:
Green/Red fills highlight trend zones:
On the current chart (darker).
On the selected timeframe (lighter).
Background:
The entire chart background turns green or red based on the selected timeframe’s trend alignment.
Summary
This indicator is ideal for traders who want a clear visual representation of price trends and multi-timeframe alignment. It simplifies trend-following strategies by providing:
Easy-to-interpret fills and background colors.
Clear bullish and bearish zones.
Multi-timeframe trend confirmation.
Overlay CME Futures Chart(any currency, btc eth...)1st version:
Quick script to show CME chart on top of your current currency
in addition with "Bitcoin CME Gaps "
EMA 34+10Features:
Customizable Lengths: Default values are 10 and 34, but you can adjust them in the settings.
Customizable Colors: You can select any color for the EMAs from the settings.
Overlay on Chart: The EMAs are plotted directly on the price chart.
How to Use:
Copy the script into TradingView's Pine Editor.
Click "Add to Chart" after saving.
Customize the lengths and colors as needed from the settings gear icon.
Let me know if you need further customizations!
Gaps and VWAP Algo v2Description:
Overview: The "Gaps and VWAP Algo v2" is a versatile and powerful indicator designed to enhance your trading analysis. This script helps traders identify gaps in the price chart that need to be filled, highlight trend zones, and calculate momentum indicators. It also includes a customizable info bar for quick trend analysis.
Key Features:
Gap Detection: Automatically identifies gaps in the chart based on a customizable threshold percentage.
VWAP Plot: Includes VWAP (Volume Weighted Average Price) for tracking intraday price movement relative to volume.
Momentum Indicators: Incorporates RSI, MACD, and momentum to analyze price strength and trend direction.
Trend Zones: Highlights bullish and bearish zones on the chart for better visualization.
Info Bar: Displays key market information like trend, RSI, MACD, momentum, VWAP, and volume in the top-right corner of your chart.
How It Works:
Gaps: Detects price gaps based on the gap threshold input. Labels "Gap Up" and "Gap Down" are added to the chart for clarity.
VWAP: Tracks the VWAP line with customizable display options.
Trend Detection: Uses EMA crossovers (fast and slow) to determine whether the market is bullish, bearish, or neutral.
Info Bar: Dynamically updates in the top-right corner, providing an easy-to-read summary of key metrics.
Customization Options:
Adjust the gap threshold, momentum period, and EMA periods to fit your trading style.
Turn on/off various features like VWAP, trend zones, gaps, and the info bar.
Change chart colors to suit your preference.
How to Use:
Add this indicator to your chart.
Enable the features you want (e.g., gaps, trend zones, info bar) via the settings.
Use the info bar for quick insights or analyze the chart to identify gaps and trend zones.
Originality: This script integrates gap detection, momentum tracking, and visual trend analysis into a single, streamlined tool. The info bar enhances usability by consolidating critical data in one place. It's a unique blend of essential trading tools designed to simplify your analysis process.
Compliance Checklist:
Language: The title and description are in English, adhering to TradingView's rules.
Originality and Usefulness: The script combines multiple features into a single tool with a detailed explanation of how they work together. It provides clear value to traders.
Title: The title is clean, in English, and uses only standard characters.
Description: The description explains the script's functionality, originality, and usage in detail.
Chart: Publish the script with a clean chart that demonstrates the gaps, VWAP, and the info bar in the top-right corner.
Realistic Claims: The description does not make any unsubstantiated claims about performance.
No Plagiarism: Ensure the code credits any reused open-source code appropriately in the description.
Final Steps:
Credit any reused code: If your script uses snippets of open-source code from others, mention it in the description (e.g., "This script includes modifications of open-source code for VWAP calculations.").
Review the Chart Setup: Before publishing, add the script to a clean chart that showcases its features and usability.
Set the Script to Public or Private: Choose based on whether you want it to be visible to the community or only shared privately.
Follow the Publishing Flow: When ready to publish, use the "Publish Script" option in the Pine Editor. Add the title, description, and any necessary tags.
VWAP-H-L-RSI-IWDVWAP High Low with RSI it will help the Traders to find an Entry and Exit on EQUITY and INTRADAY on 3minute Time Frame
Position Sizing Calculator//Credit to Trader-Shah for laying the groundwork in their Position Size Tool//
I had to make the following modifications to make it relevant to my process:
1. Lowering the risk percentage per trade to be able to be <1% of portfolio risk per trade
2. Focus on LoD (low of day) and manual entries
3. Focus on $ position size, # of shares needed to purchase, and the position % size based on your portfolio
4. 3 auto-populated stops based on the manual stop loss line, where it indicates how many shares and $ need to be sold at stop 1, stop 2, and stop 3.
Example if you were to purchase a stock at $10 and have a manual stop at $5, this will tell you how much $ or shares to purchase of the stock based on your risk appetite, and then tell you exactly how much to sell at S1, S2, and S3.
Hope this is helpful.
-aTOMIC
Monthly ETF Indicatortestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertestertester
VIX Fix con Alarma bv596vix fix con alarma +28 para poder comprar cuando el vix supera los 29 puntos en una tendencia alcista del ticker, accion o crypto
ideal para tendencias alcistas
EMA CloudsThe EMA Clouds indicator is a visually dynamic tool that overlays exponential moving averages (EMAs) on your chart, enhancing trend analysis and decision-making. It provides:
1. Customizable EMA Periods: Users can define up to four EMA periods, allowing flexibility to adapt to various trading strategies and timeframes.
2. Cloud Visualization:
- Green and Red Clouds: Represent the relationship between the faster EMAs (e.g., EMA 1 and EMA 2) to identify short-term trends.
- Blue and Orange Clouds: Represent the relationship between the slower EMAs (e.g., EMA 3 and EMA 4) to highlight longer-term trends.
3. Transparency: Clouds are semi-transparent (75% opacity), ensuring they don't obstruct the underlying price action while providing clear visual cues.
4. Trend Identification:
- Green Clouds indicate bullish momentum (faster EMA above slower EMA).
- Red Clouds signal bearish momentum (faster EMA below slower EMA).
- Blue Clouds and Orange Clouds provide similar signals for the slower EMA pairs, assisting in aligning short- and long-term trends.
This indicator is ideal for traders seeking to enhance their trend-following strategies or identify potential reversals by observing the interaction between multiple EMAs. The cloud-based approach ensures a more intuitive understanding of market dynamics.
vika //@version=5
indicator("Auto Anchored Moving Average", "Anchored MA", overlay = true, max_bars_back = 5000, max_lines_count = 500)
// Inputs
auto = input.bool(true, "Enable Auto Anchor")
anchor = input.timeframe('D', 'Anchor Period')
source = input(hlc3, "Source")
showPP = input.bool(true, "Show Prev. Period MA")
highlightAnc = input.bool(true, "Highlight Anchor Change")
wma_show = input.bool(true, "WMA", inline = "WMA", group = "Styles")
sma_show = input.bool(true, "SMA", inline = "SMA", group = "Styles")
vwap_show = input.bool(true, "VWAP", inline = "VWAP", group = "Styles")
wma_style = input.string("──────", "", options = , inline = "WMA", group = "Styles")
sma_style = input.string("──────", "", options = , inline = "SMA", group = "Styles")
vwap_style = input.string("──────", "", options = , inline = "VWAP", group = "Styles")
wma_color = input.color(color.lime, "WMA Color", inline = "WMA", group = "Styles")
sma_color = input.color(color.red, "SMA Color", inline = "SMA", group = "Styles")
vwap_color = input.color(color.blue, "VWAP Color", inline = "VWAP", group = "Styles")
// Determine anchor period automatically
autoAnchor = switch
timeframe.isintraday => timeframe.multiplier <= 15 ? "1D" : "1W"
timeframe.isdaily => "1M"
=> "12M"
// Override auto-anchor if 'auto' is off
if auto
anchor := autoAnchor
// Anchor change detection
isNewAnchor = timeframe.change(anchor)
var length = 1
length := isNewAnchor ? 1 : length + 1
// Calculate MAs
wma = ta.wma(source, length)
sma = ta.sma(source, length)
vwap = nz(ta.vwma(source, length))
// Previous MAs (for prev period plot)
p_wma = ta.valuewhen(isNewAnchor, wma , 0)
p_sma = ta.valuewhen(isNewAnchor, sma , 0)
p_vwap = ta.valuewhen(isNewAnchor, vwap , 0)
// Plot styles
get_style(style) =>
switch style
"──────" => line.style_solid
"─ ─ ─ ─" => line.style_dashed
"· · · · ·" => line.style_dotted
// Draw moving averages
draw(show, ma, _c, style) =>
var line _l = na
var label _lb = na
var label _lbc = na
_l.set_x2(bar_index)
if show and isNewAnchor and showPP
_l := line.new(bar_index - 1, ma , bar_index, ma , color = _c, style = style)
show = not isNewAnchor
plot(show and wma_show ? wma : na, "WMA", wma_color, style=plot.style_linebr)
plot(show and sma_show ? sma : na, "SMA", sma_color, style=plot.style_linebr)
plot(show and vwap_show ? vwap : na, "VWAP", vwap_color, style=plot.style_linebr)
// Highlight anchor change
hlight = isNewAnchor and highlightAnc
plotshape(hlight and wma_show ? wma : na, 'WMA Highlight', shape.circle, location.absolute, color.new(wma_color, 50), -1)
plotshape(hlight and sma_show ? sma : na, 'SMA Highlight', shape.circle, location.absolute, color.new(sma_color, 50), -1)
plotshape(hlight and vwap_show ? vwap : na, 'VWAP Highlight', shape.circle, location.absolute, color.new(vwap_color, 50), -1)
// Draw lines for each moving average
draw(wma_show, wma, wma_color, get_style(wma_style))
draw(sma_show, sma, sma_color, get_style(sma_style))
draw(vwap_show, vwap, vwap_color, get_style(vwap_style))
Abstract Moving Averages
This combination of multiple types of MovingAverages shows the market's tendency to Trend or Range without any delay, making it particularly effective at predicting potential market volatility. This can be used for immediate direction bias or long term market shifts. As with any indicator it alone doesn't provide precise entries, it needs to be used in combination with a strategy.
Some details: use the 200MA(pink line) as the short term bias. Remove 500SMMA depending on strategy because it may cause issues. There is a session display tool, as a quality of life improvement.
Moving Averages used:
SMMA-1, length 500
MA-1, length 800
MA-2, length 500
MA-3, length 400
MA-4, length 250
MA-5, length 200
EMA-1, length 800
EMA-2, length 400
EMA-3, length 300
ScriptEssentialScript of essential data
This script plots basic trading data such as exponential moving average, average true range, etc.
MM20 & MM50Moyenne Mobile 20
Moyenne Mobile 50
Les deux moyennes mobiles réuni en un script
FX:EURUSD FX:USDJPY FX:GBPUSD OANDA:GBPJPY FX:AUDUSD FX:USDCAD FX:EURJPY
MA 10/50/100/200Four Simple averages combined. This function enable users to use the SMA 10, 50, 100, and 200 in one single formula.
Candlestick Strength and Volatility ReadoutDisplays a readout on the top right corner of the screen displaying a two basic calculations (volatility and strength; i.e. candlestick size and how close to the highs or lows it closed) for more convenient candlestick (price action) analysis.
Due to restrictions with Pine Script (or my knowledge thereof) only the current and previous candlestick data is shown, rather than the one currently hovered over.
The data is derived via two simple calculations; volatility being division between the range of the candlestick's high and low by the ATR; 'strength' (what I like to call it) being the range of the body by the range of the open to high or low, depending on the facing direction (positive or negative candlestick). These are expressed as percentages and will turn green depending on the set threshold.
Using this, one can effectively automate calculations you'd have to do by hand otherwise. I personally use these as entry filters in my trading, so it helps to not have to measure, remeasure, and divide before each potential entry.
Settings are implemented to change certain variables to your liking.
Trend Flow Line (TFL)The Trend Flow Line (TFL) is a versatile moving average indicator that dynamically adjusts to trends using a combination of Hull and Weighted Moving Averages, with optional color coding for bullish and bearish trends.
Introduction
The Trend Flow Line (TFL) is a powerful indicator designed to help traders identify and follow market trends with precision. It combines multiple moving average techniques to create a responsive yet smooth trendline. Whether you're a beginner or an experienced trader, the TFL can enhance your chart analysis by highlighting key price movements and trends.
Detailed Description
The Trend Flow Line (TFL) goes beyond traditional moving averages by leveraging a hybrid approach to calculate trends.
Here's how it works:
.........
Combination of Hull and Weighted Moving Averages
The TFL integrates the Hull Moving Average (HMA), known for its fast responsiveness, and the Double Weighted Moving Average (DWMA), which offers smooth transitions.
The HMA is adjusted dynamically based on the user-defined length, ensuring adaptability to various trading styles and timeframes.
.....
Dynamic Smoothing
The TFL calculates its value by averaging the HMA and DWMA, creating a balanced line that responds to market fluctuations without excessive noise.
This balance makes it ideal for identifying both short-term reversals and long-term trends.
.....
Customizable Features
Timeframe: Analyze the indicator on custom timeframes, independent of the chart's current timeframe.
Color Coding: Optional color settings visually differentiate bullish (uptrend) and bearish (downtrend) phases.
Line Width: Adjust the line thickness to suit your chart preferences.
Color Smoothness: Fine-tune how quickly the color changes to reflect trend shifts, providing a visual cue for potential reversals.
The TFL's algorithm ensures a blend of precision and adaptability, making it suitable for any market or trading strategy.
.........
The Trend Flow Line (TFL) is an essential tool for traders looking to stay ahead of market trends while maintaining a clear and visually intuitive charting experience. It combines HMA and DWMA for trend sensitivity and smoothness.
MarketStructureLibrary "MarketStructure"
Will draw out the market structure for the disired pivot length. The code is from my indicator "Marker structure" ().
Create(type, length, source, equalPivotsFactor, extendEqualPivotsZones, equalPivotsStyle, equalPivotsColor, alertFrequency)
Call on each bar. Will create a Structure object.
Parameters:
type (int) : the type of the Structure to create. 0 = internal, 1 = swing.
length (int) : The lenghts (left and right) for pivots to use.
source (string) : The source to be used for structural changes ('Close', 'High/low (aggresive)' (low in an uptrend) or 'High/low (passive)' (high in an uptrend)).
equalPivotsFactor (float) : Set how the limits are for an equal pivot. This is a factor of the Average True Length (ATR) of length 14. If a low pivot is considered to be equal if it doesn't break the low pivot (is at a lower value) and is inside the previous low pivot + this limit.
extendEqualPivotsZones (bool) : Set to true if you want the equal pivots zones to be extended.
equalPivotsStyle (string) : Set the style of equal pivot zones.
equalPivotsColor (color) : Set the color of equal pivot zones.
alertFrequency (string)
Returns: The 'structure' object.
Pivot(structure)
Sets the pivots in the structure.
Parameters:
structure (Structure)
Returns: The 'structure' object.
PivotLabels(structure)
Draws labels for the pivots found.
Parameters:
structure (Structure)
Returns: The 'structure' object.
EqualHighOrLow(structure)
Draws the boxsa for equal highs/lows. Also creates labels for the pivots included.
Parameters:
structure (Structure)
Returns: The 'structure' object.
BreakOfStructure(structure)
Will create lines when a break of strycture occures.
Parameters:
structure (Structure)
Returns: The 'structure' object.
ChangeOfCharacter(structure)
Will create lines when a change of character occures.
Parameters:
structure (Structure)
Returns: The 'structure' object.
StructureBreak
Holds drawings for a structure break.
Fields:
Line (series line) : The line object.
Label (series label) : The label object.
Pivot
Holds all the values for a found pivot.
Fields:
Price (series float) : The price of the pivot.
BarIndex (series int) : The bar_index where the pivot occured.
Type (series int) : The type of the pivot (-1 = low, 1 = high).
ChangeOfCharacterBroken (series bool) : Sets to true if a change of character has happened.
BreakOfStructureBroken (series bool) : Sets to true if a break of structure has happened.
Structure
Holds all the values for the market structure.
Fields:
Length (series int) : Define the left and right lengths of the pivots used.
Type (series int) : Set the type of the market structure. Two types can be used, 'internal' and 'swing' (0 = internal, 1 = swing).
Trend (series int) : This will be set internally and can be -1 = downtrend, 1 = uptrend.
Source (series string) : Set the source for structural chandeg. Can be 'Close', 'High/low (aggresive)' (low in an uptrend) or 'High/low (passive)' (high in an uptrend).
EqualPivotsFactor (series float) : Set how the limits are for an equal pivot. This is a factor of the Average True Length (ATR) of length 14. If a low pivot is considered to be equal if it doesn't break the low pivot (is at a lower value) and is inside the previous low pivot + this limit.
ExtendEqualPivotsZones (series bool) : Set to true if you want the equal pivots zones to be extended.
ExtendEqualPivotsStyle (series string) : Set the style of equal pivot zones.
ExtendEqualPivotsColor (series color) : Set the color of equal pivot zones.
EqualHighs (array) : Holds the boxes for zones that contains equal highs.
EqualLows (array) : Holds the boxes for zones that contains equal lows.
BreakOfStructures (array) : Holds all the break of structures within the trend (before a change of character).
Pivots (array) : All the pivots in the current trend, added with the latest first, this is cleared when the trend changes.
AlertFrequency (series string) : set the frequency for alerts.
Daily PlayDaily Play Indicator
The Daily Play Indicator is a clean and versatile tool designed to help traders organize and execute their daily trading plan directly on their charts. This indicator simplifies your workflow by visually displaying key inputs like market trend, directional bias, and key levels, making it easier to focus on your trading strategy.
Features
Dropdown Selection for Trend and Bias:
• Set the overall market trend (Bullish, Bearish, or Neutral) and your directional bias (Long, Short, or Neutral) using intuitive dropdown menus. No more manual typing or guesswork!
Key Levels:
Quickly input and display the Previous Day High and Previous Day Low. These levels are essential for many trading strategies, such as breakouts.
Real-Time News Notes:
Add a quick note about impactful news or market events (e.g., “Fed meeting today” or “Earnings season”) to keep contextual awareness while trading.
Simple On-Chart Display:
The indicator creates a “table-like” structure on the chart, aligning your inputs in an easy-to-read format. The data is positioned dynamically so it doesn’t obstruct the price action.
Customisable Visual Style:
Simple labels with clear text to ensure that your chart remains neat and tidy.
----
Use Case
The Daily Play Indicator is ideal for:
• Day traders and scalpers who rely on precise planning and real-time execution.
• Swing traders looking to mark critical levels and develop a trade plan before the session begins.
• Anyone who needs a structured way to stay focused and disciplined during volatile market conditions.
By integrating this tool into your workflow, you can easily align your daily preparation with live market action.
----
How to Use
Open the indicator settings to configure your inputs:
• Trend: Use the dropdown to choose between Bullish, Bearish, or Neutral.
• Bias: Select Long, Short, or Neutral to align your personal bias with the market.
• Previous Day Levels: Enter the High and Low of the previous trading session for key reference points.
• News: Add a short description of any relevant market-moving events.
Relative Momentum StrengthThe Relative Momentum Strength (RMS) indicator is designed to help traders and investors identify tokens with the strongest momentum over two customizable timeframes. It calculates and plots the percentage price change over 30-day and 90-day periods (or user-defined periods) to evaluate a token's relative performance.
30-Day Momentum (Green Line): Short-term price momentum, highlighting recent trends and movements.
90-Day Momentum (Blue Line): Medium-term price momentum, providing insights into broader trends.
This tool is ideal for comparing multiple tokens or assets to identify those showing consistent strength or weakness. Use it to spot outperformers and potential reversals in a competitive universe of assets.
How to Use:
Apply this indicator to your TradingView chart for any token or asset.
Look for tokens with consistently high positive momentum for potential strength.
Use the plotted values to compare relative performance across your watchlist.
Customization:
Adjust the momentum periods to suit your trading strategy.
Overlay it with other indicators like RSI or volume for deeper analysis.
Bostian Intraday Intensity Index (BII)The Bostian Intraday Intensity Index (BII) is a metric used to analyze the trading volume and price movements of a specific stock or asset, measuring the strength and pressure of the market. BII captures buy and sell signals by examining the relationship between trading volume and price fluctuations. Below is an explanation of the key components and calculation method for BII:
○ BII Formula:
sum(V*((C-L)^2-(H-C)^2))/(H-L)))
V (Volume): Trading volume
C (Close): Closing price
L (Low): Lowest price
H (High): Highest price
○ Meaning of the Indicator:
Positive Values: When BII is positive, it indicates strong buying pressure. The closer the closing price is to the high, the stronger the buying pressure.
Negative Values: When BII is negative, it indicates strong selling pressure. The closer the closing price is to the low, the stronger the selling pressure.
○ How to Use:
Buy Signal: When the BII value is positive and trending upwards, it may be considered a buying opportunity.
Sell Signal: When the BII value is negative and trending downwards, it may be considered a selling opportunity.
The BII indicator is useful for analyzing the strength and pressure of the market through the correlation of price movements and trading volume. It helps investors capture buy and sell signals to make better investment decisions.