DojiCandle body size RSI-SMMA filter MTF
DojiCandle body size RSI-SMMA filter MTF
Hi. I was inspired by a public script written by @ahmedirshad419, .
I thank him for his idea and hard work.
His script is the combination of RSI and Engulfing Pattern.
//------------------------------------------------------------
I decided to tweak it a bit with Open IA.
I have changed:
1) candle pattern to DojiCandle Pattern;
2) I added the ability for the user to change the size of the candlestick body;
3) Added SMMA 200;
4) Changed the colour of SMMA 200 depending on price direction;
5) Added a change in the colour of candlesticks, depending on the colour of the SMMA 200;
6) Added buy and sell signals with indicator name, ticker and close price;
7) Added ability to use indicator on multi time frame.
How it works
1. when RSI > 70 > SMMA 200 and form the bullish DojiCandle Pattern. It gives sell signal
2. when RSI < 30 < SMMA 200 and form the bearish DojiCandle Pattern. It gives buy signal
settings:
basic setting for RSI, SMMA 200 has been enabled in the script to set the levels accordingly to your trades
Enjoy
Buscar en scripts para "ai"
PSv5 3D Array/Matrix Super Hack"In a world of ever pervasive and universal deceit, telling a simple truth is considered a revolutionary act."
INTRO:
First, how about a little bit of philosophic poetry with another dimension applied to it?
The "matrix of control" is everywhere...
It is all around us, even now in the very place you reside. You can see it when you look at your digitized window outwards into the world, or when you turn on regularly scheduled television "programs" to watch news narratives and movies that subliminally influence your thoughts, feelings, and emotions. You have felt it every time you have clocked into dead end job workplaces... when you unknowingly worshiped on the conformancy alter to cultish ideologies... and when you pay your taxes to a godvernment that is poisoning you softly and quietly by injecting your mind and body with (psyOps + toxicCompounds). It is a fictitiously generated world view that has been pulled over your eyes to blindfold, censor, and mentally prostrate you from spiritually hearing the real truth.
What TRUTH you must wonder? That you are cognitively enslaved, like everyone else. You were born into mental bondage, born into an illusory societal prison complex that you are entirely incapable of smelling, tasting, or touching. Its a contrived monetary prison enterprise for your mind and eternal soul, built by pretending politicians, corporate CONartists, and NonGoverning parasitic Organizations deploying any means of infiltration and deception by using every tactic unimaginable. You are slowly being convinced into becoming a genetically altered cyborg by acclimation, socially engineered and chipped to eventually no longer be 100% human.
Unfortunately no one can be told eloquently enough in words what the matrix of control truly is. You have to experience it and witness it for yourself. This is your chance to program a future paradigm that doesn't yet exist. After visiting here, there is absolutely no turning back. You can continually take the blue pill BIGpharmacide wants you to repeatedly intake. The story ends if you continually sleep walk through a 2D hologram life, believing whatever you wish to believe until you cease to exist. OR, you can take the red pill challenge, explore "question every single thing" wonderland, program your arse off with 3D capabilities, ultimately ascertaining a new mathematical empyrean. Only then can you fully awaken to discover how deep the rabbit hole state of affairs transpire worldwide with a genuine open mind.
Remember, all I'm offering is a mathematical truth, nothing more...
PURPOSE:
With that being said above, it is now time for advanced developers to start creating their own matrix constructs in 3D, in Pine, just as the universe is created spatially. For those of you who instantly know what this script's potential is easily capable of, you already know what you have to do with it. While this is simplistically just a 3D array for either integers or floats, additional companion functions can in the future be constructed by other members to provide a more complete matrix/array library for millions of folks on TV. I do encourage the most courageous of mathemagicians on TV to do so. I have been employing very large 2D/3D array structures for quite some time, and their utility seems to be of great benefit. Discovering that for myself, I fully realized that Pine is incomplete and must be provided with this agility to process complex datasets that traders WILL use in the future. Mark my words!
CONCEPTION:
While I have long realized and theorized this code for a great duration of time, I was finally able to turn it into a Pine reality with the assistance and training of an "artificially intuitive" program while probing its aptitude. Even though it knows virtually nothing about Pine Script 4.0 or 5.0 syntax, functions, and behavior, I was able to conjure code into an identity similar to what you see now within a few minutes. Close enough for me! Many manual edits later for pine compliance, and I had it in chart, presto!
While most people consider the service to be an "AI", it didn't pass my Pine Turing test. I did have to repeatedly correct it, suffered through numerous apologies from it, was forced to use specifically tailored words, and also rationally debate AND argued with it. It is a handy helper but beware of generating Pine code from it, trust me on this one. However... this artificially intuitive service is currently available in its infancy as version 3. Version 4 most likely will have more diversity to enhance my algorithmic expertise of Pine wizardry. I do have to thank E.M. and his developers for an eye opening experience, or NONE of this code below would be available as you now witness it today.
LIMITATIONS:
As of this initial release, Pine only supports 100,000 array elements maximum. For example, when using this code, a 50x50x40 element configuration will exceed this limit, but 50x50x39 will work. You will always have to keep that in mind during development. Running that size of an array structure on every single bar will most likely time out within 20-40 seconds. This is not the most efficient method compared to a real native 3D array in action. Ehlers adepts, this might not be 100% of what you require to "move forward". You can try, but head room with a low ceiling currently will be challenging to walk in for now, even with extremely optimized Pine code.
A few common functions are provided, but this can be extended extensively later if you choose to undertake that endeavor. Use the code as is and/or however you deem necessary. Any TV member is granted absolute freedom to do what they wish as they please. I ultimately wish to eventually see a fully equipped library version for both matrix3D AND array3D created by collaborative efforts that will probably require many Pine poets testing collectively. This is just a bare bones prototype until that day arrives. Considerably more computational server power will be required also. Anyways, I hope you shall find this code somewhat useful.
Notice: Unfortunately, I will not provide any integration support into members projects at all. I have my own projects that require too much of my time already.
POTENTIAL APPLICATIONS:
The creation of very large coefficient 3D caches/buffers specifically at bar_index==0 can dramatically increase runtime agility for thousands of bars onwards. Generating 1000s of values once and just accessing those generated values is much faster. Also, when running dozens of algorithms simultaneously, a record of performance statistics can be kept, self-analyzed, and visually presented to the developer/user. And, everything else under the sun can be created beyond a developers wildest dreams...
EPILOGUE:
Free your mind!!! And unleash weapons of mass financial creation upon the earth for all to utilize via the "Power of Pine". Flying monkeys and minions are waging economic sabotage upon humanity, decimating markets and exchanges. You can always see it your market charts when things go horribly wrong. This is going to be an astronomical technical challenge to continually navigate very choppy financial markets that are increasingly becoming more and more unstable and volatile. Ordinary one plot algorithms simply are not enough anymore. Statistics and analysis sits above everything imagined. This includes banking, godvernment, corporations, REAL science, technology, health, medicine, transportation, energy, food, etc... We have a unique perspective of the world that most people will never get to see, depending on where you look. With an ever increasingly complex world in constant dynamic flux, novel ways to process data intricately MUST emerge into existence in order to tackle phenomenal tasks required in the future. Achieving data analysis in 3D forms is just one lonely step of many more to come.
At this time the WesternEconomicFraudsters and the WorldHealthOrders are attempting to destroy/reset the world's financial status in order to rain in chaos upon most nations, causing asset devaluation and hyper-inflation. Every form of deception, infiltration, and theft is occurring with a result of destroyed wealth in preparation to consolidate it. Open discussions, available to the public, by world leaders/moguls are fantasizing about new dystopian system as a one size fits all nations solution of digitalID combined with programmableDemonicCurrencies to usher in a new form of obedient servitude to a unipolar digitized hegemony of monetary vampires. If they do succeed with economic conquest, as they have publicly stated, people will be converted into human cattle, herded within smart cities, you will own nothing, eat bugs for breakfast/lunch/dinner, live without heat during severe winter conditions, and be happy. They clearly haven't done the math, as they are far outnumbered by a ratio of 1 to millions. Sith Lords do not own planet Earth! The new world disorder of human exploitation will FAIL. History, my "greatest teacher" for decades reminds us over, and over, and over again, and what are time series for anyways? They are for an intense mathematical analysis of prior historical values/conditions in relation to today's values/conditions... I imagine one day we will be able to ask an all-seeing AI, "WHO IS TO BLAME AND WHY AND WHEN?" comprised of 300 pages in great detail with images, charts, and statistics.
What are the true costs of malignant lies? I will tell you... 64bit numbers are NOT even capable of calculating the extreme cost of pernicious lies and deceit. That's how gigantic this monstrous globalization problem has become and how awful the "matrix of control" truly is now. ALL nations need a monumental revision of its CODE OF ETHICS, and that's definitely a multi-dimensional problem that needs solved sooner than later. If it was up to me, economies and technology would be developed so extensively to eliminate scarcity and increase the standard of living so high, that the notion of war and conflict would be considered irrelevant and extremely appalling to the future generations of humanity, our grandchildren born and unborn. The future will not be owned and operated by geriatric robber barons destined to expire quickly. The future will most likely be intensely "guided" by intelligent open source algorithms that youthful generations will inherit as their birth right.
P.S. Don't give me that politco-my-diction crap speech below in comments. If they weren't meddling with economics mucking up 100% of our chart results in 100% of tickers, I wouldn't have any cause to analyze any effects generated by them, nor provide this script's code. I am performing my analytical homework, but have you? Do you you know WHY international affairs are in dire jeopardy? Without why, the "Power of Pine" would have never existed as it specifically does today. I'm giving away much of my mental power generously to TV members so you are specifically empowered beyond most mathematical agilities commonly existing. I'm just a messenger of profound ideas. Loving and loathing of words is ALWAYS in the eye of beholders, and that's why the freedom of speech is enshrined as #1 in the constitutional code of the USA. Without it, this entire site might not have been allowed to exist from its founder's inceptions.
MACD + RSI + ADX Strategy (ChatGPT-powered) by TradeSmartThis is a trading strategy made by TradeSmart, using the recommendations given by ChatGPT . As an experiment, we asked ChatGPT on which indicators are the most popular for trading. We used all of the recommendations given, and added more. We ended up with a strategy that performs surprisingly well on many crypto and forex assets. See below for exact details on what logic was implemented and how you can change the parameters of the strategy.
The strategy is a Christmas special , this is how we would like to thank the support of our followers.
The strategy has performed well on Forex, tested on 43 1-hour pairs and turned a profit in 21 cases. Also it has been tested on 51 crypto pairs using the 1-hour timeframe, and turned a profit in 45 cases with a Profit Factor over 1.4 in the top-5 cases. Tests were conducted without commission or slippage, unlike the presented result which uses 0.01% commission and 5 tick slippage.
Some of the top performers were:
SNXUSDT
SOLUSDT
CAKEUSDT
LINKUSDT
EGLDUSDT
GBPJPY
TRYJPY
USDJPY
The strategy was implemented using the following logic:
Entry strategy:
Long entry:
Price should be above the Simple Moving Average (SMA)
There should be a cross up on the MACD (indicated by the color switch on the histogram, red to green)
RSI should be above the 50 level
Volume is above the selected volume-based Exponential Moving Average (EMA)
ADX should also agree to this position: below 50 and over 20, and above the Regularized Moving Average (REMA)
Short entry:
Price should be under the Simple Moving Average (SMA)
There should be a cross down on the MACD (indicated by the color switch on the histogram, red to green)
RSI should be below the 50 level
Volume is above the selected volume-based Exponential Moving Average (EMA)
ADX should also agree to this position: below 50 and over 20, and above the Regularized Moving Average (REMA)
Exit strategy:
Stop Loss will be placed based on ATR value (with 1.5 Risk)
Take profit level will be placed with a 2.5 Risk/Reward Ratio
Open positions will be closed early based on the Squeeze Momentum (Long: change to red, Short: change to green)
NOTE! : The position sizes used in the example is with 'Risk Percentage (current)', according which the position size will be determined such
that the potential loss is equal to % of the current available capital. This means that in most of the cases, the positions are calculated using leverage.
Parameters of every indicator used in the strategy can be tuned in the strategy settings as follows:
Plot settings:
Plot Signals: true by default, Show all Long and Short signals on the signal candle
Allow early TP/SL plots: false by default, Checking this option will result in the TP and SL lines to be plotted also on the signal candle rather than just the entry candle. Consider this only when manual trading, since backtest entries does not happen on the signal candle.
Entry Signal:
Fast Length: 12 by default
Slow Length: 26 by default
Source: hlcc4 by default
Signal Smoothing: 9 by default
Oscillator MA Type: EMA by default
Signal Line MA Type: EMA by default
Exit Strategy:
ATR Based Stop Loss: true by default
ATR Length (of the SL): 14 by default
ATR Smoothing (of the SL): EMA by default
Candle Low/High Based Stop Loss: false by default, recent lowest or highest point (depending on long/short position) will be used to calculate stop loss value. Set 'Base Risk Multiplier' to 1 if you would like to use the calculated value as is. Setting it to a different value will count as an additional multiplier. Please select only one active stop loss. Default value (if nothing or multiple stop losses are selected) is the 'ATR Based Stop Loss'.
Candle Lookback (of the SL): 10 by default
Base Risk Multiplier: 1.5 by default, the stop loss will be placed at this risk level (meaning in case of ATR SL that the ATR value will be multiplied by this factor and the SL will be placed that value away from the entry level)
Risk to Reward Ratio: 2.5 by default, the take profit level will be placed such as this Risk/Reward ratio is met
Force Exit based on Squeeze Momentum: true by default, a Long position will be closed when Squeeze Momentum turns red inside an open position and a Short position will be closed when Squeeze Momentum turns green inside an open position
BB Length: 20 by default
BB Mult Factor: 1.0 by default
KC Length: 20 by default
KC Mult Factor: 1.5 by default
Use True Range (KC): Yes by default
Base Setups:
Allow Long Entries: true by default
Allow Short Entries: true by default
Order Size: 1.5 by default
Order Type: Risk Percentage (current) by default, allows adjustment on how the position size is calculated: Cash: only the set cash ammount will be used for each trade Contract(s): the adjusted number of contracts will be used for each trade Capital Percentage: a % of the current available capital will be used for each trade Risk Percentage (current): position size will be determined such that the potential loss is equal to % of the current available capital Risk Percentage (initial): position size will be determined such that the potential loss is equal to % of the initial capital
Trend Filter:
Use long trend filter: true by default, only enter long if price is above Long MA
Show long trend filter: true by default, plot the selected MA on the chart
MA Type (Long): SMA by default
MA Length (Long): 100 by default
MA Source (Long): close by default
Use short trend filter: true by default, only enter long if price is under Short MA
Show short trend filter: false by default, plot the selected MA on the chart
MA Type (Short): SMA by default
MA Length (Short): 100 by default
MA Source (Short): close by default
Simple RSI Limiter:
Limit using Simple RSI: true by default, if set to 'Normal', only enter long when Simple RSI is lower then Long Boundary, and only enter short when Simple RSI is higher then Short Boundary. If set to 'Reverse', only enter long when Simple RSI is higher then Long Boundary, and only enter short when Simple RSI is lower then Short Boundary.
Simple RSI Limiter Type:
RSI Length: 14 by default
RSI Source: hl2 by default
Simple RSI Long Boundary: 50 by default
Simple RSI Short Boundary: 50 by default
ADX Limiter:
Use ADX Limiter: true by default, only enter into any position (long/short) if ADX value is higher than the Low Boundary and lower than the High Boundary.
ADX Length: 5 by default
DI Length: 5 by default
High Boundary: 50 by default
Low Boundary: 20 by default
Use MA based calculation: Yes by default, if 'Yes', only enter into position (long/short) if ADX value is higher than MA (ADX as source).
MA Type: REMA by default
MA Length: 5 by default
Volume Filter:
Only enter trades where volume is higher then the volume-based MA: true by default, a set type of MA will be calculated with the volume as source, and set length
MA Type: EMA by default
MA Length: 10 by default
Session Limiter:
Show session plots: false by default, show crypto market sessions on chart: Sidney (red), Tokyo (orange), London (yellow), New York (green)
Use session limiter: false by default, if enabled, trades will only happen in the ticked sessions below.
Sidney session: false by default, session between: 15:00 - 00:00 (EST)
Tokyo session: false by default, session between: 19:00 - 04:00 (EST)
London session: false by default, session between: 03:00 - 11:00 (EST)
New York session: false by default, session between: 08:00 - 17:00 (EST)
Date Range:
Limit Between Dates: false by default
Start Date: Jul 01 2021 00:00:00 by default
End Date: Dec 31 2022 00:00:00 by default
Trading Time:
Limit Trading Time: false by default, tick this together with the options below to enable limiting based on day and time
Valid Trading Days Global: 1234567 by default, if the Limit Trading Time is on, trades will only happen on days that are present in this field. If any of the not global Valid Trading Days is used, this field will be neglected. Values represent days: Sunday (1), Monday (2), ..., Friday (6), Saturday(7) To trade on all days use: 123457
(1) Valid Trading Days: false, 1234567 by default, values represent days: Sunday (1), Monday (2), ..., Friday (6), Saturday(7) The script will trade on days that are present in this field. Please make sure that this field and also (1) Valid Trading Hours Between is checked
(1) Valid Trading Hours Between: false, 0930-1600 by default, hours between which the trades can happen. The time is always in the exchange's timezone
Fine-tuning is highly recommended when using other asset/timeframe combinations.
Two Box TheoryA channel is where the price action travels between two rectangular boxes. The Purple box line is treated as resistance and the Blue box line is treated as support.
Two Box Theory is a TradingView TM indicator that automatically locates and prints key support and resistance levels.
Its responsibility lies in its capacity to offer real-time visualisation to support your trade.
It is a flexible indicator that can be used for short or long time frames and has a precision of 8 decimal points, making it appropriate for all types of markets.
You can choose to get alerts immediately because each condition has its own set of alerts.
Two Box Theory has been tried, true, and tested for more than a year and has already earned the faith of those who have used it.
Two Box Theory has what it takes to take your trading to the next level, whether it's used as a stand-alone method or as an addition to your current approach.
Read the description to better understand the functions of this indicator.
1- It will automatically find Pivot Points to determine support and resistance by calculating extensive amount of data.
2- When it calculates new Pivot Points it will remove previous ones and the support/resistance channels will be updated.
3- For every upcoming Pivot Point it scans all previous Pivot Points in its channel horizontally.
4- It will show a different box (grey) when price action goes sideways. This is when the coin is in a no trade zone.
5- After breaking that level(grey box) upwards, it will change colour of its box to make support channel.
6- It will also alert you when the support or resistance breaks, you can set the alerts in the settings.
7- It also includes two Simple Moving Averages for further confirmations.
Here are some screenshots to understand how it functions:
The Auto-Support/Resistance feature in this indicator uses Artificial Intelligence (AI) to automatically plot the support/resistance levels and show them based on the strength of different levels to perform analysis.
AI is used to detect the support/resistance levels and rated based on the following factors:
i- Number of touches
ii- Length of the line
iii- Recency of the line
iv- Violations of the line
You can manage risk according to the support and resistance to set Stop-Loss and the potential take-profit based on the nearest support/resistance levels
Stop loss and take profit levels are made easy on this indicator and if you follow the instructions properly, your accuracy rate should lie between 85-95%
For example:
Support indications:
Resistance Indications and trading technique:
Resistance convert into support:
Lune Market Analysis Premium- Version 0.9 -
Lune Algo was developed and built by Lune Trading, utilizing years of their trading expertise. This indicator works on all stocks, cryptos, indices, forex, futures , currencies, ETF's, energy and commodities. All the tools and features you need to assist you on your trading journey. Best of all, Lune Algo is easy to use and many of our tools and strategies have been thoroughly backtested thousands of times to ensure that users have the best experience possible.
Overview
Trade Dashboard—Provides information about the current market conditions, Such as if the market is trending up or down, how much volatility is in the market and even displays information about the current signal.
Trade Statistics—This tool gives you a breakdown of the Statistics of the current selected strategy based on backtests. It tells you the percentage of how often a Take Profit or Stop Loss was hit within a specific time period. Risk and Trade management is very important in trading, and can be the difference between a winning and losing strategy. So we believe that this was mandatory.
Current Features:
Advanced Buy and Sell Signals
Exclusive built-in Strategies
Lune Confidence AI
EK Clouds
Reversal Bands
Vray (Volume Ray)
Divergence Signals
Reversal Signals
Support/Resistance Zones
Built-in Themes
Built-in Risk Management system (take profit/stop loss)
Trade Statistics
Trade Assistance
Trade Dashboard
Advanced Settings
+ More coming soon, Big plans!
Features Breakdown:
Lune Confirmation—Used to help you confirm your trades and trend direction. It uses unique calculations, and its settings can be adjusted to allow traders to adapt the settings to fit their trading style.
Lune Confidence AI—All strategies are equipped with our exclusive built-in Confidence AI. This feature tells you how much confluence there is in a trade. It uses a rating system where signals are given a number from 0 to 5. A rating of 0 indicates that there is not a lot of confluence or confidence in the signal, while a rating of 5 indicates that there is a lot of confidence in the trade. This feature is not perfect and will be improved overtime.
Support/Resistance Zones—Calculates the most important support/resistance levels based on how many times a level has been used as support or resistance. Traders also refer to these as supply and demand zones and key levels.
EK Clouds—Used to further help you confirm trend and was optimized to also be used as support and resistance. This feature is powered by custom moving averages.
Reversal Bands—An optimized and improved version of the infamous Bollinger Bands. When price action takes place within the Reversal Bands it usually indicates that the current symbol is overextended and a reversal is possible.
Vray—Also Known as "Volume Ray", Assists you in better visualizing volume. This helps you find key levels and areas of support that you wouldn't be able to see otherwise. It helps you trade like the institutions.
This indicator's signals DO NOT REPAINT.
If you are using this script you acknowledge past performance is not necessarily indicative of future results and there are many more factors that go into being a profitable trader.
Ganntime Grid Bot long strategy This is a simulating 3commas grid and DCA robot strategy implementation. In AI mode, the default grid width of btc is 500, and the default grid width of eth is 25. Anyone can use it for free. You can also cancel the AI mode option and manually set the grid size and grid width. The initial order, safety order size, stop loss and take profit parameters are consistent with the configuration and usage of 3commas dca bot.
Volume Spike Strategy This is a Pine Script implementation of “Capitalize AI: Volume Spike Strategy" by Bitcoin Trading Challenge (copied with permission).
Original Capital AI formula :
If BTC/USD 1 minute volume > BTC/USD average volume in 20-1m bar by at least 500% and if BTC/USD is below the MA (5,1m,close) of BTC/USD then buy 10,000 USD WORTH of BTC/USD
Tested on XBTUSD 1 minute.
Original strategy is buy-only. Option for sells was added (enable in settings).
First published script -- comments/feedback appreciated
ADX DMI 3x - Dingue- ADX DMI DINGUE -
Français (bottom) / English
The best baddest - The Ultimate ADX DMI indicator for you to use.
Good to clearly see who's in control. Bear Bull
Includes :
- 3x ADX
- 3x DMI
- 3 line system which uses DMI calculation and put it in a single line instead of positive / negative.
Manual or Auto settings which adjusts length based on time frame used on screen.
Color coded for clear direction.
Squeeze shows when both sides are close together and this is when the trend might change or keep going.
Suggestions are welcome, ask below for any questions.
Try my other "DINGUE" indicators.
Thanks.
----------------- Français -----------------
Le meilleur, le plus génial - L'ultime indicateur ADX DMI pour votre utilisation
Très bon pour voir qui est en contrôle.
Inclu :
- 3x ADX
- 3x DMI
- 3 lignes qui remplace les lignes positives négatives du DMI pour une visualisation plus simple.
Paramétrage manuel ou automatique qui ajuste les valeurs selon la grandeur de chandelles utilisée à l'écran.
Codé avec des couleurs pour une visibilités de la direction claire.
Squeeze qui montre quand les 2 côtés sont près l'un de l'autre et quand un changement de contrôle ou une continuation de la tendance se produit.
Suggestions appréciées, pour toutes questions, écrire dans les commentaires plus bas.
Essayez les autres indicateurs "DINGUE".
Merci.
ProfitBee59 v6.0ProfitBee59 v6.0 for TradingView (pb6 ai) helps you do tedious works on your technical charts.
*It does CC59 counting and prints out a positive or negative number on each price bar.
*When the counting arrives at -9 or +9, it creates support and resistance ( SNR ) levels on the chart.
*It draws a pair of fast/slow average lines with pink/red colors for corresponding downtrend and yellow/green for uptrend.
*It shows a crossing point between fast/slow average line with a cream cross sign.
*It analyses and prints Up/Dn arrows base on each of these modes including time, price, average line turnings and crossing, above red/ below green (ARBG) candlesticks.
*It draws lines showing differences between price-fast average, price-slow average, and fast average-slow average.
*In addition, other auxiliary tools such as Max/Min finder used to find the candlesticks with local max/min prices or Gap finder used to locate discontinuity between candlesticks are also provided.
*For Forex trading, other intraday parameters are also available including the day opening level, high/low of previous days as well as intraday brown background marking overlapping sessions for Sydney-Tokyo, Tokyo-London and London-New York markets.
*Smart phone/tablet and PC notifications of events occurring in the chart can be sent to you by server-side alerts so that you don't have to stay in front of the screen all the time.
------------------------------
How to install the script:
------------------------------
*Go to the bottom of this page and click on "Add to Favorite Scripts".
*Remove older version of the script by clicking on the "X" button behind the indicator line at the top left corner of the chart window.
*Open a new chart at and click on the "Indicators" tab.
*Click on the "Favorites" tab and choose "ProfitBee59 v6.0".
*Right click anywhere on the graph, choose "Color Theme", the select "Dark".
*Right click anywhere on the graph, choose "Settings".
*In "Symbol" tab, set "Precision" to 1/100 for stock price or 1/100000 for Forex and set "Time Zone" to your local time.
*In "Scales" tab, check "Symbol Name Label" and "Indicator Last Value Label".
*In "Events" tab, check "Show Dividends on Chart", "Show Splits on Chart" and "Show Earnings on Chart".
*At the bottom of settings window, click on "Template", "Save As...", then name this theme of graph setting for future call up such as "Stock pb6" or "Forex pb6".
*Click OK.
==========================================
ProfitBee59 v6.0 for TradingView (pb6 ai) is locked and protected.
Please ***do not*** ask for access in the comment section.
Use the link below to obtain access to this indicator.
==========================================
Cyato Grid Basic Buy & Sell [BACKTEST]Private indicator
This Grid bot strategy creates buy orders when the price goes down one level or more, and sell order when the price goes up one level or more.
To avoid useless trades, the lastest traded level is disabled until another level is crossed.
To create the grid, one upper level and one lower level is calculated. Those 2 levels are either given by the user using "MANUAL" mode or automatically calculated by an AI. The space between these two levels are then divided equally into several steps, creating the grid. The number of steps is chosen by the user, from 3 to 20.
HOW IT WORKS
This is the Backtest version meaning this is the one you should use with the Strategy Tester (more below).
Select either "MANUAL" or "AI" mode.
When using "MANUAL", you have to configure an upper level and a lower level.
When using "AI", the upper and lower level are automatically calculated from last 7 days high/low plus a 3% deviation. You can configure the timeframe and the deviation.
Select the grid quantity, from 3 to 20.
Example with 3:
Example with 10:
Example with 20:
You can choose between "Once Per Bar Close" or "Once Per Bar" alert type.
"Once Per Bar Close" will wait candle close to confirm a trade.
"Once Per Bar" will trigger a trade if the price crossed a step anytime inside a candle. Note that the backtest will still use bar close price in its calculation.
BACKTESTING
The strategy will buy 1 contract when a BUY signal appears and sell 1 contract when a SELL signal appears.
Here 1 contract = 1 BTC
The strategy can buy up to 20 contracts. Pyramiding is enabled.
The Backtest info panel is here to show how many trades are open in the backtest.
I know very well that a backtest has no value if several trades are left open. That is why I coded a feature to close all open trades at once on the last candle. This feature can be turned on and off.
To get this indicator, use the link in my signature below, thanks!
Cyato Grid Basic Buy & Sell [ALERTSETUP]Private indicator
This Grid bot strategy creates buy orders when the price goes down one level or more, and sell order when the price goes up one level or more.
To avoid useless trades, the lastest traded level is disabled until another level is crossed.
To create the grid, one upper level and one lower level is calculated. Those 2 levels are either given by the user using "MANUAL" mode or automatically calculated by an AI. The space between these two levels are then divided equally into several steps, creating the grid. The number of steps is choosen by the user, from 3 to 20.
How it Works
This is the Alert Setup version meaning this is the one you should use to create alerts (more below).
Select either "MANUAL" or "AI" mode.
When using "MANUAL", you have to configure an upper level and a lower level.
When using "AI", the upper and lower level are automatically calculated from last swing high/low.
Select the grid quantity, from 3 to 20.
Example with 3:
Example with 10:
Example with 20:
Creating the Alerts
When opening the alert popup, select "Cyato Grid" in the condition.
Make sure to use the option "Once per bar close" in order to stay in sync with the graphics on chart. (Only use "Once per bar" if you really know what you are doing).
Available alerts:
- BUY : Buy alert. Green label on chart.
- SELL: Sell alert. Red label on chart.
To get this indicator, use the link in my signature below, thanks!
Intelligent Moving Average Private AccessNote: This indicator is intended for those who have been granted private access and may be more frequently updated than the previous versions.
Introduction
This indicator uses machine learning (Artificial Intelligence) to solve a real human problem.
The Moving Average is the most used indicator on the planet, yet no one really knows what pair of moving average lengths works best in combination with each other.
A reason for this is because no two moving averages are always going to be the best on every instrument, time-frame, and at any given point in time.
The " Intelligent Moving Average " solves the moving average problem by adapting the period length to match the most profitable combination of moving averages in real time.
How does the Intelligent Moving Average work?
The artificial intelligence that operates these moving average lengths was created by an algorithm that tests every single combination across the entire chart history of an instrument for maximum profitability in real-time.
No matter what happens, the combination of these moving averages will be the most profitable.
Can we learn from the Intelligent Moving Average?
There are many lessons to be learned from the Intelligent Moving Average. Most will come with time as it is still a new concept.
Adopting the usefulness of this AI will change how we perceive moving averages to work.
Limitations
Ultimately, there are no limiting factors within the range of combinations that has been programmed. The moving averages will operate normally, but may change lengths in unexpected ways - maybe it knows something we don't?
Thresholds
The range of moving average lengths is between 5 to 40.
Additional coverage resulted in TradingView server errors.
Future Updates!
This indicator will be maintained and many updates will come in the near future! Stay tuned.
View the documentation on this indicator here: www.kenzing.com
Well Rounded Moving AverageIntroduction
There are tons of filters, way to many, and some of them are redundant in the sense they produce the same results as others. The task to find an optimal filter is still a big challenge among technical analysis and engineering, a good filter is the Kalman filter who is one of the more precise filters out there. The optimal filter theorem state that : The optimal estimator has the form of a linear observer , this in short mean that an optimal filter must use measurements of the inputs and outputs, and this is what does the Kalman filter. I have tried myself to Kalman filters with more or less success as well as understanding optimality by studying Linear–quadratic–Gaussian control, i failed to get a complete understanding of those subjects but today i present a moving average filter (WRMA) constructed with all the knowledge i have in control theory and who aim to provide a very well response to market price, this mean low lag for fast decision timing and low overshoots for better precision.
Construction
An good filter must use information about its output, this is what exponential smoothing is about, simple exponential smoothing (EMA) is close to a simple moving average and can be defined as :
output = output(1) + α(input - output(1))
where α (alpha) is a smoothing constant, typically equal to 2/(Period+1) for the EMA.
This approach can be further developed by introducing more smoothing constants and output control (See double/triple exponential smoothing - alpha-beta filter) .
The moving average i propose will use only one smoothing constant, and is described as follow :
a = nz(a ) + alpha*nz(A )
b = nz(b ) + alpha*nz(B )
y = ema(a + b,p1)
A = src - y
B = src - ema(y,p2)
The filter is divided into two components a and b (more terms can add more control/effects if chosen well) , a adjust itself to the output error and is responsive while b is independent of the output and is mainly smoother, adding those components together create an output y , A is the output error and B is the error of an exponential moving average.
Comparison
There are a lot of low-lag filters out there, but the overshoots they induce in order to reduce lag is not a great effect. The first comparison is with a least square moving average, a moving average who fit a line in a price window of period length .
Lsma in blue and WRMA in red with both length = 100 . The lsma is a bit smoother but induce terrible overshoots
ZLMA in blue and WRMA in red with both length = 100 . The lag difference between each moving average is really low while VWRMA is way more precise.
Hull MA in blue and WRMA in red with both length = 100 . The Hull MA have similar overshoots than the LSMA.
Reduced overshoots moving average (ROMA) in blue and WRMA in red with both length = 100 . ROMA is an indicator i have made to reduce the overshoots of a LSMA, but at the end WRMA still reduce way more the overshoots while being smoother and having similar lag.
I have added a smoother version, just activate the extra smooth option in the indicator settings window. Here the result with length = 200 :
This result is a little bit similar to a 2 order Butterworth filter. Our filter have more overshoots which in this case could be useful to reduce the error with edges since other low pass filters tend to smooth their amplitude thus reducing edge estimation precision.
Conclusions
I have presented a well rounded filter in term of smoothness/stability and reactivity. Try to add more terms to have different results, you could maybe end up with interesting results, if its the case share them with the community :)
As for control theory i have seen neural networks integrated to Kalman flters which leaded to great accuracy, AI is everywhere and promise to be a game a changer in real time data smoothing. So i asked myself if it was possible for a neural networks to develop pinescript indicators, if yes then i could be replaced by AI ? Brrr how frightening.
Thanks for reading :)
Optimised Volume-weighted Moving AverageAbout
This tool measures the profitability of every volume-weighted moving average length combination for the entire history of the instrument that it is applied,
and only displays the most profitable combination in real-time which means that this indicator is fully functional for trading.
The Optimised Volume-weighted Moving Average can be tested using a Volume-weighted Moving Average Strategy and the Strategy Tester panel on any instrument or time-stamp. It will always display the lengths of the most profitable exponential moving average lengths at the current moment in time.
This can be used on its own, or paired with the Intelligent Volume-weighted Moving Average (AI) for a better understanding of the indicators movements.
The Intelligent Volume-weighted Moving Average (AI) uses this tool as a predictive method for machine learning.
Optimised Exponential Moving AverageAbout
This tool measures the profitability of every exponential moving average length combination for the entire history of the instrument that it is applied and only displays the most profitable combination in real-time meaning that this indicator is fully functional for trading.
The Optimised Exponential Moving Average can be tested using an Exponential Moving Average strategy and the Strategy Tester panel on any instrument or time-stamp. It will always display the lengths of the most profitable exponential moving average lengths at the current moment in time.
This can be used on its own, or paired with the Intelligent Exponential Moving Average (AI) for a better understanding of the indicators movements.
The Intelligent Exponential Moving Average (AI) uses this tool as a predictive method for machine learning.
MACD AI Flux Pro Dashboard V. 2Acknowledgment
This indicator is built upon the MACD-V (Volatility-Normalized MACD) methodology originally created by Alex Spiroglou, CMT, whose research (2015–2022) introduced the principle of normalizing MACD momentum by volatility (MACD/ATR). Full acknowledgment and credit are hereby given to Mr. Spiroglou as the original author of the MACD-V concept and framework.
Indicator Overview — MACD-V Flux Pro Dashboard V.2
The MACD-V Flux Pro Dashboard advances Spiroglou’s volatility-normalized foundation into a comprehensive multi-system architecture that unifies momentum, trend, volatility, and compression analytics in one visual framework. It is engineered for precision decision-making in both intraday and swing-trading environments.
Key Dashboard Features:
Dynamic Probability Engine: Calculates real-time long and short probabilities by weighting momentum, slope, compression, and volume pressure components into a composite score.
Multi-Timeframe Confirmation (HTF Tiles): Displays live directional agreement across fast, mid, and slow timeframes for confidence filtering and signal validation.
Regime Detection System: Automatically classifies the market as Trend Up, Trend Down, Compression, or Transition, applying background color cues for instant context.
Risk and News Filters: Integrates ATR-based risk gating and customizable “mute windows” to block trade signals during high-volatility or scheduled news events.
VWAP and Adaptive Bands: Plots VWAP with configurable ATR or standard-deviation bands to highlight over-extension and pullback zones.
Trend-Day and Opening-Range Logic: Monitors RTH (Regular Trading Hours) price behavior to identify potential trend-day conditions.
Smart Entry Arrows: Generates visual long/short signals only when multiple subsystems confirm direction, slope strength, and proximity to VWAP within defined thresholds.
On-Chart Dashboard Panel: Presents live metrics including probability bias, regime state, ATR level, risk status, and news filters with adaptive color-coding and optional emoji cues for intuitive interpretation.
Chart Display Summary:
All elements are presented directly on the main chart, combining price structure, VWAP bands, EMAs, and regime background shading with the real-time dashboard panel. The design eliminates the need for a secondary pane, offering a consolidated and context-rich view of market dynamics
XqKtPvRwSd-StrategyTradingView Pine Script Suite (v4.0) — General Overview
Purpose
A modular indicator and strategy suite designed for crypto markets, focusing on trend detection, momentum, range visualization, and signal generation. The suite supports popular symbols (BTC, ETH, BNB, SOL, DOGE) and offers flexible visualization and alert options.
Main Components
- v4.0-indicator: Multi-signal display for monitoring market conditions and trend bias.
- v4.0-watch-15m: Watchlist-style indicator with symbol-aware auto-tuning and optional chart timeframe adaptation.
- v4.0-strategy: Backtestable strategy using a unified, SuperTrend-based trend determination for entries/exits.
- v4.0-range: Range and structure visualization with dynamic lines, zones, and basic breakout cues.
- Two Poles.pinescript and fengzi/Two Poles Trend: Low-lag trend and smoothing filters for stability.
- supertrend.pinescript: SuperTrend variations used across the suite for direction and stops.
- fengzi utilities:
- Hann Window FIR Filter: Denoising and smoothing to reduce noise without excessive lag.
- Heatmap + Hann Resonance: Visual heat/energy mapping for momentum and resonance cues.
- Heatmap Trailing Stop with Breakouts: Trailing stop framework with breakout detection.
- Additional modules: super Z, AI JX, v3.2, and 4.0.pinescript (combined or experimental entries).
Key Features
- Unified Trend Logic: Strategy and visual components rely on a consistent SuperTrend-based direction model, improving clarity and consistency.
- Adaptive Timeframe: Option to use the chart’s timeframe; parameters scale from a 15m baseline to maintain relative behavior.
- Symbol Auto-Tuning: Default parameter sets are tailored for common crypto symbols; manual overrides are available.
- RSI Top/Bottom Hints: Optional dynamic cues for potential peaks in uptrends and troughs in downtrends; can contribute to scoring and alerts.
- Visual Customization: Configurable markers (arrows, dots, crosses), colors, line widths, and subtle background highlighting.
- Scoring and Clustering: Combines checks into a simplified score and clusters signals to reduce noise.
- Alerts: Supports TradingView alerts for entries, exits, and RSI hints.
- Compatibility: Designed to compile across common Pine versions and avoid local-scope plotting issues.
Basic Usage
- Add the indicator or strategy to your chart depending on your goal (monitoring vs. backtesting).
- Choose to follow the chart’s timeframe or set a working timeframe manually.
- Keep symbol auto-tuning enabled for a balanced default, or adjust parameters to match your preferences.
- Toggle optional modules (RSI hints, scoring contribution, visualization) based on your needs.
- For strategies, run backtests across your target period and review performance metrics (win rate, drawdown, and trade frequency).
Configuration Guidelines
- For earlier entries: lower SuperTrend period or multiplier; relax RSI thresholds.
- For more conservative behavior: increase SuperTrend period or multiplier; tighten thresholds; use stricter RSI logic.
- For cleaner signals: rely on the unified trend and consider limiting trades during extreme volatility or illiquid sessions.
Outputs
- Trend markers and lines indicating bullish/bearish bias and reversals.
- Range drawings with dynamic line coordinates, zones, and visual cues for consolidations and breakouts.
- Optional multi-timeframe dashboard-style summaries where applicable.
Extensibility
- Parameters and defaults can be extended for additional symbols and styles.
- Optional weighting or neutrality rules can be added to trend logic if you prefer stricter confirmation.
- Additional filters (volatility, session, volume) can be integrated to refine entries and exits.
Notes
- Not financial advice; backtest thoroughly before using any strategy live.
- Performance and signal quality vary by symbol, timeframe, and market conditions; adjust parameters as needed.
- Pine version differences may require minor adjustments; keep your environment up to date.
Dammu AI ADVANCED PRO1. Indicator Overview
Name: Dammu
Type: Overlay indicator (draws on price chart)
Purpose: Combines SuperTrend, SMA/EMA trends, Swing/Structure analysis, Order Blocks, Fair Value Gaps, High/Low levels, TP/SL labels, and alerts.
Pine Script Version: v5
2. SuperTrend Module
Computes SuperTrend line using ATR and sensitivity.
Signals:
Bullish: Price crosses above SuperTrend.
Bearish: Price crosses below SuperTrend.
Plots buy/sell labels 🚀🐻 based on SMA comparison and SuperTrend cross.
3. SMA/EMA Trend Components
SMA8 & SMA9: Used for additional trend confirmation.
EMA lines: Multiple EMAs with different multipliers for trend detection.
Trend Cloud: Uses Hull MA for trend smoothing.
4. Risk Management
TP/SL Levels: Automatic calculation of stop-loss and take-profit (TP1, TP2, TP3).
Configurable ATR-based risk percentage.
Lines and labels drawn for visual TP/SL.
5. Chart Features
Smooth Range Filter: Filters noise for trend detection.
Colored Trend Cloud: Upward trend = cyan, downward = red.
Sideways Market: ADX filter to color bars purple if trend is weak/sideways.
Bar Colors: Green/red based on SuperTrend signals.
6. Swing & Structure Analysis
Detects Swing Highs/Lows, labels as HH, LH, LL, HL.
Detects CHoCH (Change of Character) or BOS (Break of Structure).
Can show internal or swing structures with configurable label size and color.
7. Order Blocks (Smart Money Concepts)
Detects Internal Order Blocks (iOB) and Swing Order Blocks (OB).
Stores top/bottom/left/time/type in arrays.
Colors and shows boxes based on bullish/bearish type.
Automatically deletes OB if price breaks the block.
8. Fair Value Gaps (FVG)
Identifies gaps between candles as potential trading zones.
Configurable bullish/bearish colors and extension bars.
9. EQH/EQL (Equal Highs/Lows)
Detects equal highs/lows using a threshold.
Plots dotted lines and labels EQH/EQL.
10. High/Low Levels MTF
Optional plotting of previous daily, weekly, monthly highs/lows.
11. Premium/Discount Zones
Plots Premium, Discount, and Equilibrium Zones.
Colors: Premium = red, Discount = green, Equilibrium = gray.
12. Alerts
Buy/Sell alerts for:
SuperTrend crossover
BOS/CHoCH (swing/internal)
EQH/EQL triggers
13. Miscellaneous
Configurable visuals: line style, label size, transparency.
Adjustable volatility filters, ATR lengths, smoothing constants.
Integrated risk & reward visualization.
✅ In short:
This is an all-in-one Smart Money + Trend indicator with SuperTrend signals, swing/structure detection, order blocks, FVGs, EQH/EQL, TP/SL visualization, and optional alerts. It’s designed for both trend-following and order-block-based trading.
If you want, I can make a super-short 1-paragraph version that summarizes it even faster for quick reference.
Dammu AI PROType & Purpose
Multi-functional trend, swing, and smart money concept indicator.
Combines SuperTrend, SMA, ATR-based risk management, swing structures, order blocks, EQH/EQL, and Fair Value Gaps (FVG).
Designed for identifying trends, entries/exits, and support/resistance zones.
2. Trend Detection
SuperTrend with ATR smoothing (nsensitivity*7 factor) for buy/sell signals.
SMA filter (8 & 9 periods) confirms trend strength.
Bar color changes:
Green if close > supertrend.
Red if close < supertrend.
Cirrus Cloud highlights trend zones with semi-transparent colors.
3. Swing & Structure
Detects pivot highs/lows and labels them as HH/LH (Highs), HL/LL (Lows).
Generates BOS (Break of Structure) and CHoCH (Change of Character) signals.
Internal swing structures and order blocks for short-term intraday moves.
4. Order Blocks
Internal Order Blocks (iOBs) and Swing Order Blocks (OBs).
Boxes drawn for bullish/bearish zones.
Auto-delete when broken.
Option to filter blocks by ATR or Cumulative Mean Range.
5. Risk Management
TP/SL levels based on ATR and user-defined % risk.
Shows lines and labels for:
Entry
Stop Loss
TP1, TP2, TP3
Adjustable line style (solid/dashed/dotted).
6. Fair Value Gaps (FVG)
Highlights bullish and bearish gaps.
Option for auto-threshold filtering.
Extendable FVG boxes.
7. EQH/EQL
Detects Equal Highs (EQH) and Equal Lows (EQL) for potential reversals.
Dotted lines with labels.
8. Smart Money Concepts (SMC) Features
Shows:
Swings (internal & swing structure)
Internal order blocks
Premium/Discount zones
Fair Value Gaps
Highs/Lows from previous day/week/month
Configurable for historical vs present display.
9. Alerts
Buy/Sell triggers:
bull = crossover of close above SuperTrend.
bear = crossunder of close below SuperTrend.
Alerts for BOS/CHoCH, EQH/EQL, and OB breaks.
10. Visualization
Trend clouds, colored bars, SMA markers, SuperTrend labels.
Multi-layered info displayed without cluttering the chart.
Customizable colors, line styles, and transparency.
✅ Summary:
This indicator is a comprehensive trading tool for trend detection, swing structure, order block analysis, and risk management. It’s built for smart money and SMC-based trading, offering visual cues and alerts for key trading decisions.
Buy/Sell Signals [WynTrader]My name is WynTrader. I cumulate 24 years of experience.
This Indicator produces Buy/Sell Signals using these features:
- Fast and Slow Moving averages (modifiable) optimized at EMA-8 and SMA-35
- Bollinger Bands (modifiable) optimized at Basis-18 and Multiplier-1
Also, the Buy/Sell Signals are conditioned by three Filters (optionable, modifiable) :
. Bollinger-Bands Lookback
. High-Low vs Candle Range %
. Distance from Fast and Slow Moving averages %
The Results Calculation presented in a Table are based :
- on the Current Chart Visible Range (optionable)
or
- on the specified TIme Frame Start and End Dates (modifiable)
The Table shows Calculation Results of the Buy and Sell Signals that are activated on the chart, with the Number of Trades (Signals), the Winning Points and the Win Rate %. The Buy&Hold starts calculation at the first Buy encountered.
So be surprised by my Buy/Sell Indicator. But always remember that the world is not perfect. The Graal Indicator, even with AI, doesn't already exist, maybe one day (all of us richier...), but not now. , depending on the chart product (stocks...), volatility, probabilities, unpredictable behaviour. , the moves, etc.
Enjoy
WynTrader
P. s. :
My name is WynTrader. I cumulate 24 years of experience. In 2001, I took an intensive technical analysis course taught by an exceptional friend, Cyril, who taught me everything I know. The foundation I gained through his teaching remains solid and relevant to this day, never failing me.
Before i made this Indicator, I have used many Trading View Buy/Sell Indicators using alone or combined RSI, SMI, OBV, MACD ATR, ADX, Neural, Fractal, Geometry, etc., that are already available for the Trading View community. A great thanks to those who give their time that help me build this tool.
Note that I'm not a programmer, so... ;-)
Single MA Distance Oscillator with Threshold Colorsused from another developer and Ai modified. input the percentage (make sure if percent below 1 you input 0. and then the number
Quarter Levels — Auto Recentering NQ onlyQuarter Levels — Auto Recentering (PERMANENT) + Big Offset Labels
What it is
This tool paints true horizontal key levels that traders naturally anchor to: the 00 / 25 / 50 / 75 quarter levels (black), the 35 / 65 / 90 reaction levels (red), and the 10 / 80 sweep/edge levels (purple).
Lines are infinite horizontals and the grid auto-recenters ±200 points around current price each new bar. Labels on the right show the last two digits (e.g., 25, 35, 50, 65, 75, 80, 90), so you instantly know which level you’re at.
Why it helps
Markets often “snap” to simple numbers. These levels create a clean scaffold for intraday structure, pullbacks, and rotations—without clutter or lagging math.
Color Legend
Black — 00 / 25 / 50 / 75:
Core quarter levels. Expect frequent pauses, re-tests, and rotations.
Use: default S/R map; bias for mean-reversion inside ranges.
Red — 35 / 65 / 90:
“Continuation / reaction” levels. Price often accelerates through these once momentum takes.
Use: breakout guides and precise take-profit targets.
Purple — 10 / 80:
Sweep / edge levels. Price often wicks into these and rejects.
Use: fade the last push, or confirm a sweep before a reversal.
How it works
The script draws the levels as extend.both horizontals (not derived from candle points).
Every new bar, it rebuilds the grid around close ± 200 pts (editable in code: RANGE_POINTS).
Prices are snapped to tick (syminfo.mintick) so lines lock to the Y-axis.
Labels show only the offset (two-digit number) to keep the chart clean.
Setup & Customization
No inputs required.
If you want tweaks, open the code and edit at the top:
RANGE_POINTS – widen/narrow the vertical coverage.
LABEL_OFFSET – push labels further to the right.
LABEL_SIZE – size.small / normal / large.
Color & width constants (per group).
Practical Use (playbook)
Use this grid as a price map, not a signal generator. Combine it with your execution tools.
1) In Range Conditions
Fade to Black: When price rotates inside a range, look for exhaustion into black levels (00/25/50/75).
Plan: wait for rejection (wick + failed follow-through), enter back toward the mid/next quarter. Stop just beyond the level; first target the next red or black.
Purple Sweeps: Watch quick spikes into 10/80 that immediately fail.
Plan: fade the sweep with tight risk; scale out at 25/75; hold a runner to 50.
2) In Trend / Momentum
Red Rails (35/65/90): When momentum is strong, price often steps through red levels cleanly.
Plan: use them as continuation targets or trail anchors. If pullback holds above a prior red level, consider continuation with stop below that level.
Quarter-to-Quarter Ladders: In clean trends, expect quarter-to-quarter traversals (00→25→50→75→00…).
Plan: add on pullbacks to 25 or 50 with trend confirmation (e.g., 9/21 EMA stack or anchored VWAP hold).
3) Confluence (AI-logic suggestions)
Pair the grid with any two of:
VWAP / Anchored VWAP: Rejections at a quarter level + VWAP = higher quality entry.
EMAs (9/21/50/200): Use as directional filter. Only take longs at quarters when fast EMAs > slow EMAs.
Liquidity cues: Prior high/low, session O/H/L, or liquidity pools aligning with a quarter level.
Orderflow / footprint: Aggressive delta through a red level? Expect follow-through to the next black or red.
Volatility (ATR): If ATR expands, lean more on red levels (continuations). In compression, lean more on black and purple (fades).
Risk & Management Tips
Stops: Just beyond the level you’re trading against. Let the level “be wrong” to prove you wrong.
Targets: Next red or black line. Scale at the first, hold a small runner to the next.
Session awareness: Levels interact differently in Asia/EU/US. In US RTH, expect sharper responses at red and purple.
Timeframes: Works across all. Intraday (1–15m) for entries; 1h/4h daily for context.
Do not chase: If you miss the touch, wait for the next level; the map is dense by design.
Limitations
This indicator does not generate buy/sell signals; it supplies a stable structure.
In runaway trends, price can cut through multiple lines—use trend filters and risk caps.
Auto-recentering means the visible band travels with price; if you need static levels far away, increase RANGE_POINTS.
Troubleshooting
No labels? Make sure max_labels_count isn’t hit and SHOW_LABELS = true.
Labels too close to price? Increase LABEL_OFFSET.
Too many lines? Reduce RANGE_POINTS or hide a color group in code.
Credits / License
Created by: TRC — The Refuge Camp
License: Free to use on TradingView with attribution.
If you fork or embed, please credit “TRC — The Refuge Camp” and link back to the original post/profile.
Quick Start (TL;DR)
Add the script.
Trade the map:
Fade purple/black in ranges.
Target red/black in trends.
Combine with VWAP/EMAs or your orderflow tool for confirmation.
Respect stops just beyond the level; scale at the next line.
Happy trading, and welcome to the Quarter-Level grid.
Bubble Chart LiteBubble Chart Lite - Visual Market Intelligence
⸻
⚡ Quick Start - Here is how you get started in 30 seconds
Default view (Y-axis: None) = market heatmap
X-axis always = performance
Bubble size = importance (your choice of metric)
Hover any bubble for details
Switch timeframes to change the measurement window
Pick any stock ticker to see their friends
Pick one of the 143 etfs listed below and see their top constituents
That's it. Everything else is deeper cuts of data
⸻
Overview
The Bubble Chart is a market-wide visual map designed to instantly reveal how thousands of stocks and ETFs are performing relative to their peers, all in a single glance.
It dynamically builds relationships between ~3,400 stocks and 143 ETFs , each with its own “friends list” of most-connected tickers. It’s a bit unlike all the other indicators, which you’ll see shortly. It’s a very Tops Down, then Sideways view of the market.
The 144 ETFs covered in the Bubble Chart indicator are listed here in this watchlist: www.tradingview.com
Each bubble represents a security.
X-axis → performance (% change)
Y-axis → variable (you choose the insight)
Bubble size → market cap, relative weight, or %volume
Color → relative performance (green up, red down)
Border → sector color
Your current chart’s timeframe determines the measurement window:
Intraday chart → today so far
Daily chart → week-to-date (WTD)
Weekly chart → month-to-date (MTD)
Monthly chart → year-to-date (YTD)
Everything is relative to that timeframe’s performance window — making it as useful for morning scans as for long-term sector rotations. I recommend starting with an intraday chart. The bubbles represent the day so far on this timeframe.
⸻
📦 Version Differences
Bubble Chart Lite (Free):
✓ All features and dimensions
✓ Up to 5 bubbles displayed
✓ Perfect for tracking top movers
Bubble Chart (Invite-Only):
✓ All features and dimensions
✓ Up to 38 bubbles displayed
✓ See actual market breadth and structure
✓ Indicator name: “Bubble Chart”
✓ Available under the indicator “Bubble Chart” (Invite-Only) — details on my profile
⸻
📊 Y-Axis Options
1. “None” - Heatmap Mode
By default, the Y-axis is set to “None”.
In this mode, the chart functions as a market heatmap, with:
Left-to-right representing relative performance (% change)
Bubble color indicating gain/loss
Bubble size reflecting your chosen metric (Market Cap, Weight, or %Volume)
Up-down randomized just for bubble separation
Think of it as a fancy heatmap with extra context — sector coloring, bubble sizing, and tooltips that surface live data.
Perfect for a quick snapshot of the day’s winners and losers across your selected universe.
⸻
1. %Turnover
This measures conviction behind each move.
Turnover = current money flow vs. average money flow over your lookback window.
A large % move with low turnover = a weak move with little backing.
A moderate % move with high turnover = strong participation, higher conviction.
This is my personal favorite morning setup — it instantly reveals where real buying and selling pressure is emerging as the session unfolds.
A horizontal line across your selected ticker acts as a benchmark, so you can compare others’ conviction levels relative to it.
Any %turnover score >100 means more money than average is flowing in and out of this name. In the example above based on the top 5 holdings of GDX, there was one standout performer, and that’s WPM. this should put WPM on a watchlist if you’re interested in gold. It shows, that at least for one day, the market was putting money behind it.And more so than the other top 5 miners.
⸻
2. %ATR
Measures range expansion or compression relative to average volatility.
A stock can move big in price but stay inside a tight range → no expansion.
A stock can move little but break its typical volatility boundary → range expansion.
Expansion often signals momentum continuation; compression after large moves can precede turnarounds or consolidations.
This view helps you spot early volatility inflection points.
In the example above, in the food and beverage space, based on the top 5 holdings of the ETF PBJ, KR and DASH had moves that will expand their ATR. This means volatility is increasing for this ticker, in the direction of the color of the circle. So KR is expanding to the upside, while DASH is expanding to the downside. It should make a person cautious to go long DASH, as that’s not what the market is showing.The other moves by the other bobbles, show up as volatility contraction. Their price (CTVA, PBJ, KDP, and SYY) is stabilizing. (over the lookback period in settings).
⸻
3. ROC(5) Z-Score
Z-Score quantifies how far a data point deviates from its mean, measured in standard deviations.
Here it’s applied to 5-period Rate of Change (ROC5).
A high positive Z-Score = performance far above its historical average.
A low (negative) Z-Score = deeply oversold vs. history.
Use this view to identify stretched momentum or mean-reversion candidates:
Stocks high on the Y-axis and green = extended upside momentum
Stocks high but red = potential reversal zones
Stocks low and red = extreme washouts that may soon rebound
This makes it a powerful stock-picking lens for traders who look for reversions or contrarian entries.
The following is the XLU and its 5 top holdings. Looked at on the daily timeframe, which means the ROC(5) score is for its weekly ROC (see timeframe discussion above).
What you can see here is NEE is at a z-score of 205 (it’s 2.05 but we multiply by 100 for spacing). This means its weekly ROC(5) only happens 4-5 percent of the time. This is a perfect candidate to fade the move.
As you can see in the graph below, that charts NEE, every time its ROC(5) z-score (the bottom pane) has reached this level on the weekly, the move ends (at least for a short period of time. The rubber band of momentum is too far extended. You can use this for long setups too
⸻
4. RSI(15) Z-Score
Similar to the ROC version, but based on RSI(15).
It contextualizes RSI against its own historical distribution, not the fixed 0–100 scale.
When RSI’s Z-Score is above +100 → historically overbought.
Below -100 → historically oversold.
A stock with a high RSI Z-Score but negative performance may be starting to roll over.
A stock with a low RSI Z-Score but positive performance could be beginning a rebound.
This lens is especially powerful for early spotting of turning points in swing and position trades.
Above is an example of how to read it with the top 5 stocks in the IFRA ETF.
⸻
5. %52-Week High / %52-Week Low
These two let you visualize positioning within the broader yearly range.
%52-Week High:
Shows how close each ticker is to its highs. Stocks near the top may be in breakout mode.
%52-Week Low:
Shows distance from the lows. Watching these can highlight potential recovery trades — many reversals start when beaten-down stocks begin to cluster and climb from their lows.
Are you really going to want to mess around with VZ? Other companies are winning the race
⸻
⚙️ Bubble Size Options
Market Cap-
Larger companies = larger bubbles.
Ideal for weighting visibility by overall size of influence in the market or sector.
ETF/Friend Weight-
Scales bubbles by their relationship weight to the target ETF or stock.
This helps identify which peers or constituents exert the most pull within the current context.
%Volume-
This scales by relative volume to average volume.
Big bubbles here mean unusual activity, perfect for spotting where participation is surging.
⸻
👥 Friends — Relationship Mapping
Every ticker on the chart has its own “friends list.”
These aren’t arbitrary. They’re discovered through a multi-stage algorithm that analyzes co-occurrence of holdings across ETFs and sectors, roughly like social network analysis for stocks. This is what allows a chart of one stock to intelligently surface others that behave like it, whether through shared ETFs, sector overlap, or statistical co-presence.
Why Friends Matter: When you load AAPL, the chart doesn't just show random stocks. It shows AAPL's "friends", the tickers most connected to it through:
Shared ETF holdings
Sector relationships
Statistical co-movement
This means you're seeing AAPL's context, not just AAPL. Example: AAPL up 2% might look strong, but if all its friends are up 3-4%, AAPL is actually lagging. The chart reveals this instantly.
⸻
Common Setups - do these today
Morning Momentum Scan: - Y-axis: %Turnover - Bubble Size: %Volume - Look for: Top-right quadrant (high performance + high conviction)
Reversal Hunting: - Y-axis: RSI(15) Z-Score - Look for: Red bubbles above +100 (overbought rolling over) Green bubbles below -100 (oversold bouncing)
Sector Rotation: - Y-axis: None (heatmap mode) - Bubble Size: Market Cap - Look for: Color clustering by sector (border colors)
⸻
🧩 Data Sources
ETF Constituents:
ETF holdings are derived from information filed with the SEC’s EDGAR database, specifically N-PORT-P filings. These filings are public records submitted by ETF issuers.
Because EDGAR data can vary in structure and naming conventions, additional parsing, fuzzy matching, and ticker reconciliation logic were applied. Some inconsistencies may remain, and minor inaccuracies are possible.
EDGAR filings can also lag slightly behind real-time changes to ETF portfolios; however, for this visualization tool, that level of latency does not materially affect its purpose or insights.
Exchange & Share Count Data:
Information on exchanges and outstanding shares primarily comes from the SEC Company Facts API.
When unavailable, supplemental values are inferred from public SEC filings such as 8-K, 10-Q, and 10-K reports, and the SEC Company Submissions API for general company metadata.
All such data is publicly accessible through the SEC’s online systems.
I will update the SEC information on the ETFs once every 3 months to ensure etf constituent accuracy.
Sector & Industry Classification:
Sector and industry classifications were developed through a custom workflow that combines automated and human-reviewed methods.
An internal AI system analyzed each company’s publicly available website information to summarize business activities and assign one of 144 custom-defined industry categories.
Results were cross-checked by multiple independent classification models, and any uncertain outputs were manually reviewed for accuracy.
To improve interpretive consistency, publicly available information from StockAnalysis.com was also referenced (not republished) to inform final classifications.
Their content was used in accordance with their stated policy allowing limited reference with attribution — no full content or proprietary data was reproduced.
⸻
🚀 How to Use It
Load the Bubble Chart on any stock, ETF, or futures symbol.
Choose your Y-axis insight — start with “None” for the heatmap.
Adjust bubble size to highlight capital weight or activity.
Switch timeframes to shift context (today, this week, month, or year).
Hover bubbles for details: sector, turnover, z-scores, %volume, and more.
⸻
❓ Frequently Asked Questions
Q: Why do I only see 5 bubbles?
A: You're using Bubble Chart Lite. The full version shows up to 39 bubbles simultaneously for complete market breadth..
To get access:
Find the "Bubble Chart" (invite-only) indicator on TradingView
Read the description for access instructions
Or visit my TradingView profile for details
Q: Can I customize which tickers appear?
A: The indicator automatically selects the most relevant tickers based on the current chart's symbol and the friends algorithm. This ensures you're seeing context, not random stocks.
Q: What timeframe should I use?
A: Any timeframe works. The chart adapts: - Intraday = today's performance - Daily = week-to-date - Weekly = month-to-date - Monthly = year-to-date
Q: How often does the friends list update?
A: Friends relationships are recalculated periodically as ETF holdings change (once every 3 months). The relationships are stable enough that daily changes are minimal.
Q: Does this work on crypto/forex?
A: Currently optimized for US equities and ETFs. Other asset classes may show limited friends data.
Q: The chart looks cluttered. Help?
A: Start with Y-axis: None and Bubble Size: Market Cap. You can also choose to pick less number of bubbles which will clear up the chart
⸻
The Bubble Chart is a market topology engine that visualizes participation, conviction, volatility, and sentiment in real time.
Whether you’re scanning morning momentum, identifying exhausted moves, or exploring ETF ecosystems, it gives you a spatial view of where the action really is.