Pump & Dump Detector (sensitive)📊 Pump & Dump Detector — Volatility & Volume-Based Impulse Scanner
Description:
This indicator is designed to detect early and confirmed signs of high-impact market movements, such as pumps (sharp price increases) and dumps (sharp price drops). It intelligently combines multiple market signals to provide timely alerts of potential momentum spikes.
🔧 Components & Logic:
1. Price Change (%):
Compares the current closing price to the previous one. This is used as the main trigger for confirmed pump or dump detection.
2. Volume Spike:
Detects abnormal activity by comparing the current volume to the moving average over a user-defined period. If the current volume exceeds the average by a specified multiplier (default: 1.8x), a spike is detected.
3. Volatility Spike (High - Low):
Measures bar expansion. A sudden increase in bar range often indicates breakout conditions or liquidation events.
4. NATR (Normalized ATR):
Normalized Average True Range is calculated as (ATR / Close) * 100, making volatility comparable across all timeframes and instruments.
5. Min Volume Filter:
Filters out signals from low-liquidity coins to reduce false alerts and market noise.
🧠 Why It’s Useful:
This is not a mashup of random indicators, but a thoughtfully engineered system where each filter strengthens the signal validity.
It allows you to spot explosive moves before they fully unfold, making it ideal for:
Intraday scalping
Altcoin watchlists
Flash crash detection
Early reversal or breakout trades
🖥 How to Use:
Add the indicator to any crypto chart.
Enable alerts for:
🚨 Early Pump
💥 Confirmed Pump
🔻 Early Dump
🔥 Confirmed Dump
React to confirmed signals using your preferred strategy — breakout, fade, or continuation.
Use in combination with key levels, orderbook data, or trend filters for best results.
📌 Example Use Case:
On a 5-minute chart of a low-cap altcoin, the indicator may issue an early signal when:
Price increases by more than 2.5%
Volume is 2x the average
Bar range is significantly larger than the recent average
NATR is above its smoothed average × 1.2
🛡 Originality & Purpose:
This script was not built to simply combine popular indicators, but to serve a very specific use-case — detecting early-stage pumps and dumps.
By blending classic tools (like volume, ATR) with contextual filters, it becomes a true pattern-based predictive signal, not a repackaged overlay.
💬 Have ideas or suggestions? Leave a comment below — I’m always open to collaboration!
Penunjuk dan strategi
Giant Candles DetectorThis script identifies abnormally large candles — also known as "giant candles" — based on a customizable size threshold relative to the average candle size over a user-defined period.
Key Features:
Automatically detects candles that are significantly larger than average.
Differentiates between bullish (green) and bearish (red) candles.
Option to visually highlight candles with background color.
Built-in alert to notify you immediately when a giant candle appears.
Ideal for traders looking to spot volatility spikes, key breakouts, or significant price movements with minimal effort.
Advanced Multi-Symbol Analyzer by Babak SoltanparastAdvanced Multi-Symbol Analyzer by Babak Soltanparast
Nasdaq CorrelationThe indicator presents correlation values ranging from -1 to +1. Positive values (green) indicate that the assets tend to move in the same direction, while negative values (red) suggest opposite movements. A value near zero indicates little to no correlation.
Settings:
Correlation Period: Number of bars used in calculation
Index Ticker: Symbol for the index ("SPX" for S&P500, "NDX" for Nasdaq)
Price Type: Which price data to use (close, open, high, low, etc.)
Return Type: Method for calculating returns (simple or logarithmic)
HarmonicMapLibLibrary "HarmonicMapLib"
Harmonic Pattern Library implementation utilising maps
method tostring(this)
convert Range value to string
Namespace types: Range
Parameters:
this (Range) : Range value
Returns: converted string representation
method tostring(this)
convert array of Range value to string
Namespace types: array
Parameters:
this (array) : array object
Returns: converted string representation
method tostring(this)
convert map of string to Range value to string
Namespace types: map
Parameters:
this (map) : map object
Returns: converted string representation
method tostring(this)
convert RatioMap to string
Namespace types: RatioMap
Parameters:
this (RatioMap) : RatioMap object
Returns: converted string representation
method tostring(this)
convert array of RatioMap to string
Namespace types: array
Parameters:
this (array) : array object
Returns: converted string representation
method tostring(this)
convert map of string to RatioMap to string
Namespace types: map
Parameters:
this (map) : map object
Returns: converted string representation
method tostring(this)
convert map of string to bool to string
Namespace types: map
Parameters:
this (map) : map object
Returns: converted string representation
method tostring(this)
convert PrzRange to string
Namespace types: PrzRange
Parameters:
this (PrzRange) : PrzRange object
Returns: converted string representation
method tostring(this)
convert array of PrzRange to string
Namespace types: array
Parameters:
this (array) : array object
Returns: converted string representation
getHarmonicMap()
Creates the RatioMap for harmonic patterns
Returns: map haronic ratio rules for all patterns
method evaluate(patternsMap, pattern, ratioRange, properties, ratioValue)
evaluates harmonic ratio range
Namespace types: map
Parameters:
patternsMap (map) : parameter containing valid pattern names
pattern (string) : Pattern type to be evaluated
ratioRange (Range) : ratio range to be checked
properties (ScanProperties) : Scan Properties
ratioValue (float)
Returns: void
method evaluate(przRange, pattern, ratioRange, priceRange, properties)
Evaluate PRZ ranges
Namespace types: map
Parameters:
przRange (map)
pattern (string) : Pattern name
ratioRange (Range) : Range of ratio for the pattern
priceRange (Range) : Price range based on ratio
properties (ScanProperties) : ScanProperties object
Returns: void
method scanRatio(currentPatterns, rules, properties, ratioName, ratioValue)
Scan for particular named ratio of harmonic pattern to filter valid patterns
Namespace types: map
Parameters:
currentPatterns (map) : Current valid patterns map
rules (map) : map Harmonic ratio rules
properties (ScanProperties) : ScanProperties object
ratioName (string) : Specific ratio name
ratioValue (float) : ratio value to be checked
Returns: updated currentPatterns object
method scanPatterns(patterns, x, a, b, c, d, properties)
Scan for patterns based on X, A, B, C, D values
Namespace types: map
Parameters:
patterns (map) : List of allowed patterns
x (float) : X coordinate
a (float) : A coordinate
b (float) : B coordinate
c (float) : C coordinate
d (float) : D coordinate
properties (ScanProperties) : ScanProperties object. If na, default values are initialised
Returns: updated valid patterns map
method scanProjections(patterns, x, a, b, c, properties)
Scan for projections based on X, A, B, C values
Namespace types: map
Parameters:
patterns (map) : List of allowed patterns
x (float) : X coordinate
a (float) : A coordinate
b (float) : B coordinate
c (float) : C coordinate
properties (ScanProperties) : ScanProperties object. If na, default values are initialised
Returns: updated valid projections map
method merge(this, other)
merge two ranges into one
Namespace types: Range
Parameters:
this (Range) : first range
other (Range) : second range
Returns: combined range
method union(this, other)
union of two ranges into one
Namespace types: Range
Parameters:
this (Range) : first range
other (Range) : second range
Returns: union range
method overlaps(this, other)
checks if two ranges intersect
Namespace types: Range
Parameters:
this (Range) : first range
other (Range) : second range
Returns: true if intersects, false otherwise
method consolidate(this)
Consolidate ranges into PRZ
Namespace types: map
Parameters:
this (map) : map of Ranges
Returns: consolidated PRZ
method consolidateMany(this)
Consolidate ranges into multiple PRZ ranges
Namespace types: map
Parameters:
this (map) : map of Ranges
Returns: consolidated array of PRZ ranges
method getRange(currentPatterns, x, a, b, c, properties)
Get D range based on X, A, B, C coordinates for the current patterns
Namespace types: map
Parameters:
currentPatterns (map) : List of valid patterns
x (float) : X coordinate
a (float) : A coordinate
b (float) : B coordinate
c (float) : C coordinate
properties (ScanProperties) : ScanProperties object. If na, default values are initialised
Returns: map of D ranges
method getPrzRange(currentPatterns, x, a, b, c, properties)
Get PRZ range based on X, A, B, C coordinates for the current patterns
Namespace types: map
Parameters:
currentPatterns (map) : List of valid patterns
x (float) : X coordinate
a (float) : A coordinate
b (float) : B coordinate
c (float) : C coordinate
properties (ScanProperties) : ScanProperties object. If na, default values are initialised
Returns: PRZRange for the pattern
method getProjectionRanges(currentPatterns, x, a, b, c, properties)
Get projection range based on X, A, B, C coordinates for the current patterns
Namespace types: map
Parameters:
currentPatterns (map) : List of valid patterns
x (float) : X coordinate
a (float) : A coordinate
b (float) : B coordinate
c (float) : C coordinate
properties (ScanProperties) : ScanProperties object. If na, default values are initialised
Returns: array of projection ranges
Range
Collection of range values
Fields:
values (array) : array of float values
RatioMap
ratio map for pattern
Fields:
ratioMap (map) : map of string to Range (array of float)
ScanProperties
Pattern Scanning properties
Fields:
strictMode (series bool) : strict scanning mode will check for overflows
logScale (series bool) : scan ratios in log scale
errorMin (series float) : min error threshold
errorMax (series float)
mintick (series float) : minimum tick value of price
PrzRange
Potential reversal zone range
Fields:
patterns (array) : array of pattern names for the given XABCD combination
prz (Range) : PRZ range
Probability Grid [LuxAlgo]The Probability Grid tool allows traders to see the probability of where and when the next reversal would occur, it displays a 10x10 grid and/or dashboard with the probability of the next reversal occurring beyond each cell or within each cell.
🔶 USAGE
By default, the tool displays deciles (percentiles from 0 to 90), users can enable, disable and modify each percentile, but two of them must always be enabled or the tool will display an error message alerting of it.
The use of the tool is quite simple, as shown in the chart above, the further the price moves on the grid, the higher the probability of a reversal.
In this case, the reversal took place on the cell with a probability of 9%, which means that there is a probability of 91% within the square defined by the last reversal and this cell.
🔹 Grid vs Dashboard
The tool can display a grid starting from the last reversal and/or a dashboard at three predefined locations, as shown in the chart above.
🔶 DETAILS
🔹 Raw Data vs Normalized Data
By default the tool displays the normalized data, this means that instead of using the raw data (price delta between reversals) it uses the returns between each reversal, this is useful to make an apples to apples comparison of all the data in the dataset.
This can be seen in the left side of the chart above (BTCUSD Daily chart) where normalize data is disabled, the percentiles from 0 to 40 overlap and are indistinguishable from each other because the tool uses the raw price delta over the entire bitcoin history, with normalize data enabled as we can see in the right side of the chart we can have a fair comparison of the data over the entire history.
🔹 Probability Beyond or Within Each Cell
Two different probability modes are available, the default mode is Probability Beyond Each Cell, the number displayed in each cell is the probability of the next reversal to be located in the area beyond the cell, for example, if the cell displays 20%, it means that in the area formed by the square starting from the last reversal and ending at the cell, there is an 80% probability and outside that square there is a 20% probability for the location of the next reversal.
The second probability mode is the probability within each cell, this outlines the chance that the next reversal will be within the cell, as we can see on the right chart above, when using deciles as percentiles (default settings), each cell has the same 1% probability for the 10x10 grid.
🔶 SETTINGS
Swing Length: The maximum length in bars used to identify a swing
Maximum Reversals: Maximum number of reversals included in calculations
Normalize Data: Use returns between swings instead of raw price
Probability: Choose between two different probability modes: beyond and inside each cell
Percentiles: Enable/disable each of the ten percentiles and select the percentile number and line style
🔹 Dashboard
Show Dashboard: Enable or disable the dashboard
Position: Choose dashboard location
Size: Choose dashboard size
🔹 Style
Show Grid: Enable or disable the grid
Size: Choose grid text size
Colors: Choose grid background colors
Show Marks: Enable/disable reversal markers
datastructuresLibrary "datastructures"
Collection of complex data structures not generally present as part of pinescript and can be used for collection and transformation of the data
method init(this)
initialise StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet to be initialised
Returns: current object of StringSet
method add(this, value)
add value to StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
@value the key of stringset to be set
value (string)
Returns: current object of StringSet
method clear(this)
clear StringSet contents
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
Returns: current object of StringSet
method remove(this, value)
remove value from StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
@value the key of stringset to be removed
value (string)
Returns: current object of StringSet
method size(this)
get size of the StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
Returns: size of StringSet map
method isEmpty(this)
check if stringset is empty
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
Returns: true if empty else returns false
method iterator(this)
get values of the StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
Returns: values of StringSet
method contains(this, value)
check if value is present in StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
value (string)
Returns: true if Value is present. False otherwise
method initialiseCountMap(types, numberOfStates)
Initialise a new map of string to Count
Namespace types: array
Parameters:
types (array) : array of string containing map keys
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method initialiseCountMap(types, numberOfStates)
Initialise a new map of string to Count
Namespace types: map
Parameters:
types (map) : map containing types and configurable boolean flag
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method get(this, key, n)
get count based on primary string key and secondary int key
Namespace types: map
Parameters:
this (map) : map of string to to Count
key (string) : primary key
n (int) : secondary key
Returns: derived count from map of map
method get(this, key, n)
get array of int associated with key and n
Namespace types: map
Parameters:
this (map) : map of string to to MapToInts
key (string) : primary string key
n (int) : secondary int key
Returns: derived array of int for the given key combination
method get(this, key, n)
get array of float associated with key and n
Namespace types: map
Parameters:
this (map) : map of string to to MapToFloats
key (string) : primary string key
n (int) : secondary int key
Returns: derived array of float
method get(this, key)
get values of Ints based on key
Namespace types: map
Parameters:
this (map) : map of string to Ints
key (string) : string key
Returns: values inside Ints object associated in the map
method set(this, key, n, value)
set count for specific primary and secondary key
Namespace types: map
Parameters:
this (map) : map of string to to Count
key (string) : primary string key
n (int) : secondary int key
value (int) : the new count value to be set
Returns: updated value for key and n
method increment(this, key, n)
increment count for specific primary and secondary key
Namespace types: map
Parameters:
this (map) : map of string to to Count
key (string) : primary string key
n (int) : secondary int key
Returns: incremented value
method increment(this, key, n)
intcrement the value of Ints based on key and n (secondary key)
Namespace types: map
Parameters:
this (map) : map of string to Ints
key (string) : string key
n (int) : secondary int key
Returns: incremented nth object of Ints associated with key
method initialiseIntsMap(types, numberOfStates)
Initialise a new map of string to Map to Ints
Namespace types: array
Parameters:
types (array) : array of string containing map keys
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method initialiseIntsMap(types, numberOfStates)
Initialise a new map of string to Map to Ints
Namespace types: map
Parameters:
types (map) : map with boolean flag
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method initialiseFloatsMap(types, numberOfStates)
Initialise a new map of string to Map to Floats
Namespace types: array
Parameters:
types (array) : array of string containing map keys
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method initialiseFloatsMap(types, numberOfStates)
Initialise a new map of string to Map to Floats
Namespace types: map
Parameters:
types (map) : map with boolean flag
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method initialiseMapOfInts(types, numberOfStates)
Initialise map of two dimentional Ints based on types and number of states
Namespace types: array
Parameters:
types (array) : types array for which a new Map to Ints to be created
numberOfStates (int) : number of states for which the Ints needs to be initialised
Returns: new map of string to two dimension array of int (Ints)
method initialiseMapOfInts(types, numberOfStates)
Initialise map of two dimentional Ints based on types and number of states
Namespace types: map
Parameters:
types (map) : types map for which a new Map to Ints to be created along with bool flag
numberOfStates (int) : number of states for which the Ints needs to be initialised
Returns: new map of string to two dimension array of int (Ints)
StringSet
Set implementation using map
Fields:
strSet (map) : map of string to bool
Count
type containing map of int to int
Fields:
count (map) : map of int to int used for counting
Ints
custom type to enable array of array of int
Fields:
values (array) : int array
Floats
custom type to enable array of array of float
Fields:
values (array) : float array
MapToInts
type containing map of int to int array
Fields:
vmap (map) : map of int to Ints used as counting collection
MapToFloats
type containing map of int to float array
Fields:
vmap (map) : map of int to Floats used as floating stat collection
Global M2 Money Supply // Days Offset =M2 Money Supply - 180 day offset to follow the M2 money supply as it relates to the current bitcoin price and what is possibly expected.
MACD Crossover + AlertMACD Proximity & Crossover Alert Script
This script is designed to help traders stay ahead of MACD crossovers by providing:
Early alerts when the MACD and Signal lines are getting close (within a customizable threshold)
Instant alerts when a bullish or bearish crossover occurs
Whether you're swing trading or scalping, this tool gives you advanced notice to prepare — and a confirmation signal to act on. It works on any timeframe and helps avoid late entries by alerting you when momentum is shifting.
Features:
Customizable MACD settings (fast, slow, signal length)
Adjustable "proximity" threshold
Visual background highlight when lines are close
Built-in alert conditions for:
MACD crossing above Signal (bullish)
MACD crossing below Signal (bearish)
MACD and Signal getting close (early warning)
Perfect for traders who want a heads-up before momentum shifts — not just a reaction afterward.
EMA Crossover Signal (15min)📈 EMA Crossover Signal (15min)
This indicator generates Buy and Sell signals based on a simple yet effective Exponential Moving Average (EMA) crossover strategy, strictly evaluated on the 15-minute timeframe.
✅ Strategy:
Buy Signal: Triggered when the 5 EMA crosses above the 10 EMA.
Sell Signal: Triggered when the 5 EMA crosses below the 10 EMA.
📌 Features:
Signals are evaluated using 15-minute data, regardless of your current chart timeframe.
Clear Buy/Sell labels are displayed directly on the chart.
Optional plotting of the 5 EMA and 10 EMA from the 15-minute chart for visual confirmation.
This tool is ideal for traders who want to follow short-term momentum shifts with high clarity and precision.
Buy/Sell Volume ComparisonKey improvements:
Direct volume comparison: Now shows the current day's volume and previous day's volume side by side
Percentage change display: Clear percentage change with up/down arrows
Table position customization: Added a dropdown menu to select where you want the table to appear
To adjust the table position:
Click on the settings (gear icon) for the indicator after adding it to your chart
You'll see a dropdown menu labeled "Table Position"
Select from options like "Top Right", "Bottom Left", etc.
Click "OK" to apply your changes
This version also handles the case where there's no previous volume data (first bar of the chart) by checking for NA values.
Let me know if this meets your requirements, or if you'd like any other adjustments!RetryClaude does not have the ability to run the code it generates yet.Claude can make mistakes. Please double-check responses.Tip: Long chats cause you to reach your usage limits faster.
Fair Value Gap [SB]SB - Fair Value Gap Indicator
This indicator automatically detects Fair Value Gaps (FVGs) and highlights them on the chart, helping traders identify potential liquidity imbalances. It dynamically marks bullish and bearish FVG zones, allowing for mitigation tracking and real-time alerts when price interacts with these gaps.
🔹 Features:
✅ Automatic FVG Detection – Highlights bullish (green) and bearish (red) FVGs.
✅ Customizable Extension – Extends FVG zones for better visibility (set to 200 or higher for clearer zones).
✅ Multi-Timeframe Support – Apply to any timeframe for deeper analysis.
✅ Mitigation Tracking – Tracks whether an FVG has been mitigated or remains unfilled.
🔧 Settings:
Extend: Default is 20, but set to 200 for clearer FVG zones.
Dynamic Mode: Adjusts FVG zones dynamically as price evolves.
Mitigation Levels: Shows whether price has mitigated an FVG.
Unmitigated Levels: Highlights active, unfilled gaps.
Timeframe Selection: Apply to a custom timeframe of your choice.
Ideal for traders using The Strat, Smart Money Concepts (SMC), or Supply & Demand strategies. 🚀
drawingutilsLibrary "drawingutils"
methods used in my scripts for some basic and customized drawings and arrays.
method line(this, p1, p2, lineColor, style, width, xloc, extend)
Draws line and adds to the array
Namespace types: array
Parameters:
this (array) : array to which the created line needs to be added
p1 (chart.point) : point1 of the line
p2 (chart.point) : point2 of the line
lineColor (color) : line color
style (string) : line style
width (int) : line width
xloc (string) : xloc.bar_index or xloc.bar_time
extend (string) : default is extend.none
Returns: line created
method label(this, p, txt, tooltip, xloc, yloc, color, style, textcolor, size, textalign)
Draws label and adds to the array
Namespace types: array
Parameters:
this (array) : array to which the created label needs to be added
p (chart.point) : point at which the label needs to be drawn
txt (string) : label text
tooltip (string) : tooltip text
xloc (string) : xloc value - xloc.bar_index or xloc.bar_time
yloc (string) : y location of the label
color (color) : label color
style (string) : label style
textcolor (color) : label text color
size (string) : Size of the label
textalign (string) : text alignment
Returns: label created
method linefill(this, ln1, ln2, fillColor, transparency)
Draws linefill and adds to array
Namespace types: array
Parameters:
this (array) : array to which the created linefill needs to be added
ln1 (line) : line1 of the fill
ln2 (line) : line2 of the fill
fillColor (color) : fill Color
transparency (int) : fill transparency
Returns: linefill created
draw_labelled_line(target, lblText, linecolor, labelcolor, index, highlight, linesArray, labelsArray, highlightSize, tinySize, yloc, textalign)
Draws labelled line
Parameters:
target (float) : target price
lblText (string) : label text
linecolor (color) : line color
labelcolor (color) : label color
index (int) : index to calculate the distance offset
highlight (bool) : highlight true/false
linesArray (array) : array of lines where the created line is added
labelsArray (array) : array of labels where the created label is added
highlightSize (string) : Size of highlighted text
tinySize (string) : size of non highlighted text
yloc (string) : y location
textalign (string) : text alignment
Returns: void
draw_labelled_box(y1, y2, labelColor, labelText, index, boxArray, labelArray, borderColor, borderStyle, borderWidth, textAlign, highlight, highLightLabel)
Draws custom labelled box
Parameters:
y1 (float) : price 1 of the box
y2 (float) : price 2 of the box
labelColor (color) : label color
labelText (string) : label text
index (int) : index to calculate the offset distance
boxArray (array) : box array to which the box needs to be added
labelArray (array) : label array to which the label needs to be added
borderColor (color) : border color
borderStyle (string) : border style
borderWidth (int) : border width
textAlign (string) : text align of the label
highlight (bool) : highlight label text
highLightLabel (bool) : highlight label size
Returns: void
Futures Position Size CalculatorFutures Position Size Calculator by vmkhats
Streamline your futures trading risk management with this intuitive Pine Script utility designed for TradingView. Created by vmkhats, this tool automates position sizing calculations for popular futures contracts, ensuring precise risk control while eliminating manual errors.
Key Features:
Supports 15+ Instruments: Trade confidently with preconfigured settings for indices (ES, NQ, RTY), commodities (CL, GC), currencies (6E), and micro contracts (MES, MNQ, MCL).
Customizable Inputs: Set your risk amount (e.g., $1,000) and stop-loss size in points, tailored to your strategy.
Automatic Calculations: The script computes stop-loss size in ticks, risk per contract, and optimal position size using floor rounding to prevent over-leveraging.
Clear Visual Output: A table displays results (instrument, risk, stop size, contracts) with color-coded alerts for invalid configurations (e.g., zero position size).
Ideal for both novice and seasoned traders, this utility enforces disciplined risk management while saving time. Enhance your TradingView workspace with this essential tool and trade futures with confidence.
Created by vmkhats — ensuring traders stay precise, proactive, and risk-aware.
Futures Position Size CalculatorFutures Position Size Calculator by vmkhats
Streamline your futures trading risk management with this intuitive Pine Script utility designed for TradingView. Created by vmkhats, this tool automates position sizing calculations for popular futures contracts, ensuring precise risk control while eliminating manual errors.
Key Features:
Supports 15+ Instruments: Trade confidently with preconfigured settings for indices (ES, NQ, RTY), commodities (CL, GC), currencies (6E), and micro contracts (MES, MNQ, MCL).
Customizable Inputs: Set your risk amount (e.g., $1,000) and stop-loss size in points, tailored to your strategy.
Automatic Calculations: The script computes stop-loss size in ticks, risk per contract, and optimal position size using floor rounding to prevent over-leveraging.
Clear Visual Output: A table displays results (instrument, risk, stop size, contracts) with color-coded alerts for invalid configurations (e.g., zero position size).
Ideal for both novice and seasoned traders, this utility enforces disciplined risk management while saving time. Enhance your TradingView workspace with this essential tool and trade futures with confidence.
Created by vmkhats — ensuring traders stay precise, proactive, and risk-aware.
YARTSEV_TRADING_CANDLE_SIZE_v1An updated version of my personal indicator that highlights bars of the desired size
Accumulation & Buy Zones [SmartFusion Spot]SmartFusion AI is an advanced version of an indicator for the TradingView platform, utilizing artificial intelligence methods to analyze and predict market movements. This indicator is perfect for traders who want to combine powerful multi-timeframe analysis with intelligent algorithms for decision-making.
Features:
Multi-Timeframe Analysis — The indicator considers data from multiple time intervals (from 15 minutes to 1 week), allowing you to see both short-term and long-term trends.
Profit/Loss Levels — Automatically calculates and displays take profit and stop loss levels based on current market conditions, minimizing risk.
Buy/Sell Signals — Generates precise entry and exit signals, confirmed by volume indicators and RSI.
Automatic Support and Resistance Levels — The indicator automatically identifies key levels where reversals or breakouts are likely to occur.
Scalper Mode — For those trading on smaller timeframes, the indicator offers a specialized scalping mode to capture quick market movements with minimal risk.
Benefits:
Increased trading accuracy with integrated AI algorithms.
User-friendly interface with detailed signals.
Easy to set up and customizable for different trading styles.
Reduced stress in decision-making thanks to automatic calculations and recommendations.
Accumulation & Buy Zones [SmartFusion Spot]SmartFusion AI is an advanced version of an indicator for the TradingView platform, utilizing artificial intelligence methods to analyze and predict market movements. This indicator is perfect for traders who want to combine powerful multi-timeframe analysis with intelligent algorithms for decision-making.
Features:
Multi-Timeframe Analysis — The indicator considers data from multiple time intervals (from 15 minutes to 1 week), allowing you to see both short-term and long-term trends.
Profit/Loss Levels — Automatically calculates and displays take profit and stop loss levels based on current market conditions, minimizing risk.
Buy/Sell Signals — Generates precise entry and exit signals, confirmed by volume indicators and RSI.
Automatic Support and Resistance Levels — The indicator automatically identifies key levels where reversals or breakouts are likely to occur.
Scalper Mode — For those trading on smaller timeframes, the indicator offers a specialized scalping mode to capture quick market movements with minimal risk.
Benefits:
Increased trading accuracy with integrated AI algorithms.
User-friendly interface with detailed signals.
Easy to set up and customizable for different trading styles.
Reduced stress in decision-making thanks to automatic calculations and recommendations.
S&P500 CorrelationThe indicator presents correlation values ranging from -1 to +1. Positive values (green) indicate that the assets tend to move in the same direction, while negative values (red) suggest opposite movements. A value near zero indicates little to no correlation.
Settings:
Correlation Period: Number of bars used in calculation
Index Ticker: Symbol for the index ("SPX" for S&P500, "NDX" for Nasdaq)
Price Type: Which price data to use (close, open, high, low, etc.)
Return Type: Method for calculating returns (simple or logarithmic)