Cumulative VolumeThe script shows how to accumulate volume values during a defined session/period.
The input is the period to use for accumulation. "D" is the default value, useful to view data for each session.
Cari skrip untuk "the script"
Two Lines Diferent M (derivate)The script is only for information about two lines of diferent derivates, one with 10 candles and the another with 30 candles, the diferent slope of those lines tangents shows an indication of a tendencial if the value of the instrument is bearish or bullish.
Its aplicable to all instruments in high volatility times.
Support and Resistance plotterThe script uses high/low/higher high/lower low for Support and Resistance identification but takes into account only pivots with wick making low/high opposite to candle body. Such candles point to hard market swings into during candle timeframe.
Price usually come bake to such levels and make double top/bottom, divergences on different osc or starts a new trend if this level is broken.
If Support lvl and Resistance lvl meets the movement of price in the direction from this combined lvl is much accelerated.
examples
Rolling Moving Average, SMA/EMA, for IPO stocksThe script replicates the standard EMA/SMA used by tradingview, but also adds an estimate for the first X periods, where X is the length of the moving average. This allows for an estimate of support resistance in IPO stocks, when fewer date is available
Max of VWAP of last three daysThe script searches for max values of last three days and then calculates average of those values
BolingerBands_Contraction_Bitcoin_dailyThe script visualises the contraction or tightness of the Bollinger Bands (example Bitcoin on the daily timeframe). The contraction values have to be adjusted for each asset/coin/stock and timeframe. See what works for you.
Golden Ratio Multiplier: Multiplied Moving AveragesThe script for plotting DMAs from the study made by @PositiveCrypto (twitter)
Doji's/Engulfing Candles/Supertrend v1.0The Script locates Bearish/Bullish Engulfing Candlesticks and Dojis in combination with Supertrend v1.0.
Original Authors: HPotter + Rajandran R
QEMA - Quadruple Moving Averages (50,100,200,300)The script combines the common moving averages 50,100 and 200 and adds an additional MA300 to the graph.
The Three EMA'sThe script is three EMA's that are fit into one indicator. Can be well used in EMA trading system for short and long term.
RSI & RVI OB/OS Alert ArrowThe script shows arrows on bars that are in overbought or oversold, based on the set parameters of Relative Strength Index ( RSI ) and Relative Volatility Index (RVI).
Also there is a universal allert, which includes both conditions - overbought and oversold.
You can change the period of RSI and RVI, as well as the upper and lower boundaries of these indicators.
Renko with custom sourceThe script allows you to set custom date source for Renko chart through Format dialog.
On Balance VolumeThe script applies an EMA to OBV . By default, the EMA=13 periods. All calculations are based off the closing price.
Williams %RThe script applies an EMA to the Williams %R. By default, the %R=21 while the EMA=13 periods. All calculations are based off the closing price.
YK Fuller BarsThe script highlights "Fuller's pins" and generates alerts when these bars are appearing
Synthetic Price Action GeneratorNOTICE:
First thing you need to know, it "DOES NOT" reflect the price of the ticker you will load it on. THIS IS NOT AN INDICATOR FOR TRADING! It's a developer tool solely generating random values that look exactly like the fractals we observe every single day. This script's generated candles are as fake as the never ending garbage news cycles we are often force fed and expected to believe by using carefully scripted narratives peddled as hypnotic truth to psychologically and emotionally influence you to the point of control by coercion and subjugation. I wanted to make the script's synthetic nature very clear using that analogy, it's dynamically artificial. Do not accidentally become disillusioned by this scripts values, make trading decisions from it, and lastly don't become victim to predatory media magic ministry parrots with pretty, handsome smiles, compelling you to board their ferris wheel of fear. Now, on to the good stuff...
BACKSTORY:
Occasionally I find myself in situations where I have to build analyzers in Pine to actually build novel quantitative analytic indicators and tools worthy of future use. These analyzers certainly don't exist on this platform, but usually are required to engineer and tweak algorithms of the highest quality with the finest computational caliber. I have numerous other synthesizers to publish besides this one.
For many reasons, I needed a synthetic environment to utilize the analyzers I built in Pine, to even pursue building some exotic indicators and algorithms. Pine doesn't allow sourcing of tuples. Not to mention, I required numerous Pine advancements to make long held dreams into tangible realities. Many Pine upgrades have arrived and MANY, MANY more are in need of implementation for all. Now that I have this, intending to use it in the future often when in need, you can now use it too. I do anticipate some skilled Pine poets will employ this intended handy utility to design and/or improved indicators for trading.
ORIGIN:
This was inspired by the brilliance from the world renowned ALGOmist John F. Ehlers, but it's taken on a completely alien form from its original DNA. Browsing on the internet for something else, I came across an article with a small code snippet, and I remembered an old wish of mine. I have long known that by flipping back and forth on specific tickers and timeframes in my Watchlist is not the most efficient way to evaluate indicators in multiple theatres of price action. I realized, I always wanted to possess and use this sort of tool, so... I put it into Pine form, but now have decided to inject it with Pine Script steroids. The outcome is highly mutable candle formations in a reusable mutagenic package, observable above and masquerading as genuine looking price candles.
OVERVIEW:
I guess you could call it a price action synthesizer, but I entitled it "Synthetic Price Action Generator" for those who may be searching for such a thing. You may find this more useful on the All or 5Y charts initially to witness indication from beginning (barstate.isfirst === barindex==0) to end (last_bar_index), but you may also use keyboard shortcuts + + to view the earliest plottable bars on any timeframe. I often use that keyboard shortcut to qualify an indicator through the entirety of it's runtime.
A lot can go wrong unexpectedly with indicator initialization, and you will never know it if you don't inspect it. Many recursively endowed Infinite Impulse Response (IIR) Filters can initialize with unintended results that minutely ring in slightly erroneous fashion for the entire runtime, beginning to end, causing deviations from "what should of been..." values with false signals. Looking closely at spg(), you will recognize that 3 EMAs are employed to manage and maintain randomness of CLOSE, HIGH, and LOW. In fact, any indicator's barindex==0 initialization can be inspected with the keyboard shortcuts above. If you see anything obviously strange in an authors indicator, please contact the developer if possible and respectfully notify them.
PURPOSE:
The primary intended application of this script, is to offer developers from advanced to even novice skill levels assistance with building next generation indicators. Mostly, it's purpose is for testing and troubleshooting indicators AND evaluating how they perform in a "manageable" randomized environment. Some times indicators flake out on rare but problematic price fluctuations, and this may help you with finding your issues/errata sooner than later. While the candles upon initial loading look pristine, by tweaking it to the minval/maxval parameters limits OR beyond with a few code modifications, you can generate unusual volatility, for instance... huge wicks. Limits of minval= and maxval= of are by default set to a comfort zone of operation. Massive wicks or candle bodies will undoubtedly affect your indication and often render them useless on tickers that exhibit that behavior, like WGMCF intraday currently.
Copy/paste boundaries are provided for relevant insertion into another script. Paste placement should happen at the very top of a script. Note that by overwriting the close, open, high, etc... values, your compiler will give you generous warnings of "variable shadowing" in abundance, but this is an expected part of applying it to your novel script, no worries. plotcandle() can be copied over too and enabled/disabled in Settings->Style. Always remember to fully remove this scripts' code and those assignments properly before actual trading use of your script occurs, AND specifically when publishing. The entirety of this provided code should never, never exist in a published indicator.
OTHER INTENTIONS:
Even though these are 100% synthetic generated price points, you will notice ALL of the fractal pseudo-patterns that commonly exist in the markets, are naturally occurring with this generator too. You can also swiftly immerse yourself in pattern recognition exercises with increased efficiency in real time by clicking any SPAG Setting in focus and then using the up/down arrow keys. I hope I explained potential uses adequately...
On a personal note, the existence of fractal symmetry often makes me wonder, do we truly live in a totality chaotic universe or is it ordered mathematically for some outcomes to a certain extent. I think both. My observations, it's a pre-deterministic reality completely influenced by infinitesimal amounts of sentient free will with unimaginable existing and emerging quantities. Some how an unknown mysterious mechanism governing the totality of universal physics and mathematics counts this 100.0% flawlessly and perpetually. Anyways, you can't change the past that long existed before your birth or even yesterday, but you can choose to dream, create, and forge the future into your desires and hopes. As always, shite always happens when your not looking for it. What you choose to do after stepping in it unintentionally... is totally up to you. :) Maybe this tool and tips provided will aid you in not stepping in an algo cachucha up to your ankles somehow.
SCRIPTING LESSONS PORTRAYED IN THIS SCRIPT:
Pine etiquette and code cleanliness
Overwrite capabilities of built-in Pine variables for testing indicators
Various techniques to organize Settings panel while providing ease of adjustment utility
Use of tooltip= to provide users adequate valuable information. Most people want to trade with indicators, not blindly make adjustments to them without any knowledge of their intended operation/effects
When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members , I may implement more ideas when they present themselves as worthy additions. Have a profitable future everyone!
3 day look backThis script is designed to help traders visually compare daily liquidity behavior between two correlated assets — for example, the Nasdaq (NQ) and the S&P500 (ES).
It plots each day’s High and Low, aligned from Midnight to Midnight, with a clean session structure. This makes it easier to identify:
SMT (Smart Money Technique) divergences
liquidity grabs
daily highs/lows sweeps
relative strength/weakness between assets
intraday bias shifts based on daily structure
What the script does
Reconstructs each trading day from 00:00 to 00:00, regardless of session irregularities.
Plots the High and Low of every completed day.
Allows users to display as many past days as they want (custom “look-back” parameter).
Automatically merges the weekend with Friday for assets where Saturday/Sunday sessions are fragmented.
Includes a manual midnight offset (–12h to +12h) to fix timezone inconsistencies on TradingView charts (common on futures).
Optional real-time lines for the current day.
No excessive right-side extensions for clean intraday reading.
Why this is useful
When comparing paired assets (e.g., NQ vs ES), liquidity behavior is often different.
This script makes it easy to spot:
when one asset makes a new daily high while the other doesn’t
asymmetrical liquidity sweeps
SMT-based divergence setups
liquidity grabs at daily levels
intraday directional bias shifts
About the other indicators shown on the chart
In the example chart, two additional indicators are used only for clarity and structure:
Day of the Week — displays the weekday on each session for easier orientation.
Vertical Line Timeline — draws a clean separator line between days.
These indicators are not required for this High/Low script to work.
They simply help visually organize sessions and make daily structure easier to read when comparing two assets side by side.
How to use
Open two assets (e.g., NQ1! and ES1!) side by side.
Apply this script on both charts.
Set the same timeframe.
Choose how many days back you want to visualize (look-back parameter).
Observe how each asset interacts with its daily High/Low.
Look for SMT divergences and liquidity-based setups.
Main features
Midnight-to-Midnight alignment
Weekend fusion
Manual offset for perfect timing
Adjustable daily look-back
Clean daily liquidity
Optional dynamic daily levels
Ideal for SMT/liquidity-based intraday trading
Guppy of SMA of RSIIn this script:
The rsiLengths input allows you to input a comma-separated list of RSI lengths for which you want to calculate the SMAs. For example, "30,60,90" will calculate SMAs for RSI with variable lengths .
The smaLength input determines the length of the EMA that will be applied to the RSI values.
The rsiValues variable calculates the RSI values for the selected lengths using the daily timeframe data.
The script then iterates through each RSI length, calculates the SMA of the RSI, and plots the EMA values on the chart with the specified color.
This script will help you visualize and analyze the SMAs of the RSI for different lengths on the price chart. You can customize the RSI lengths and EMA length according to your preferences.






















