Fib RSI++ by [JohnnySnow]Fib RSI++ by is an RSI Inspired by my absolutely favorite RSI on tradingview: RSI & EMA with Reverse Calculator Panel by balipour.
Built for quicker and easily identify prices at current RSI /possibly reversals/ RSI direction and RSI landings.
From balipour, I reuse /adapt to pinescriptV5 3 lines of code ( ) - the balipour implementation for reversing RSI formula in order to calculate price estimation based on the Given RSI level. Credits to the author.
Inspired by it, I also combine RSI with a MA but tuned to reads better the support/resistance levels (my humble opinion).
For quicker price target identification 2 features were added:
- Gridlines based on Fib levels, standard overbought/oversold levels and other levels I personally use. All of the grid lines can be configured according to user preferences.
- 2 information tables:
--First with a collection of 'close' numbers and Fib RSI levels price estimations at given RSI
--The second table allows the user to add up to 3 custom RSI levels to further target the price estimation.
Author UI Preferences to be used with this indicator: dark theme, hidden vertical and horizontal chart gridlines.
Поиск скриптов по запросу "tradingview+筹码结构"
Multi-timeframe MAs + Stoch RSI SignalsHello traders,
I welcome you to my first published script on TradingView: “Multi-timeframe Moving Averages + Stochastic RSI”.
The script is based on a simple formula: Buy signals are generated when a fast moving average is above a slower moving average (uptrend) and the Stochastic RSI K line is crossing above the oversold level (entry).
Sell signals are generated when a fast moving average is below a slower moving average (downtrend) and the Stochastic RSI K line is crossing below the overbought level (entry).
This indicator works best in strong trends!
**Please note the above example has repainting turned on which may produce unrealistic results when viewing historical data. See below for more information regarding this and how you can turn it off.**
The user has the following inputs:
- Option to change the Stochastic RSI settings, including the oversold and overbought levels.
- Option to enter any value for both the Fast Moving Average and the Slow Moving Average.
- Option to change between EMA or SMA for each moving average.
- Multiple time frames to choose from, as well as the ability to selectively turn off individual time frames (both plots and alerts).
(Default time frames are 1 hour, 4 hour, and Daily. You can have a 4th time frame by changing your current time frame to something lower than the other 3 time frames)
- Turn on/off repainting: If repainting is turned on you will get an alert and buy/sell signal on chart immediately when condition is met, however the signal may disappear from chart if the condition reverses during the same candle.
If repainting is turned off, the indicator will wait for the candle to close before issuing the alert and painting the signal on chart.
For higher time frames, the indicator will wait for the candle in the higher time frame to close before issuing a signal if repaint is turned off. Default is set to Repaint on, so please be aware of this if you do not want repainting.
How to use alerts:
- Before you do anything, make sure your current time frame is the lowest time frame you’d like alerts on, as you will still receive alerts for the higher time frames you selected in settings.
- Once you have all the settings changed to how you like, save your chart first. Then right click on any of the indicator’s buy/sell signals on the chart and click “Add Alert on MAs + Stoch RSI”.
- Make sure “Any alert() function call” is selected under the Condition.
- You can delete or change the text in “Alert name” if you want as the alert message is already built into the indicator, and it will tell you in the alert message which asset and time frame to buy or sell.
Other things to note:
- The indicator will not display the buy/sell signals of lower time frames when you are on a higher time frame. This was done purposely to reduce clutter on the chart when you switch to higher time frames.
- While the alert message will tell you which time frame a signal was generated, the plots on the chart will instead show “Buy/Sell TF1, or TF2, or TF3”.
If the signal is from the current time frame that the alert was created on, then it will simply show “Buy” or “Sell”.
Hope you guys enjoy using this one, please drop a like if you found it useful. If anyone wants to modify my script in any way, please just credit me for the original work when you publish the script. Good luck!
Ultimate Screener TemplateHello Traders
With the Ultimate Strategy Template , I shared a template to connect any indicator to this template and get backtesting results in less than a few minutes
Now sharing another template ... many traders ask me to develop for them a screener/scanner based on a custom indicator on TradingView.
The current TradingView screeners are great but don't allow for much customization; as we can only select pre-defined filters
I don't know when we'll be able to natively screen among hundreds of assets with a custom indicator... then.... I created this template for the time being.... which should
A whole new world
The Ultimate Screener Template screens over 38 securities.
What's very cool is that you'll only need to create 1 alert to scan over 38 securities: Explanation with this image here
I totally understand that not all TradingView accounts have a lot of alarms; with this template, you can multiply the number of custom alerts you're initially allowed to.
What if I need to set alerts on more than 38 securities?
Pretty straightforward... you can create alerts only if the indicator is added to your chart first.
So if you need let's say 100 securities, add this indicator 3 times on your chart (38*3 > 100) and then... edit the securities for your 3 indicators
How to update your Screener settings
Alert mode
As per Pinescript reference , this template allows setting the alert frequency
Possible values are:
- alert.freq_all (all function calls trigger the alert)
- alert.freq_once_per_bar (the first function call during the bar triggers the alert)
- alert.freq_once_per_bar_close (the function call triggers the alert only when it occurs during the last script iteration of the real-time bar when it closes).
All-time-high and All-time-low
This template shows how to capture ATH and ATL alerts across many securities
I used the functions from Quantnomad:
Whenever a new ATH or ATL is made, the screener will send a personalized alarm with a personalized text based on the security triggering this alarm
The code is pretty straightforward and shows you the part you'll need to update to transform your favorite custom indicator into a powerful screener.
If anything is unclear in the code, please leave a comment and I'll respond as soon as possible
All the best
Dave
Flawless Victory Strategy - 15min BTC Machine Learning StrategyHello everyone, I am a heavy Python programmer bringing machine learning to TradingView. This 15 minute Bitcoin Long strategy was created using a machine learning library and 1 year of historical data in Python. Every parameter is hyper optimized to bring you the most profitable buy and sell signals for Bitcoin on the 15min chart. The historical Bitcoin data was gathered from Binance API, in case you want to know the best exchange to use this long strategy. It is a simple Bollinger Band and RSI strategy with two versions included in the tradingview settings. The first version has a Sharpe Ratio of 7.5 which is amazing, and the second version includes the best stop loss and take profit positions with a Sharpe Ratio of 2.5 . Let me talk a little bit more about how the strategy works. The buy signal is triggered when close price is less than lower Bollinger Band at Std Dev 1, and the RSI is greater than a certain value. The sell signal is triggered when close price is greater than upper Bollinger Band at Std Dev 1, and the RSI is greater than a certain value. What makes this strategy interesting is the parameters the Machine Learning library found when backtesting for the best Sharpe Ratio. I left my computer on for about 28 hours to fully backtest 5000 EPOCHS and get the results. I was able to create a great strategy that might be one of TradingView's best strategies out on the website today. I will continue to apply machine learning to all my strategies from here on forward. Please Let me know if you have any questions or certain strategies you would like me to hyper optimize for you. I'm always willing to create profitable strategies!
P.S. You can always pyramid this strategy for more gains! I just don't add pyramiding when creating my strategies because I want to show you the true win/loss ratio based buying one time and one selling one time. I feel like when creating a strategy that includes pyramiding right off the bat falsifies the win rate. This is my way of being transparent with you all. Have fun trading!
Squeeze MTF HeatmapHere is a multi-timeframe heat map using one of the most apreciated indicators in Tradingview: Squeeze Momentum Indicator by LazyBear.
Study shall be added to 15min chart.
It indicates squeeze and momentum at: 15 min, 30 min, 60 min, 240 min and 1 Day.
Thanks to © azimuthdynamics for inspiration and portion of code
Thanks to Lazy Bear for coding Squeeze Momentum Indicator
Windowed Volume Weighted Moving AverageIntroduction
The concept of windowing was briefly introduced in the Blackman filter post, however windowing is more than just some window functions, and isn't exclusively used in filter design.
Today we will use windowing with the volume weighted moving average, a moving average that weight the price with volume in order to be more reactive when volume is high, that is the moving average is more reactive when the market is more active. The use of windowing in the vwma allow to enhance its performance in the frequency domain which result in a smoother output.
Note that i made a similar indicator long ago, but at that time I was not great at all with math and pinescript in general and the indicator was therefore wrong, i want to remind to the community that i'am not a professional, only an enthusiast, I never claimed to be a master coder and i'am totally open to receive criticism, if I sounded like bragging in the past I apologize, at 20 years old it is still easy to act like a kid, the information contained in my posts is only shared in order to help others but also myself, since sharing is also a way to learn more effectively. That said lets go with the indicator.
Windowing
Windowing consist on applying a window function to a signal, by applying i mostly talk about multiplying, this process is mostly used with windowed sinc filters in order to reduce ripples in the pass/stop band, but can be used with any kind of filters in order to have better frequency domain performance, the only thing we need to do is to multiply the filter weights by a window function.
In order to understand windowing it is useful to visualize this process and understand spectral leakage. Remember that we can describe a signal as the sum of sine/cosine waves of different frequencies, amplitude and phase, leakage is an effect that appear with signals having discontinuities, that is when a signal non periodic.
This figure show a non periodic sine wave of frequency 0.1, a non periodic signal will have is last sample value different from its first sample value, if we where to do its fourier transform we wouldn't end up with a single bin at 0.1 but with more bins, this is spectral leakage, the discontinuities in the signal create additional frequency components. In order to reduce leakage we must make the signal approximately periodic, this is done by making use of window functions.
A window function is symmetric and relatively smooth, all we have to do is to multiply our first non periodic signal with the window function.
We end up with the following windowed signal :
The signal is approximately periodic and leakage has been reduced. Now that we have seen that, it might be useful to see why it is useful in filters.
Remember that the Fourier transform of the filter weights gives us its frequency response, if our weights introduce leakage we end up with ripples, so windowing the filter weights might help reduce the ripples in the frequency response, which result in a smoother filter output.
Volume Weighted Moving Average
A volume weighted moving average is a FIR filter who use volume as filter kernel, therefore the frequency response of this filter always change, it is therefore not wrong to qualify the vwma as an adaptive moving average. Higher volume mean higher weighting of the current closing price value, which therefore produce a more reactive output.
However the smoothness of the moving average is relatively poor.
Windowed Volume Weighted Moving Average
The proposed moving average has a length setting who control the moving average period, and various options that we will describe below. The first option is the type of window, there are many windows, certains more complex than others, here 3 windows are proposed, the famous Blackman window, the Bartlett, and finally the Hanning window, they provide each different level of smoothness. lets compare our moving average with period 100 with a vwma of the same period.
Our moving average in red, and the vwma in blue. As you can see the results are smoother.
The power parameter is used in order to give an even higher weighting to closing prices with high volume, this create a more boxy output. Below is a comparison with a vwma in blue and a powered vwma in red with power = 2 without windowing :
We can then apply a window, here i will choose the Blackman window :
Conclusion
A new moving average based on windowed volume weighting has been proposed. The result are smoother which might therefore reduce whipsaw trades. I wish i could have explained things better, unfortunately windowing isn't something i use much, i wanted to post this moving average earlier this year.
I will be off in France for 1 week, my flight is tomorrow in the morning, therefore i don't think i'll have the possibility to make other posts this year. I want to profit from this occasion to review my year in tradingview.
Many indicators have been posted, some being extremely bad and others really interesting, this year introduced my attempts on estimating the lsma efficiently, the linear channels, an attempt on making lines and remain the first indicator from the v4 i posted if i'am right. Then came the efficient auto-line, who gained some popularity quite fast. Then finally the %G oscillator and the recursive bands where posted, and remain some of the favorites indicators i made. I also wanted to leave this year due to studies, that i totally abandoned, i'am thankful that i chosen to stay.
I also want to express my apologies to any member that i could have offended, i think that i'am not a mean person but i certainly not contest the fact that i'am clumsy, even in my work, however my clumsiness is far greater when it comes to interact with other peoples or a group of peoples, i don't want to hurt anyone, if i made anything that made you feel bad then i'am sincerely sorry, and hope we can start this new year from 0.
Finally i thank the tradingview community for their interest and curiosity, i thank all the great coders who work on making pinescript a better scripting language, i also thank the tradingview staff for their work this year. I wish you all a merry christmas, and an happy new year.
Thanks for reading.
Peak Valley Estimation StrategyIntroduction
Its the first strategy that i post here, so don't expect ground breaking stuff, when testing my indicators i always used prorealtime and not tradingview. This strategy use signals generated by the peak/valley estimator indicator i posted long ago, i think the signals generated where sometimes quite accurate in some markets thus providing potential material for a profitable strategy.
The indicator use 3 parameters, therefore the optimisation process is not easy, but i selected what i judged good parameters values at first glance. The strategy is in its more simple form without stop or anything, the detection of peaks and valley can allow for tighter stops since we expect the price to reverse, but take into account that sops and take profits are parameters subject to optimization process except if selected with strict money management rules and not profit optimization.
Of course trading the strategy in this form is far from being great, if we take into account the market non stationarity then we might expect loss during trending markets. Trend strength indicators could help switch from a reversal to breakout strategy thus maybe providing more control.
I really hope you find an use for the strategy.
Notes
Its been three long years since i started tradingview, and i put more efforts in my indicators than in my studies and life overall, this have created complicated situations and i can't afford to follow up with this, therefore i announce that in the end of june i will leave tradingview for quite a long time, at least until i have my degree. I announce it in advance in case some of you want helps of any kind. I will post all the indicators, both in progress and finished i have made during those three years. I hope you can all understand.
Thanks for reading !
Compare CandlesShows the candles of a specified EXCHANGE:PAIR in an indicator without overlay.
Has the following advantages over the standard comparison in TradingView:
- The compared pair is below your main chart.
- You can see the price of the compared pair.
- You can add multiple compared pairs and all of them will be shown in their own space with their own price.
Super Guppy LogGeometric mean is introduced to the moving averages better capture parabolic, long lasting trends.
Options to plot hlc3 of price, switch off log, and switch to Hull MA.
How to trade Guppy: www.investopedia.com
Original Guppy by ChrisMoody:
Super Guppy by FritzMurphy:
Log-space ideas by fskrypt: tradingview.com/u/fskrypt
Log-space EMAs:
Regular EMAs:
CM Stochastic POP Method 1 - Jake Bernstein_V1A good friend ucsgears recently published a Stochastic Pop Indicator designed by Jake Bernstein with a modified version he found.
I spoke to Jake this morning and asked if he had any updates to his Stochastic POP Trading Method. Attached is a PDF Jake published a while back (Please read for basic rules, which also Includes a New Method). I will release the Additional Method Tomorrow.
Jake asked me to share that he has Updated this Method Recently. Now across all symbols he has found the Stochastic Values of 60 and 30 to be the most profitable. NOTE - This can be Significantly Optimized for certain Symbols/Markets.
Jake Bernstein will be a contributor on TradingView when Backtesting/Strategies are released. Jake is one of the Top Trading System Developers in the world with 45+ years experience and he is going to teach how to create Trading Systems and how to Optimize the correct way.
Below are a few Strategy Results....Soon You Will Be Able To Find Results Like This Yourself on TradingView.com
BackTesting Results Example: EUR-USD Daily Chart Since 01/01/2005
Strategy 1:
Go Long When Stochastic Crosses Above 60. Go Short When Stochastic Crosses Below 30. Exit Long/Short When Stochastic has a Reverse Cross of Entry Value.
Results:
Total Trades = 164
Profit = 50, 126 Pips
Win% = 38.4%
Profit Factor = 1.35
Avg Trade = 306 Pips Profit
***Most Consecutive Wins = 3 ... Most Consecutive Losses = 6
Strategy 2:
Rules - Proprietary Optimization Jake Will Teach. Only Added 1 Additional Exit Rule.
Results:
Total Trades = 164
Profit = 62, 876 Pips!!!
Win% = 38.4%
Profit Factor = 1.44
Avg Trade = 383 Pips Profit
***Most Consecutive Wins = 3 ... Most Consecutive Losses = 6
Strategy 3:
Rules - Proprietary Optimization Jake Will Teach. Only added 1 Additional Exit Rule.
Results:
Winning Percent Increases to 72.6%!!! , Same Amount of Trades.
***Most Consecutive Wins = 21 ...Most Consecutive Losses = 4
Indicator Includes:
-Ability to Color Candles (CheckBox In Inputs Tab)
Green = Long Trade
Blue = No Trade
Red = Short Trade
-Color Coded Stochastic Line based on being Above/Below or In Between Entry Lines.
Link To Jakes PDF with Rules
dl.dropboxusercontent.com
Volume BombI am republishing to use a clean chart. Previous one had too much of a mess. Idea for TradingView: Please allow us to change out the charts after publishing.
I like to know when volume spikes (only when it spikes). I am not interested in seeing the rest of the volume bars. I created this indicator to show me when it explodes (i.e. the name "Volume Bomb" , plus it sounds cool).
This indicator only shows you when volume exceeds the EMA of volume by whatever multiplier you set.
Default settings are the current volume with 10 EMA. Yellow arrowup will appear when volume is at 1.5x the 10 EMA.
Adjust it to your liking and particular stock.
Fisher Transform StrategyDirect port of the original Fisher Transform to TradingView: media.johnwiley.com.au
www.mesasoftware.com
This might be better suited to be combined with other indicator to be effective, such as the Fisher Transform of RSI.
I hope you have found this useful :) Happy trading.
Thanks to @MikeLloyd for referring me to this, and here's my port for you.
Balance of Power (w Zero Line)Same as classic Balance of Power except with a Zero Line added. Sorry, new to TradingView: did not mean to publish this as an "Idea" - just tweak the BoP indicator to show the zero crossover. This facilitates comparison with other indicator. Is there a way to delete this "Idea" submission?
2 MA + Strat Candle ColorsThe "2 MA + Strat Candle Colors" indicator combines two customizable moving averages (MAs) with a strategic candle-coloring system to help traders analyze trends and price action. Here’s a breakdown of its features:
1. Two Moving Averages (MAs):
MA 1 & MA 2 Settings:
Users can select between 7 MA types for each line: SMA, EMA, WMA, HMA, VWMA, LSMA, SMMA.
Adjustable periods and price sources (e.g., close, open) for both MAs.
Default settings: MA 1 = 9-period EMA, MA 2 = 20-period EMA.
Plotting:
MA 1 is blue, MA 2 is red (colors customizable via inputs).
Crossovers between the MAs can signal trend changes.
2. Strategic Candle Coloring:
Candles are colored based on their relationship to the previous candle:
Green (Bullish): "Two-Up Bar" – current high > prior high, and low does not break prior low.
Red (Bearish): "Two-Down Bar" – current low < prior low, and high does not break prior high.
Purple (Outside Bar): "Three Bar" – current candle engulfs the prior candle (higher high and lower low).
Yellow (Inside Bar): "One Bar" – current candle is contained within the prior candle’s range.
Candle coloring is based on:
[JL] Relative Strength Index HLCTA is about visual arts.
I put both Close and (H+L)/2 on RSI and have more views on market.
How to use:
- Big Green and big Red should be considered.
- Divergence is always a good signal, but may be ensured by others like trend lines.
Custom ScreenerI was inspired by this idea:
With his script you can create a simple custom screener in Pine Script on your own for 40 tickets or less. But to make a separate screener for every 40 stocks sucks, so I wrote a program that generates script that allows you to switch stock sets.
Current script is generated for the Moscow stock exchange.
You can contact me if you need screener for your exchange or big set of stocks.
Get_rich_aggressively# Get_rich_aggressively - Professional Order Flow Indicator
## 📊 Overview
**Get_rich_aggressively (GRA)** is a professional-grade order flow indicator designed for futures and crypto traders who understand Auction Market Theory and want to identify high-probability setups with exceptional risk-to-reward ratios (3:1 to 5:1).
This indicator answers the two most critical questions in trading:
1. **Who is in control?** Bulls or Bears based on volume delta and aggression
2. **Where are traders trapped?** Identifying failed breakouts that lead to explosive moves
Built specifically for **NQ (Nasdaq 100 Futures)**, **GC (Gold Futures)**, and **BTC (Bitcoin)**, with optimized settings for each instrument's unique volatility profile.
---
## 🎯 Core Concepts
### Volume Delta & Imbalance
The indicator calculates **buying pressure vs selling pressure** within each candle using intrabar analysis. When one side significantly overpowers the other, an **imbalance** exists—these are the moments where price moves with conviction.
**Imbalance Ratio Interpretation:**
- `1.5:1` → Moderate imbalance (tradeable)
- `2.0:1` → Strong imbalance (high conviction)
- `3.0:1+` → Extreme imbalance (institutional activity)
### Aggression Detection
The indicator identifies which side is **aggressing** (hitting market orders) vs **absorbing** (resting limit orders). When aggressive buyers overwhelm sellers, price moves UP. When aggressive sellers overwhelm buyers, price moves DOWN.
### Trap Detection
**Bull Traps** and **Bear Traps** are failed breakouts where traders get caught on the wrong side. These setups often lead to explosive reversals as trapped traders are forced to exit.
---
## 🔧 How To Use
### Visual Elements
| Element | Meaning |
|---------|---------|
| **Green Bubbles** (below bar) | Bullish volume aggression - buyers winning |
| **Red Bubbles** (above bar) | Bearish volume aggression - sellers winning |
| **▲ Triangle Up** | Long signal (3:1 or 4:1+ R:R) |
| **▼ Triangle Down** | Short signal (3:1 or 4:1+ R:R) |
| **BT / BT!** | Bull Trap (short opportunity) |
| **BrT / BrT!** | Bear Trap (long opportunity) |
| **Diamond** | Absorption candle (institutional activity) |
| **Colored Candles** | Green = positive delta, Red = negative delta |
### Info Panel (Top Right)
| Field | Description |
|-------|-------------|
| **Delta** | Current bar's volume delta (buy - sell pressure) |
| **Vol** | Volume ratio vs 20-period average |
| **Imb** | Imbalance ratio (who's winning) |
| **Ctrl** | Who's in control: BULLS / BEARS |
| **CVD** | Cumulative Volume Delta for session |
| **Sess** | Current session (LDN! = London Open, NY! = NY Open) |
| **Mkt** | Market condition: CHOP / FV / IMB! / OK |
| **Sig** | Active signal if any |
### Signal Hierarchy
**High Conviction Signals (4:1+ R:R):**
- Displayed as `▲ 4:1+` or `▼ 4:1+`
- Require: Strong imbalance (2:1+) + Big volume (2.5x+) + Delta trend confirmation
- Best during London Open or NY Open sessions
**Standard Signals (3:1 R:R):**
- Displayed as `▲ 3:1` or `▼ 3:1`
- Require: Moderate imbalance (1.5:1+) + Volume spike (1.5x+)
- Good any time market is not choppy
**Trap Signals:**
- `BT!` = Strong Bull Trap → SHORT
- `BrT!` = Strong Bear Trap → LONG
- Occur at swing highs/lows with rejection wicks
---
## ⚙️ Recommended Settings by Instrument
### 📈 NQ (Nasdaq 100 E-mini Futures)
NQ is highly liquid with clear institutional footprints. The default settings work excellently.
```
═══════════ VOLUME ANALYSIS ═══════════
Volume MA Length: 20
Volume Spike Threshold: 1.5
Big Trade Threshold: 2.5
Extreme Volume Threshold: 4.0
═══════════ IMBALANCE DETECTION ═══════════
Imbalance Ratio Threshold: 1.5
Strong Imbalance Threshold: 2.0
Delta Confirmation Bars: 3
Fair Value Range (%): 0.3
═══════════ TRAP DETECTION ═══════════
Swing Lookback Period: 20
Minimum Wick Ratio: 0.4
Max Body Ratio (Absorption): 0.35
═══════════ SESSION SETTINGS ═══════════
Timezone: America/New_York
London Open Window: 0300-0500
NY Open Window: 0930-1130
Only Signal During Key Sessions: OFF (or ON for higher conviction)
═══════════ TIMEFRAME SETTINGS ═══════════
Analysis Timeframe: 1 (1-minute intrabar analysis)
Use Intrabar Analysis: ON
```
**Best Timeframes for NQ:**
- **1-minute**: Scalping, quick entries
- **5-minute**: Day trading (RECOMMENDED)
- **15-minute**: Swing entries within day
**NQ Trading Tips:**
- Most reliable signals occur during **9:30-11:30 AM EST** (NY Open)
- Watch for traps at **overnight high/low** levels
- Volume spikes of **3x+** often precede 10-20 point moves
- Avoid trading during **12:00-2:00 PM EST** (lunch chop)
---
### 🥇 GC (Gold Futures)
Gold has different volatility patterns. Increase thresholds slightly to filter noise.
```
═══════════ VOLUME ANALYSIS ═══════════
Volume MA Length: 20
Volume Spike Threshold: 1.8 ← Increased (gold has more noise)
Big Trade Threshold: 3.0 ← Increased
Extreme Volume Threshold: 5.0 ← Increased
═══════════ IMBALANCE DETECTION ═══════════
Imbalance Ratio Threshold: 1.6 ← Slightly higher
Strong Imbalance Threshold: 2.2 ← Slightly higher
Delta Confirmation Bars: 4 ← More confirmation needed
Fair Value Range (%): 0.4 ← Gold chops more
═══════════ TRAP DETECTION ═══════════
Swing Lookback Period: 25 ← Wider swings
Minimum Wick Ratio: 0.45 ← Bigger wicks needed
Max Body Ratio (Absorption): 0.30 ← Tighter for absorption
═══════════ SESSION SETTINGS ═══════════
Timezone: America/New_York
London Open Window: 0300-0500 ← Gold moves well here
NY Open Window: 0830-1030 ← Earlier due to economic news
Only Signal During Key Sessions: ON ← Recommended for GC
═══════════ TIMEFRAME SETTINGS ═══════════
Analysis Timeframe: 1
Use Intrabar Analysis: ON
```
**Best Timeframes for GC:**
- **5-minute**: Day trading (RECOMMENDED)
- **15-minute**: Position entries
- **1-hour**: Swing trading
**Gold Trading Tips:**
- Gold reacts strongly to **economic data releases** (8:30 AM EST)
- **London session** (3-5 AM EST) often sets the daily direction
- Watch for traps at **round numbers** ($2000, $2050, etc.)
- Gold respects **previous day high/low** as key levels
- Absorption candles near support/resistance signal reversals
---
### ₿ BTC (Bitcoin)
Bitcoin trades 24/7 with unique session dynamics. Adjust for higher volatility.
```
═══════════ VOLUME ANALYSIS ═══════════
Volume MA Length: 30 ← Longer average (24/7 market)
Volume Spike Threshold: 2.0 ← Higher threshold (crypto volatility)
Big Trade Threshold: 3.5 ← Higher for significance
Extreme Volume Threshold: 6.0 ← Much higher for crypto
═══════════ IMBALANCE DETECTION ═══════════
Imbalance Ratio Threshold: 1.7 ← Higher due to volatility
Strong Imbalance Threshold: 2.5 ← Higher for conviction
Delta Confirmation Bars: 3
Fair Value Range (%): 0.5 ← BTC ranges more
═══════════ TRAP DETECTION ═══════════
Swing Lookback Period: 30 ← Wider lookback
Minimum Wick Ratio: 0.5 ← BTC has massive wicks
Max Body Ratio (Absorption): 0.25 ← Tighter (many dojis in crypto)
═══════════ SESSION SETTINGS ═══════════
Timezone: America/New_York
London Open Window: 0300-0500 ← European session start
NY Open Window: 0930-1130 ← US session (big moves)
Only Signal During Key Sessions: OFF ← BTC moves 24/7
═══════════ TIMEFRAME SETTINGS ═══════════
Analysis Timeframe: 1
Use Intrabar Analysis: ON
```
**Best Timeframes for BTC:**
- **5-minute**: Active trading
- **15-minute**: Day trading (RECOMMENDED)
- **1-hour**: Swing trading
- **4-hour**: Position trading
**Bitcoin Trading Tips:**
- **US Session** (9:30 AM - 4:00 PM EST) has highest volume
- **Asian Session** (8 PM - 4 AM EST) often consolidates
- Watch for traps at **psychological levels** ($60K, $65K, $70K, etc.)
- **Funding rate flips** often coincide with trap signals
- Weekend volume is lower—signals less reliable
---
## 📋 Trading Playbook
### Setup 1: High Conviction Imbalance Entry
**Conditions:**
- ▲ or ▼ signal appears with "4:1+" label
- Info panel shows "Ctrl: BULLS" or "Ctrl: BEARS"
- Info panel shows "Mkt: IMB!"
- During active session (LDN! or NY!)
**Entry:** Market order on signal bar close
**Stop Loss:** Beyond the signal candle's wick
**Take Profit:** 4:1 risk-to-reward minimum
---
### Setup 2: Trap Reversal
**Conditions:**
- BT! (Bull Trap) or BrT! (Bear Trap) appears
- Signal occurs at swing high/low
- Volume spike confirms (2x+ average)
**Entry:**
- Bull Trap → SHORT on close below signal bar
- Bear Trap → LONG on close above signal bar
**Stop Loss:** Beyond the trap wick
**Take Profit:** Previous swing level (3:1+ R:R typical)
---
### Setup 3: Absorption Reversal
**Conditions:**
- Diamond marker appears (absorption)
- At key support/resistance level
- Followed by opposite-colored candle with volume
**Entry:** On confirmation candle close
**Stop Loss:** Beyond absorption candle
**Take Profit:** 2:1 minimum
---
### Setup 4: Session Open Momentum
**Conditions:**
- "L" (London) or "N" (NY) session marker appears
- First 30 minutes show clear delta direction
- Imbalance ratio > 1.5:1
**Entry:** With the dominant delta direction
**Stop Loss:** Session open price
**Take Profit:** Previous day high/low or 3:1 R:R
---
## ⚠️ When NOT to Trade
Avoid taking signals when:
1. **Info panel shows "Mkt: CHOP"** - Market is ranging without conviction
2. **Info panel shows "Mkt: FV"** - Fair value zone, expect mean reversion
3. **Ctrl shows "---"** - Neither side in control
4. **During lunch hours** (12:00-2:00 PM EST for futures)
5. **Before major news** (FOMC, NFP, CPI)
6. **Low volume sessions** (holidays, weekends for futures)
---
## 🔔 Alerts Setup
The indicator includes pre-built alerts. To set them up:
1. Click the "Alerts" button (clock icon) in TradingView
2. Select "Get_rich_aggressively" as condition
3. Choose from available alerts:
- **EXTREME LONG** - 4:1+ bullish setup
- **EXTREME SHORT** - 4:1+ bearish setup
- **HIGH CONV LONG** - 3:1 bullish setup
- **HIGH CONV SHORT** - 3:1 bearish setup
- **BULL TRAP** - Failed breakout, short opportunity
- **BEAR TRAP** - Failed breakdown, long opportunity
- **LONDON OPEN** - Session notification
- **NY OPEN** - Session notification
---
## 📚 Understanding the Logic
### Volume Delta Calculation
The indicator uses **intrabar analysis** to calculate precise volume delta:
```
For each lower-timeframe bar within the current bar:
Buy Pressure = ((Close - Low) / Range) × Volume
Sell Pressure = ((High - Close) / Range) × Volume
Delta = Buy Pressure - Sell Pressure
Total Delta = Sum of all intrabar deltas
```
This method is more accurate than simple "green candle = buying" logic because it captures the **internal auction** within each candle.
### Imbalance Ratio
```
Bullish Imbalance = Buy Pressure / Sell Pressure
Bearish Imbalance = Sell Pressure / Buy Pressure
If ratio ≥ 1.5 AND volume spike → Standard signal
If ratio ≥ 2.0 AND big volume → High conviction signal
```
### Trap Detection
```
Bull Trap =
Price breaks ABOVE swing high +
Closes BACK BELOW swing high +
Upper wick ≥ 40% of candle range +
Volume spike present
Bear Trap =
Price breaks BELOW swing low +
Closes BACK ABOVE swing low +
Lower wick ≥ 40% of candle range +
Volume spike present
```
---
## 💡 Pro Tips
1. **Combine with market structure** - Signals at key S/R levels are stronger
2. **Watch CVD divergence** - If CVD trends opposite to price, reversal likely
3. **Stack confluences** - Trap + Absorption + Session Open = highest probability
4. **Scale in** - Enter 50% on signal, add on confirmation
5. **Use session filter** - Enable "Only Signal During Key Sessions" for cleaner signals
6. **Check higher timeframe** - Ensure signal aligns with HTF trend/bias
---
## ⚠️ Disclaimer
This indicator is a tool to assist your trading decisions, not a guarantee of profits. Past performance does not indicate future results. Always:
- Use proper risk management (1-2% max per trade)
- Paper trade before going live
- Understand the instrument you're trading
- Never risk more than you can afford to lose
---
## 🔄 Version History
**v1.0** - Initial release
- Volume delta calculation with intrabar analysis
- Imbalance detection and signals
- Bull/Bear trap identification
- Absorption candle detection
- Session filtering (London/NY)
- Real-time info panel
- Comprehensive alert system
---
## 📬 Support
If you have questions or suggestions, leave a comment below or send me a message.
**Happy Trading! Let's Get Rich Aggressively! 🚀**
---
*This indicator is inspired by Auction Market Theory, Order Flow concepts, and professional tools like DeepCharts, Sierra Chart, and Bookmap. It brings institutional-grade analysis to TradingView.*
ATR Volatility AlertsOverview:
This is a dynamic alert tool based on the Average True Range (ATR), designed to help traders detect sudden price movements that exceed normal volatility levels. Whether you are trading breakouts or monitoring for abnormal spikes, this indicator visualizes these events on the chart and triggers system alerts when the price move exceeds your specified ATR multiplier.
Key Features:
Fully Customizable ATR Range:
You can adjust the ATR Length (Default: 14) and the Multiplier (Default: 1.5x).
Tip: Increase the multiplier (e.g., to 2.0 or 3.0) to catch only extreme volatility, or lower it for scalping smaller moves.
Visual Chart Signals:
Visual markers appear instantly when a bar's movement exceeds the ATR threshold.
Green Triangle: Indicates an Upward Spike.
Red Triangle: Indicates a Downward Spike.
Flexible System Alerts:
Designed to integrate seamlessly with TradingView's alert system. You can choose from three specific alert directions based on your strategy:
1.Price Spike Up: Triggers only on sharp upward moves.
2.Price Spike Down: Triggers only on sharp downward moves.
3.Bidirectional Volatility Alert: Triggers on BOTH huge pumps and dumps.
How to Set Alerts:
Click the "Create Alert" button in TradingView.
Select ATR Volatility Alerts in the "Condition" dropdown.
Choose the specific logic you need:
· Select Price Spike Up for bullish monitoring.
· Select Price Spike Down for bearish monitoring.
· Select Bidirectional Volatility Alert to watch for any volatility expansion.
FVG ATRFVG ATR — Fair Value Gap Size Measured in ATR Units
This Pine Script v6 indicator detects Fair Value Gaps and displays their size as a ratio of the Average True Range, providing traders with a normalized measurement of gap significance across different market conditions and timeframes.
Key Features
Automatic FVG Detection
The indicator identifies bullish and bearish Fair Value Gaps using the standard three-candle pattern. Bullish FVGs occur when the current low exceeds the high from two bars ago, while bearish FVGs occur when the current high falls below the low from two bars ago.
ATR Ratio Calculation
Each detected FVG is measured against the current Average True Range at the moment of detection. The ratio is displayed as a compact label next to the gap, showing values like "ATR: 0.75" or "ATR: 1.41". This normalization allows comparison of gap significance across volatile and calm market periods.
Minimal Visual Footprint
Labels are displayed directly on the chart without boxes or lines, using customizable text sizes from tiny to large. The default tiny size ensures the chart remains uncluttered while providing essential information at a glance.
Highly Customizable Display
All visual aspects are configurable through input parameters, including label position (top, middle, or bottom of gap), text size, text color, optional background, and horizontal offset from the detection candle.
Customizable Parameters
Detection Settings
Detect Bullish FVG: Enable or disable detection of bullish gaps. Default is enabled.
Detect Bearish FVG: Enable or disable detection of bearish gaps. Default is enabled.
Min Size (pips): Filter out small gaps below the specified threshold. One pip equals 10 ticks for most Forex pairs. Default is 10 pips.
ATR Calculation
ATR Period: Period length for Average True Range calculation. Default is 14, adjustable to match your trading strategy.
Label Settings
Label Position: Vertical placement of the text label relative to the FVG zone. Options are Top, Middle, or Bottom. Default is Middle.
Label Size: Text size from Tiny (smallest), Small, Normal, to Large. Default is Tiny for minimal chart clutter.
Text Color: Custom color for label text. Default is white for visibility on dark themes.
Show Background: Toggle to display labels with a colored background box or as transparent text only. Default is disabled for cleaner appearance.
Background Color: Custom color for label background when enabled. Default is semi-transparent gray.
Label Offset (bars): Horizontal distance in bars between the detection candle and the label. Set to 0 for labels directly on the candle, or increase for separation. Default is 0.
Recommended Use Cases
Multi-Timeframe Analysis
Compare FVG significance across different timeframes by observing ATR ratios. A 1.5 ATR gap on the 1-hour chart may indicate different significance than the same ratio on the daily chart.
Volatility-Adjusted Trading
Use ATR ratios to filter for only the most significant gaps. For example, only trade FVGs with ratios above 1.0 to focus on gaps larger than typical price movement.
Risk Management
Size positions based on gap magnitude relative to current volatility. Larger ATR ratios may warrant tighter stops or smaller position sizes.
Market Efficiency Analysis
Track how quickly and completely different-sized gaps get filled. Gaps with higher ATR ratios may take longer to fill or act as stronger support and resistance zones.
Technical Details
This indicator is written in Pine Script v6 and follows all recommended coding standards including strict 4-space indentation, lazy boolean evaluation, and proper type declarations. The script uses array-based storage to maintain up to 500 labels simultaneously.
The ATR ratio is calculated at the moment of FVG detection and remains fixed, never repainting. The calculation divides the FVG height (distance between gap boundaries) by the current ATR value using the specified period. Division by zero is protected with conditional logic.
Label positioning uses the xloc.bar_index and yloc.price system for precise placement. The horizontal offset parameter allows traders to adjust label spacing based on chart zoom level and personal preference. Text formatting uses str.tostring with two decimal places for clear ratio display.
Important Notes
The indicator never repaints as all FVG detections and ATR calculations are fixed upon bar confirmation. Labels persist on the chart until the maximum label count is reached, at which point the oldest labels are automatically removed by TradingView.
For optimal performance on charts with many FVGs, consider increasing the minimum pip size filter or using smaller label sizes. The tiny size option provides the smallest possible text for maximum chart clarity.
Installation and Usage
Copy the source code into the TradingView Pine Editor and add the indicator to your chart. The overlay parameter is set to true, allowing labels to display directly on price candles. Configure all parameters through the indicator settings panel to match your trading style and visual preferences.
100% Pine Script v6 indicator — No repaint — Open source
TrendMaster V2TrendMaster V2 is a comprehensive Pine Script indicator designed for TradingView. It combines multiple technical indicators and an advanced scoring logic to provide actionable trading signals. The script is highly customizable, allowing users to adjust trading modes, color themes, and signal filters according to their preferences and risk tolerance.
Key Features
Composite Scoring System:
The script calculates a composite score based on trend, momentum, pattern recognition, volume, volatility, divergence, Pearson correlation, and the CCI index. This score helps identify the best buy or sell opportunities.
Customizable Parameters:
Users can choose between “Aggressive,” “Balanced,” or “Conservative” trading modes, adjust indicator periods, and customize the color scheme of all visual elements.
Confluence Analysis:
The script evaluates the number of matching bullish or bearish signals, providing a confluence summary for higher-confidence trades.
Visual Signals:
Clear visual cues (triangles, circles, crosses) are displayed on the chart for strong buy/sell signals, confluences, and divergences.
Information Panels:
Two panels display real-time data such as score, RSI, volume, volatility, Pearson, CCI, trend, signal, and mode, along with the confluence status for quick reference.
Alert Conditions:
The script supports alerts for strong buy/sell signals, confluences, and divergences.
How It Works
Main Configuration:
Users select a trading mode (Aggressive, Balanced, or Conservative) and a color theme (Dark or Light).
Custom colors can also be set for bullish, bearish, strong, neutral, and signal elements.
Technical Indicators
Moving Averages (SMA/EMA) for trend analysis.
RSI to assess momentum and overbought/oversold conditions.
MACD for trend confirmation.
Volume and Volatility (ATR) for market activity evaluation.
Advanced Indicators
Pearson Correlation to measure trend strength.
CCI for cyclic momentum analysis.
Pattern Recognition
The script identifies common bullish and bearish reversal patterns (e.g., engulfing, hammer, morning/evening star) and continuation patterns (e.g., three white soldiers/black crows).
Composite Score
Each indicator contributes to a composite score, weighted according to the selected trading mode.
The score determines the strength of buy/sell signals.
Confluence Analysis
The script counts the number of matching bullish or bearish signals, providing a confluence summary for higher-confidence trades.
Visual Signals and Alerts
Strong buy/sell signals: triangles
Confluence signals: circles
Divergences: crosses
Alerts are triggered for strong buy/sell signals, confluences, and divergences.
Usage Instructions
Add the script to your TradingView chart.
Adjust the settings in the configuration panel to match your trading style.
Monitor the information panels and visual signals to spot trading opportunities.
Set up alerts for your preferred signal types.
Average Price Calculator / VisualizerDCA Average Price Calculator - Visualize Your Breakeven & TP!
Ever wished you could visualize your trades and instantly see your average entry price right here on TradingView? Especially if you're a DCA (Dollar-Cost Averaging) trader like me, tracking multiple entries can be a hassle. You're constantly switching to a spreadsheet or calculator to figure out your breakeven and take-profit levels. Well I've developed this DCA Average Price Calculator to solve exactly that problem, bringing all your position planning directly onto your chart.
What It Does
This indicator is a interactive tool designed to calculate the weighted average price of up to 10 separate trade entries. It then plots your crucial breakeven (average price) and a customizable take-profit target directly on your chart, giving you a clear visual of your position.
Key Features
Up to 10 Order Entries: Plan complex DCA strategies with support for up to ten individual buys.
Flexible Size Input: Enter your position size in either USD Amount or Number of Shares/Contracts. The script is smart enough to know which one you're using.
Instant Average Price Calculation: Your weighted average price (your breakeven point) is calculated and plotted in real-time as a clean yellow line.
Customizable Take-Profit Target: Set your desired profit percentage and see your take-profit level instantly plotted as a green line.
Detailed On-Chart Labels: Each order you plot is marked with a detailed label showing the entry price, the number of shares purchased, and the total USD value of that entry.
Clean & Uncluttered UI: The main Average and TP labels are intelligently shifted to the right, ensuring they don't overlap with your entry markers, keeping your chart readable.
How to Use It - Simple Steps
Add the indicator to your chart.
Open the script's 'Settings' menu.
In the 'Take Profit' section, set your desired profit percentage (e.g., 1 for 1%).
Under the 'Orders' section, begin filling in your entries. For each 'Order #', enter the Price.
Next, enter the size. You can either fill in the 'Size (USD)' box OR the '/ Shares' box. Leave the one you're not using at 0.
As you add orders, the 'Avg' (yellow) and 'TP' (green) lines, along with the blue order labels, will automatically appear and adjust on your chart!
Who Is This For?
DCA Traders: This is the ultimate tool for you!
Position Traders: Keep track of scaling into a larger position over time.
Manual Backtesters: Quickly simulate and visualize how a series of buys would have played out.
Any Trader who wants a quick and easy way to calculate their average entry without leaving TradingView.
I built this tool to improve my own trading workflow, and I hope it helps you as much as it has helped me. If you find it useful, please consider giving it a 'Like' and feel free to leave any feedback or suggestions in the comments!
Happy trading
Pivot Points High Low Multi Time Frame + AlertsThis script is a modified version of “Pivot Points High Low Multi Time Frame” for TradingView, enhanced with price alerts when the market reaches or crosses recent pivot levels.
What it does:
Detects Pivot Highs and Pivot Lows based on your chosen timeframe and bar settings.
Draws visual lines and labels at each pivot level for clear identification.
Keeps track of the latest pivot high and low values.
Triggers an alert condition when the price crosses either of those pivots.
Alert conditions included:
🔔 Price Crossed Pivot High — notifies when the price touches or moves above the last pivot high.
🔔 Price Crossed Pivot Low — notifies when the price touches or moves below the last pivot low.
How to use:
Add the script to your chart in TradingView.
Click the Alarm (🔔) icon → choose Add Alert.
Under Condition, select this indicator and pick one of the two alert types.
Choose your preferred alert frequency (Once per bar, Every time, etc.).
Tip: You can also visually see when alerts are triggered — small green and red triangles will appear above or below the bars where the price crosses a pivot.
Stablecoin to BTC Market Cap RatioThis indicator calculates the ratio of the combined market capitalization of USDT and USDC stablecoins to the market capitalization of BTC. Data is updated daily from TradingView's CRYPTOCAP sources. It is displayed as a line in a separate panel, allowing analysis of stablecoin liquidity dynamics relative to BTC.
How to Use
Add the indicator to any asset chart in TradingView. It is useful for assessing the potential buying power of stablecoins in the cryptocurrency market. High ratio values may signal accumulation of liquidity in stablecoins, often preceding growth in BTC or altcoins (bullish signal). Low values indicate a decrease in the role of stablecoins, which may be bearish. It is recommended to combine with other indicators, such as RSI or volumes, to confirm trends.






















