Ultimate Moving Average Package (17 MA's)Included is the:
VWAP
Current time frame 10 EMA
Current time frame 20 EMA
Current time frame 50 EMA
Current time frame 10 SMA
Current time frame 20 SMA
Current time frame 50 SMA
Daily 10 EMA
Daily 20 EMA
Daily 50 EMA
Daily 50 SMA
Daily 100 SMA
Daily 200 SMA
Weekly 100 SMA
Weekly 200 SMA
Monthly 100 SMA
Monthly 200 SMA
All Daily/Weekly/Monthly MA's can be seen on intraday charts. Current time frame MA's change depending on your time frame. Obviously you dont need all 17 on your chart but you can pick the ones you like and disable the rest.
스크립트에서 "黄金近20年走势"에 대해 찾기
[TH] MA CloudThis script uses concept of ichmok cloud to SMA . ( But the details are different )
It is useful for 1-3 month swing trading (if open market is 5days in a week).
* Cloud
Simple Moving Average ( SMA ) 20 days & 60 days were used to make cloud region( green, red cloud )
- 20 days, 60days SMA were translated to 20days future from now ( =SMA Leading span 1,2 )
- if 20days sma > 60days sma => green
- if 20days sma < 60days sma => red
- if close price < cloud => The bigger red cloud means stronger resistance
- if close price > cloud = > The bigger green cloud means stronger support
* Leading Span (Most important)
Instead of using lagging span, I used leading span.
We can predict 20 days sma's direction with this leading span & current price(close price)
- if close price makes Dead Cross over leading span & close price < 20days sma
=> 20days sma heading down soon
- if close price makes Golden Cross over leading span & close > 20days sma
=> 20days sma heading up soon
* buy
Buy IF 20days sma heading up soon & close price >= green cloud ( even better if 20days sma >= 60days sma )
OR IF 20days sma heading up soon & close price < red cloud & cloud is small ( low success rate )
Turtle SystemFirst pinescript strategy I've ever written so still learning what is possible.
This strategy is based on the famous turtle system and tried to stay true
to the rules within the confines of what pinescript will allow me to do.
Features:
Green lines represents the 20/55 day highs (configurable)
Red lines represent the 10/20 day lows (configurable)
Purple line represents stop (defaults to 2N away configurable)
Pyramids up to 5 long positions (each 1N away configurable).
Arrows:
Up Arrow Green - 20 day long position entered
Up Arrow Purple - 55 day long position entered
Down Arrow Green - Winning trade exited out.
Down Arrow Red - Losing Trade either stopped out or exited out.
Code tracks successful wins as it is only allowed to enter positions if the last trade was not a wining trade.
One limitation, only supports Long trades although wouldn't be a lot of work to also make it support Short. NASDAQ:AAPL
Love to hear feedback on improvements, particularly to make it more robust.
Sexy RSI for sexy tradersHello fellow sexy traders.
I was tired of constantly having to add my own horizontals/MAs to the default RSI so I decided to make this modification.
The default settings include channels from 40-80 (green horizontals) for a bullish range, and 20-60 (red horizontals) for the bearish range.
Also includes white line at 50 level, and blue horizontals at extremes (90 and 10).
If RSI stays in one of the red or green range that can signify the trend direction, as directed by Andrew Cardwell (inventor of the RSI).
If you wish for other levels to be included, just let me know! Comment on here or dm me on twitter @boss_charts and I can add the settings for you, so all you have to do is click a button and it will set it to your desired config. I want this to be a tool that is useful for heavy traders to save them time.
Additionally, in order to tell the level of the RSI and how overextended it might be, I added the setting for the RSI to change color depending on its level. Current settings are as follows:
Normal RSI (30-70) = PURPLE
Conventional Overbought/Oversold (30-20 + 70-80) = RED
1st extended (20-15 + 80-85) = PINK
2nd extended (15-10 + 85-90) = ORANGE
VERY EXTENDED (<10 + >90) = YELLOW
That way you can get an idea of how drastic a move is by the color alone. According to Dr. Cardwell, a drastic move to over/under extended can be a sign of strength.
Finally, there are the default MAs added that Mr. Cardwell defines as useful for defining the trend. These being the 9 MA and 45 EMA/WMA.
The strategy with these is to have the MAs on both price and RSI. If the 9MA is above the 45 MA on both price and RSI, then this is bullish and you can look for longs.
Conversely, if the 9 is below the 45 on both RSI and price that is bearish, and you can look for shorts.
I added the background color change for the points where the MAs cross each other, so you do not have to have the MAs fogging up your charts to know where they are relative to one another. This is similar to my MA cross indicator which contains the same functionality.
Never financial advice. Backtest it for yourself and find MA configurations that work for you.
Enjoy! Feel free to send feedback/requests whenever.
Multi SMA EMA WMA HMA BB (5x8 MAs Bollinger Bands) MAX MTF - RRBMulti SMA EMA WMA HMA 4x7 Moving Averages with Bollinger Bands MAX MTF by RagingRocketBull 2019
Version 1.0
All available MAX MTF versions are listed below (They are very similar and I don't want to publish them as separate indicators):
ver 1.0: 4x7 = 28 MTF MAs + 28 Levels + 3 BB = 59 < 64
ver 2.0: 5x6 = 30 MTF MAs + 30 Levels + 3 BB = 63 < 64
ver 3.0: 3x10 = 30 MTF MAs + 30 Levels + 3 BB = 63 < 64
ver 4.0: 5(4+1)x8 = 8 CurTF MAs + 32 MTF MAs + 20 Levels + 3 BB = 63 < 64
ver 5.0: 6(5+1)x6 = 6 CurTF MAs + 30 MTF MAs + 24 Levels + 3 BB = 63 < 64
ver 6.0: 4(3+1)x10 = 10 CurTF MAs + 30 MTF MAs + 20 Levels + 3 BB = 63 < 64
Fib numbers: 8, 13, 21, 34, 55, 89, 144, 233, 377
This indicator shows multiple MAs of any type SMA EMA WMA HMA etc with BB and MTF support, can show MAs as dynamically moving levels.
There are 4 MA groups + 1 BB group, a total of 4 TFs * 7 MAs = 28 MAs. You can assign any type/timeframe combo to a group, for example:
- EMAs 9,12,26,50,100,200,400 x H1, H4, D1, W1 (4 TFs x 7 MAs x 1 type)
- EMAs 8,13,21,30,34,50,55,89,100,144,200,233,377,400 x M15, H1 (2 TFs x 14 MAs x 1 type)
- D1 EMAs and SMAs 8,13,21,30,34,50,55,89,100,144,200,233,377,400 (1 TF x 14 MAs x 2 types)
- H1 WMAs 13,21,34,55,89,144,233; H4 HMAs 9,12,26,50,100,200,400; D1 EMAs 12,26,89,144,169,233,377; W1 SMAs 9,12,26,50,100,200,400 (4 TFs x 7 MAs x 4 types)
- +1 extra MA type/timeframe for BB
There are several versions: Simple, MTF, Pro MTF, Advanced MTF, MAX MTF and Ultimate MTF. This is the MAX MTF version. The Differences are listed below. All versions have BB
- Simple: you have 2 groups of MAs that can be assigned any type (5+5)
- MTF: +2 custom Timeframes for each group (2x5 MTF) +1 TF for BB, TF XY smoothing
- Pro MTF: 4 custom Timeframes for each group (4x3 MTF), 1 TF for BB, MA levels and show max bars back options
- Advanced MTF: +4 extra MAs/group (4x7 MTF), custom Ticker/Symbols, Timeframe <>= filter, Remove Duplicates Option
- MAX MTF: +2 subtypes/group, packed to the limit with max possible MAs/TFs: 4x7, 5x6, 3x10, 4(3+1)x10, 5(4+1)x8, 6(5+1)x6
- Ultimate MTF: +individual settings for each MA, custom Ticker/Symbols
MAX MTF version tests the limits of Pinescript trying to squeeze as many MAs/TFs as possible into a single indicator.
It's basically a maxed out Advanced version with subtypes allowing for mixed types within a group (i.e. both emas and smas in a single group/TF)
Pinescript has the following limits:
- max 40 security calls (6 calls are reserved for dupe checks and smoothing, 2 are used for BB, so only 32 calls are available)
- max 64 plot outputs (BB uses 3 outputs, so only 61 plot outputs are available)
- max 50000 (50kb) size of the compiled code
Based on those limits, you can only have the following MAs/TFs combos in a single script:
1. 4x7, 5x6, 3x10 - total number of MTF MAs must always be <= 32, and you can still have BB and Num Levels = total MAs, without any compromises
2. 5(4+1)x8, 6(5+1)x6, 4(3+1)x10 - you can use the Current Symbol/Timeframe as an extra (+1) fixed TF with the same number of MTF MAs
- you don't need to call security to display MAs on the Current Symbol/Timeframe, so the total number of MTF MAs remains the same and is still <= 32
- to fit that many MAs into the max 64 plot outputs limit you need to reduce the number of levels (not every MA Group will have corresponding levels)
Features:
- 4x7 = 28 MAs of any type
- 4x MTF groups with XY step line smoothing
- +1 extra TF/type for BB MAs
- 2 MA subtypes within each group/TF
- 4x7 = 28 MA levels with adjustable group offsets, indents and shift
- supports any existing type of MA: SMA, EMA, WMA, Hull Moving Average (HMA)
- custom tickers/symbols for each group
- show max bars back option
- show/hide both groups of MAs/levels/BB and individual MAs
- timeframe filter: show only MAs/Levels with TFs <>= Current TF
- hide MAs/Levels with duplicate TFs
- support for custom TFs that are not available in free accounts: 2D, 3D etc
- support for timeframes in H: H, 2H, 4H etc
Notes:
- Uses timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- Uses symbol textbox instead of input symbol to avoid establishing multiple dummy security connections to the current ticker - otherwise empty symbols will prevent script from running
- Possible reasons for missing MAs on a chart:
- there may not be enough bars in history to start plotting it. For example, W1 EMA200 needs at least 200 bars on a weekly chart.
- for charts with low/fractional prices i.e. 0.00002 << 0.001 (default Y smoothing step) decrease Y smoothing as needed (set Y = 0.0000001) or disable it completely (set X,Y to 0,0)
- for charts with high price values i.e. 20000 >> 0.001 increase Y smoothing as needed (set Y = 10-20). Higher values exceeding MAs point density will cause it to disappear as there will be no points to plot. Different TFs may require diff adjustments
- TradingView Replay Mode UI and Pinescript security calls are limited to TFs >= D (D,2D,W,MN...) for free accounts
- attempting to plot any TF < D1 in Replay Mode will only result in straight lines, but all TFs will work properly in history and real-time modes. This is not a bug.
- Max Bars Back (num_bars) is limited to 5000 for free accounts (10000 for paid), will show error when exceeded. To plot on all available history set to 0 (default)
- Slow load/redraw times. This indicator becomes slower, its UI less responsive when:
- Pinescript Node.js graphics library is too slow and inefficient at plotting bars/objects in a browser window. Code optimization doesn't help much - the graphics engine is the main reason for general slowness.
- the chart has a long history (10000+ bars) in a browser's cache (you have scrolled back a couple of screens in a max zoom mode).
- Reload the page/Load a fresh chart and then apply the indicator or
- Switch to another Timeframe (old TF history will still remain in cache and that TF will be slow)
- in max possible zoom mode around 4500 bars can fit on 1 screen - this also slows down responsiveness. Reset Zoom level
- initial load and redraw times after a param change in UI also depend on TF. For example: D1/W1 - 2 sec, H1/H4 - 5-6 sec, M30 - 10 sec, M15/M5 - 4 sec, M1 - 5 sec. M30 usually has the longest history (up to 16000 bars) and W1 - the shortest (1000 bars).
- when indicator uses more MAs (plots) and timeframes it will redraw slower. Seems that up to 5 Timeframes is acceptable, but 6+ Timeframes can become very slow.
- show_last=last_bars plot limit doesn't affect load/redraw times, so it was removed from MA plot
- Max Bars Back (num_bars) default/custom set UI value doesn't seem to affect load/redraw times
- In max zoom mode all dynamic levels disappear (they behave like text)
- Dupe check includes symbol: symbol, tf, both subtypes - all must match for a duplicate group
- For the dupe check to work correctly a custom symbol must always include an exchange prefix. BB is not checked for dupes
Good Luck! Feel free to learn from/reuse the code to build your own indicators.
Multi SMA EMA WMA HMA BB (4x5 MAs Bollinger Bands) Adv MTF - RRBMulti SMA EMA WMA HMA 4x5 Moving Averages with Bollinger Bands Advanced MTF by RagingRocketBull 2019
Version 1.0
This indicator shows multiple MAs of any type SMA EMA WMA HMA etc with BB and MTF support, can show MAs as dynamically moving levels.
There are 4 MA groups + 1 BB group, a total of 4 TFs * 5 MAs = 20 MAs. You can assign any type/timeframe combo to a group, for example:
- EMAs 12,26,50,100,200 x H1, H4, D1, W1 (4 TFs x 5 MAs x 1 type)
- EMAs 8,10,13,21,30,50,55,100,200,400 x M15, H1 (2 TFs x 10 MAs x 1 type)
- D1 EMAs and SMAs 8,10,12,26,30,50,55,100,200,400 (1 TF x 10 MAs x 2 types)
- H1 WMAs 7,77,89,167,231; H4 HMAs 12,26,50,100,200; D1 EMAs 89,144,169,233,377; W1 SMAs 12,26,50,100,200 (4 TFs x 5 MAs x 4 types)
- +1 extra MA type/timeframe for BB
There are several versions: Simple, MTF, Pro MTF, Advanced MTF and Ultimate MTF. This is the Advanced MTF version. The Differences are listed below. All versions have BB
- Simple: you have 2 groups of MAs that can be assigned any type (5+5)
- MTF: +2 custom Timeframes for each group (2x5 MTF) +1 TF for BB, TF XY smoothing
- Pro MTF: 4 custom Timeframes for each group (4x3 MTF), 1 TF for BB, MA levels and show max bars back options
- Advanced MTF: +2 extra MAs/group (4x5 MTF), custom Ticker/Symbols, Timeframe <>= filter, Remove Duplicates Option
- Ultimate MTF: +individual settings for each MA, custom Ticker/Symbols
Features:
- 4x5 = 20 MAs of any type
- 4x MTF groups with XY step line smoothing
- +1 extra TF/type for BB MAs
- 4x5 = 20 MA levels with adjustable group offsets, indents and shift
- supports any existing type of MA: SMA, EMA, WMA, Hull Moving Average (HMA)
- custom tickers/symbols for each group - you can compare MAs of the same symbol across exchanges
- show max bars back option
- show/hide both groups of MAs/levels/BB and individual MAs
- timeframe filter: show only MAs/Levels with TFs <>= Current TF
- hide MAs/Levels with duplicate TFs
- support for custom TFs that are not available in free accounts: 2D, 3D etc
- support for timeframes in H: H, 2H, 4H etc
Notes:
- Uses timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- Uses symbol textbox instead of input symbol to avoid establishing multiple dummy security connections to the current ticker - otherwise empty symbols will prevent script from running
- Possible reasons for missing MAs on a chart:
- there may not be enough bars in history to start plotting it. For example, W1 EMA200 needs at least 200 bars on a weekly chart.
- price << default Y smoothing step 5. For charts with low/fractional prices (i.e. 0.00002 << 5) adjust X Y smoothing as needed (set Y = 0.0000001) or disable it completely (set X,Y to 0,0)
- TradingView Replay Mode UI and Pinescript security calls are limited to TFs >= D (D,2D,W,MN...) for free accounts
- attempting to plot any TF < D1 in Replay Mode will only result in straight lines, but all TFs will work properly in history and real-time modes. This is not a bug.
- Max Bars Back (num_bars) is limited to 5000 for free accounts (10000 for paid), will show error when exceeded. To plot on all available history set to 0 (default)
- Slow load/redraw times. This indicator becomes slower, its UI less responsive when:
- Pinescript Node.js graphics library is too slow and inefficient at plotting bars/objects in a browser window. Code optimization doesn't help much - the graphics engine is the main reason for general slowness.
- the chart has a long history (10000+ bars) in a browser's cache (you have scrolled back a couple of screens in a max zoom mode).
- Reload the page/Load a fresh chart and then apply the indicator or
- Switch to another Timeframe (old TF history will still remain in cache and that TF will be slow)
- in max possible zoom mode around 4500 bars can fit on 1 screen - this also slows down responsiveness. Reset Zoom level
- initial load and redraw times after a param change in UI also depend on TF. For example:
D1/W1 - 2 sec, H1/H4 - 5-6 sec, M30 - 10 sec, M15/M5 - 4 sec, M1 - 5 sec.
M30 usually has the longest history (up to 16000 bars) and W1 - the shortest (1000 bars).
- when indicator uses more MAs (plots) and timeframes it will redraw slower. Seems that up to 5 Timeframes is acceptable, but 6+ Timeframes can become very slow.
- show_last=last_bars plot limit doesn't affect load/redraw times, so it was removed from MA plot
- Max Bars Back (num_bars) default/custom set UI value doesn't seem to affect load/redraw times
- In max zoom mode all dynamic levels disappear (they behave like text)
1. based on 3EmaBB, uses plot*, barssince and security functions
2. you can't set certain constants from input due to Pinescript limitations - change the code as needed, recompile and use as a private version
3. Levels = trackprice implementation
4. Show Max Bars Back = show_last implementation
5. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
6. Smoothing is applied by default for visual aesthetics on MTF. To use exact ma mtf values (lines with stair stepping) - disable it
Good Luck! You can explore, modify/reuse the code to build your own indicators.
ADX +- DiThis Adx +-Di is just a complete version of what the ADX is supposed to signal.
So you have:
15 (contraction), 20 (threshold), 30 (expansion), 40 (resistance) levels.
Below 20 the price is not trending
Above 30 the price is trending
Below 15 price has been in contraction for too long
Between 20 and 30 price is in a "transition zone".
I finally added a "Resistance" level (40), which has to be adapted to best represent the historical levels where price usually encounters resistance, and where the price can be declared "overtrending", which means a return to lower levels is likely to happen.
I've chosen mild colors, and set the Adx Color to White, because I use black background, you can easily change that.
Enjoy
-Maurice
Average Directional Index with DI SpreadThis indicator converts conventional triple lined ADX, DI+ and DI- into two lines. First line is the
original ADX line and second line is obtained by subtracting DI- from DI+ which named DI Spread(DIS)
If ADX is greater than 20 there is a trend and if greater than 40 there is a strong trend but ADX does not tell
the trend direction
To determine trend direction, DIS can be used with ADX; Sımply; If DIS is greater than 0, it is an uptrend and If DIS
is less than 0, it is a downtrend.
To sum up;
If ADX is greater than 20 and especially greater than 40 with positive DIS value, this implies an uptrend.
If ADX is greater than 20 and especially greater than 40 with negative DIS value, this implies a downtrend.
*Because of coloration and reference levels used, this indicator is really simple and efficient to analyze trend direction.
MFI Multi-TimeframeThe Money Flow Index (MFI) is an oscillating momentum and market strength indicator that was developed by Gene Quong and Avrum Soudack. It is also a leading indicator, which means it tends to lead price action, and is similar in calculation as J. Welles Wilder's Relative Strength Index (RSI) with the significant difference being that the MFI uses both price and volume. Like the RSI, the MFI is a range-bound oscillator that oscillates between zero and 100 and is interpreted in a similar way as the RSI. The ultimate aim of the MFI is to determine whether money is flowing in or out of a security over a specified look-back period.
HOW IS IT USED ?
The MFI oscillates between 0 and 100 and a security is considered overbought when its MFI rises above 80 and oversold when its MFI falls below 20. These levels are the suggested overbought and oversold levels as suggested by Quong and Soudack, though they do not suggest these levels as entry signals. Instead, these caution levels warn that the price action and the current trend have reached extremes that may be unsustainable. Quong and Soudack also recommend using the 90 and 10 lines as truly overbought and truly oversold levels respectively. MFI movements above 90 and below 10 are rare and indicate a higher level of unsustainability.
Finally, failure swings from the 20 or 80 levels can also be used to identify potential price reversals and trade entries. A failure swing occurs when the MFI moves over the overbought or oversold level but reverses back before reaching the opposite level. Thus, when the MFI crosses up over the 20 (oversold) level but reverses before it reaches the 80 (overbought) level, it indicates that the uptrend is weak and that it may reverse soon. This signals that you should cover any long positions or go short. Similarly, when the MFI crosses down over the 80 (overbought) level but reverses before it reaches the 20 (oversold) level, it indicates a weakness in the down trend and the probability that the trend will reverse. This would be a signal to close of any short positions; or a signal to long buy.
I added the possibility to add on the chart a 2nd timeframe for confirmation.
If you found this script useful, a tip is always welcome... :)
Exponential Moving Average (Set of 3) [Krypt] + 13/34 EMAsI took Krypt's script and essentially added on to it.
the 20/50/100/200 EMAs should be used together as support and resistance as normal.
Wait for price to break 200 EMA
Wait for 50 EMA to cross 200 EMA
Wait for pullback to 50 EMA to open position
20 and 100 EMAs are for extra information about moving support and resistance
and 13/34 EMAs should be used in conjunction
When 13 EMA crosses 34 EMA, open position
When price gets far from 13/34, close position (because price will attempt to revert back to mean)
This is better for scalping and swing trades than the 20/50/100/200 setup.
Twitter: @AzorAhai06
Gap Gain Test V1.0 by @overratedtraderOddball indicators for entertainment purposes only. This is best used on daily chart.
Look at the 20 ALMA to gauge likelihood of stock following its up or down gap.
- if above the 20 ALMA , follow the gap direction
- if below the 20 ALMA , take counter trend trade
If stock gaps up AND closes higher than it opens, that gain % (close/open) is colored green and if stock gaps down and closes lower than it opens, that gain % (close/open) is colored green
Conversely if the stock gaps up BUT closes lower than it opens, red and if a stop gaps down but closes higher than it opens, red.
Enjoy and follow me on twitter @overratedtrader for more nonsensical and out-of-the-box ideas.
Adaptive Donchian ChannelThis indicator adds a level of adaptivity to the simple Donchian Channel by adjusting the sensitivity (lookback periods) of the channel's upper and lower bounds based on the amount of time that has elapsed since the price has hit/expanded the channel boundaries. Comparing the results of this indicator to the standard Donchian Channel, the readier level of responsiveness may prove self-evident.
METHODOLOGY:
Specifically, the more recently the channel was expanded in one direction, the longer the lookback period grows in that direction. Conversely, if the channel has not been expanded in a given direction, the lookback period will contract so as to allow for a tighter channel.
For example, let the initial lookback period be 20 bars and let the factor argument be 0.1 (or 2 bars to start, as 20*0.1 = 2). Now say the current bar sets a new 20-period high. Then the lookback period for the upper bound is expanded by 2 bars to 22, and the lookback period for the lower bound is contracted by 2 bars to 18, thereby making it simultaneously harder to set new highs and easier to set new lows (and vice versa for hitting new lows). If neither a new high nor a new low is formed, both periods contract by the given factor.
TonyUX EMA Scalper - Buy / SellThis is a simple scalping strategy that works for all time frames... I have only tested it on FOREX
It works by checking if the price is currently in an uptrend and if it crosses the 20 EMA.
If it crosses the 20 EMA and its in and uptrend it will post a BUY SIGNAL.
If it crosses the 20 EMA and its in and down it will post a SELL SIGNAL.
The red line is the highest close of the previous 8 bars --- This is resistance
The green line is the lowest close of the previous 8 bars -- This is support
EMA_ConvergenceFirst I have to give kudos to my son who I asked to take a shot at creating this little indicator. Nice work son!
While trading, one of the things I look for is when price or certain EMA's approach another EMA. The example that I use on this 1 minute SPY chart is an 8 EMA and 20 EMA. I am looking for when the 8 and 20 are within' 3 cents of each other. Many times when they are getting close, price is approaching a top or bottom. I am looking for a candlestick reversal around that area. You may want to know when PRICE is near the 50 EMA: Use EMA 1 and 50 for that. Having it light up on top of the page, or elsewhere, makes it easier to look for the convergence when it occurs. If it lights up for a long period, price may be going sideways. I don't enter into a trade until the EMA starts separating, usually with another candlestick formation.
You are able to change the distance for convergence and two EMA's. Unfortunately you will have to adjust the convergence number up as you increase in time frames. This is designed to see when they are close, not when they cross.
The bars on top of this example are lit up purple due to the 8 and 20 EMA are within' 3 cents of each other.
If you want to overlay the price bars, instead of having it separate, just change overlay to "true"
Enjoy.
Braid Filter StrategyThis strategy is like a sophisticated set of traffic lights and speed limit signs for trading. It only allows a trade when multiple indicators line up to confirm a strong move, giving it its "Braid Filter" name—it weaves together several conditions.
The strategy is set up to use 100% of your account equity (your trading funds) on a trade and does not "pyramid" (it won't add to an existing trade).
1. The Main Trend Check (The Traffic Lights)
The strategy uses three main filters that must agree before it considers a trade.
A. The "Chad Filter" (Direction & Strength)
This is the heart of the strategy, a custom combination of three different Moving AveragesThese averages have fast, medium, and slow settings (3, 7, and 14 periods).
Go Green (Buy Signal): The fastest average is higher than the medium average, AND the three averages are sufficiently separated (not tangled up, which indicates a strong move).
Go Red (Sell Signal): The medium average is higher than the fastest average, AND the three averages are sufficiently separated.
Neutral (Wait): If the averages are tangled or the separation isn't strong enough.
Key Trigger: A primary condition for a signal is when the Chad Filter changes color (e.g., from Red/Grey to Green).
B. The EMA Trend Bars (Secondary Confirmation)
This is a simpler, longer-term filter using a 34-period Exponential Moving Average (EMA). It checks if the current candle's average price is above or below this EMA.
Green Bars: The price is above the 34 EMA (Bullish Trend).
Red Bars: The price is below the 34 EMA (Bearish Trend).
Trades only happen if the signal direction matches the bar color. For a Buy, the bar must be Green. For a Sell, the bar must be Red.
C. ADX/DI Filter (The Speed Limit Sign)
This uses the Average Directional Index (ADX) and Directional Movement Indicators (DI) to check if a trend is actually in motion and getting stronger.
Must-Have Conditions:
The ADX value must be above 20 (meaning there is a trend, not just random movement).
The ADX line must be rising (meaning the trend is accelerating/getting stronger).
The strategy will only trade when the trend is strong and building momentum.
2. The Trading Action (Entry and Exit)
When all three filters (Chad Filter color change, EMA Trend Bar color, and ADX strength/slope) align, the strategy issues a signal, but it doesn't enter immediately.
Entry Strategy (The "Wait-for-Confirmation" Approach):
When a Buy Signal appears, the strategy sets a "Buy Stop" order at the signal candle's closing price.
It then waits for up to 3 candles (Candles Valid for Entry). The price must move up and hit that Buy Stop price within those 3 candles to confirm the move and enter the trade.
A Sell Signal works the same way but uses a "Sell Stop" at the closing price, waiting for the price to drop and hit it.
Risk Management (Stop Loss and Take Profit):
Stop Loss: To manage risk, the strategy finds a recent significant low (for a Buy) or high (for a Sell) over the last 20 candles and places the Stop Loss there. This is a logical place where the current move would be considered "broken" if the price reaches it.
Take Profit: It uses a fixed Risk:Reward Ratio (set to 1.5 by default). This means the potential profit (Take Profit distance) is $1.50 for every $1.00 of risk (Stop Loss distance).
3. Additional Controls
Time Filter: You can choose to only allow trades during specific hours of the day.
Visuals: It shows a small triangle on the chart where the signal happens and colors the background to reflect the Chad Filter's trend (Green/Red/Grey) and the candle bars to show the EMA trend (Lime/Red).
🎯 Summary of the Strategy's Goal
This strategy is designed to capture strong, confirmed momentum moves. It uses a fast, custom indicator ("Chad Filter") to detect the start of a new move, confirms that move with a slower trend filter (34 EMA), and then validates the move's strength with the ADX. By waiting a few candles for the price to hit the entry level, it aims to avoid false signals.
Braid Filter StrategyAnother of TradeIQ's youtube strategies. It looks a little messy but it combines all the indicators into one so there are no extra panes. This strategy is like a sophisticated set of traffic lights and speed limit signs for trading. It only allows a trade when multiple indicators line up to confirm a strong move, giving it its "Braid Filter" name—it weaves together several conditions.
The strategy is set up to use 100% of your account equity (your trading funds) on a trade and does not "pyramid" (it won't add to an existing trade).
1. The Main Trend Check (The Traffic Lights)
The strategy uses three main filters that must agree before it considers a trade.
A. The "Braid Filter" (Direction & Strength)
This is the heart of the strategy, a custom combination of three different Moving Averages
These averages have fast, medium, and slow settings (3, 7, and 14 periods).
Go Green (Buy Signal): The fastest average is higher than the medium average, AND the three averages are sufficiently separated (not tangled up, which indicates a strong move).
Go Red (Sell Signal): The medium average is higher than the fastest average, AND the three averages are sufficiently separated.
Neutral (Wait): If the averages are tangled or the separation isn't strong enough.
Key Trigger: A primary condition for a signal is when the Chad Filter changes color (e.g., from Red/Grey to Green).
B. The EMA Trend Bars (Secondary Confirmation)
This is a simpler, longer-term filter using a 34-period Exponential Moving Average (EMA). It checks if the current candle's average price is above or below this EMA.
Green Bars: The price is above the 34 EMA (Bullish Trend).
Red Bars: The price is below the 34 EMA (Bearish Trend).
Trades only happen if the signal direction matches the bar color. For a Buy, the bar must be Green. For a Sell, the bar must be Red.
C. ADX/DI Filter (The Speed Limit Sign)
This uses the Average Directional Index (ADX) and Directional Movement Indicators (DI) to check if a trend is actually in motion and getting stronger.
Must-Have Conditions:
The ADX value must be above 20 (meaning there is a trend, not just random movement).
The ADX line must be rising (meaning the trend is accelerating/getting stronger).
The strategy will only trade when the trend is strong and building momentum.
2. The Trading Action (Entry and Exit)
When all three filters (Chad Filter color change, EMA Trend Bar color, and ADX strength/slope) align, the strategy issues a signal, but it doesn't enter immediately.
Entry Strategy (The "Wait-for-Confirmation" Approach):
When a Buy Signal appears, the strategy sets a "Buy Stop" order at the signal candle's closing price.
It then waits for up to 3 candles (Candles Valid for Entry). The price must move up and hit that Buy Stop price within those 3 candles to confirm the move and enter the trade.
A Sell Signal works the same way but uses a "Sell Stop" at the closing price, waiting for the price to drop and hit it.
Risk Management (Stop Loss and Take Profit):
Stop Loss: To manage risk, the strategy finds a recent significant low (for a Buy) or high (for a Sell) over the last 20 candles and places the Stop Loss there. This is a logical place where the current move would be considered "broken" if the price reaches it.
Take Profit: It uses a fixed Risk:Reward Ratio (set to 1.5 by default). This means the potential profit (Take Profit distance) is $1.50 for every $1.00 of risk (Stop Loss distance).
3. Additional Controls
Time Filter: You can choose to only allow trades during specific hours of the day.
Visuals: It shows a small triangle on the chart where the signal happens and colors the background to reflect the Chad Filter's trend (Green/Red/Grey) and the candle bars to show the EMA trend (Lime/Red).
🎯 Summary of the Strategy's Goal
This strategy is designed to capture strong, confirmed momentum moves. It uses a fast, custom indicator ("Chad Filter") to detect the start of a new move, confirms that move with a slower trend filter (34 EMA), and then validates the move's strength with the ADX. By waiting a few candles for the price to hit the entry level, it aims to avoid false signals.
High Volume Zones with Signals – HVZ█ OVERVIEW
"High Volume Zones with Signals – HVZ" is a technical analysis indicator that identifies High Volume Zones (HVZ) on the chart and draws them as fully customizable boxes. Perfect for traders using price action, ICT, and Smart Money Concepts. The indicator highlights key volume-based support/resistance levels, detects potential consolidation zones (very large candles), and generates precise breakout and exit signals. Flexible volume filters, ATR filter, and visual styling options ensure a clean and highly effective chart.
█ CONCEPTS
The indicator detects candles with volume significantly above the average (default ≥ 2× SMA of volume over 20 periods). Such candles often signal institutional activity and create strong supply/demand zones.
The ATR filter additionally identifies very large candles – frequently a sign of market capitulation (panic buying/selling). Within the range of such a candle, prolonged consolidation often occurs, especially on higher timeframes (e.g., 4H and above).
Why are HVZ important? High-volume zones are areas where the market has left a large number of orders – institutions return there to “refresh” liquidity before the next move. A breakout against the zone’s character triggers a Break signal:
- Bullish HVZ broken downward (close below the lower boundary) → Break Down (sell),
- Bearish HVZ broken upward (close above the upper boundary) → Break Up (buy).
Note: The indicator requires real exchange volume – it will not work correctly on instruments without reported volume (e.g., certain CFDs or forex).
█ FEATURES
- HVZ Detection: Automatic identification of high-volume zones with Volume SMA Length and Volume Multiplier filters; historical initialization up to 500 candles back.
- ATR Filter: Optional detection of very large candles (potential consolidation/capitulation) using - ATR Length and ATR Multiplier; three action modes:
Skip Zone – large candle creates no zone,
Separate Color – zone is drawn in a distinct style (gray by default),
Normal Zone – treated like a regular HVZ.
- Gray zones (large candles, Separate Color): generate exactly the same Break signals as regular zones – based solely on the original candle direction (bullish → Break Down on lower break, bearish → Break Up on upper break). Gray color is only a visual marker for potential consolidation/capitulation zones.
- Customizable Boxes: Separate styles for bullish and bearish zones (border color, background gradient, line thickness and style); adjustable background and 50 % midline transparency.
- Break & Exit Signals:
Break Up/Down – green/red triangle after a candle closes outside the zone (zone disappears, triangle remains as a trace).
Exit Up/Down – green/red circle when price leaves the zone without a full breakout.
Signal Type option: Break, Exit, or Both.
- Midline: Automatic dashed line at the 50 % zone level with independent transparency control.
- Chart Cleanup: Automatic removal of inactive zones older than 500 candles (max_boxes_count=500).
- Alerts: Built-in alerts for Break Up and Break Down with clear messages.
█ HOW TO USE
Add to Chart: Paste the script in Pine Editor or find it in TradingView’s indicator library.
Configure Settings:
- Volume Filter: Volume SMA Length (default 20) and Volume Multiplier (default 2.0) – higher multiplier = fewer but stronger zones.
- ATR Filter: Enable/disable, set ATR Length (14) and ATR Multiplier (3.5); choose action for very large candles (Skip Zone / Separate Color / Normal Zone).
- Box Style: Background transparency (90) and midline transparency (70).
- Bull/Bear Box Style: Border and gradient colors, line thickness (1-5).
- ATR Style: Separate colors for large-candle zones (gray by default).
- Signal Settings: Choose Signal Type (Break/Exit/Both) and signal colors.
Signal Interpretation:
- Break Up (green triangle below bar): Bearish HVZ broken upward → buy signal, continuation of uptrend.
- Break Down (red triangle above bar): Bullish HVZ broken downward → sell signal, continuation of downtrend.
- Exit Up/Down (circles): Price leaves zone without breakout – may signal end of correction or reversal setup.
- HVZ Zones: Price often returns to high-volume zones to clear orders. An unfilled zone remains a price magnet.
- 50 % Level (midline): Ideal target for partial take-profit or reaction point inside the zone.
Combine signals with other tools (e.g., RSI, MACD, higher timeframes) for higher confidence.
█ APPLICATIONS
- Price Action & ICT: HVZ act as dynamic S/R; in an uptrend look for buys after breaking a bearish HVZ, in a downtrend look for sells after breaking a bullish HVZ. If you trade retests instead of breakouts, increase Volume Multiplier to 2.5-3.0 – fewer zones but much stronger. Note that after breaking a very strong zone, price often pulls back deeply before continuing.
- Breakout Strategies: For maximum Break signals, lower Volume Multiplier to 1.5-1.8 – gives many high-quality entries in trending markets. Always trade in the direction of the prevailing trend (e.g., only longs in uptrends). Enter after a Break signal with confirmation from volume or momentum (MACD above zero, RSI >50 for longs, <50 for shorts).
█ NOTES
- The indicator requires real exchange volume – it will not function properly on instruments without reported volume (e.g., certain CFDs, forex).
- Always confirm signals with additional context (market structure, higher timeframe).
Volume Climax Reversal (VCR) — Catch Exhaustion Tops & Bottoms New! VCR spots exhaustion spikes at highs/lows using volume extremes + price action + VWAP context.
If you trade parabolic runners, indices, or mean-reversion edges, VCR helps you time the backside (shorts) and fade capitulation (longs) with clean, rule-based signals.
What it does
Detects volume climax: current volume > SMA(len) × multiplier and a new volume high in the lookback.
Confirms price context: makes a higher high (for tops) or lower low (for bottoms).
Filters with VWAP (optional): bearish signals only below VWAP, bullish signals only above VWAP.
Optional wick filter: requires an exhaustion wick > body to reduce chop.
Why traders like it
Clear entries: “VCR↓” (bearish) at exhaustion tops, “VCR↑” (bullish) at washout lows.
Fewer false signals: VWAP gating + wick filter focus on true climaxes.
Built-in alerts: set once, get notified on your phone/desktop when a setup appears.
How I trade it (simple playbook)
Bearish reversal (short / puts)
Wait for VCR↓ (exhaustion at/near HH).
Look for a lower high that fails to reclaim the signal candle high.
Enter on the break of that lower-high candle low.
Stop above the signal wick high.
Covers/targets: VWAP first; then 20–30% fade from the local top / prior demand.
Bullish reversal (long / calls)
Wait for VCR↑ (capitulation at/near LL).
Look for a higher low that holds above the signal candle low.
Enter on the break of the HL candle high.
Stop below the signal wick low.
Targets: VWAP first; then prior supply/MA bands.
Tip for small-cap/“Dux” style: VCR pairs perfectly with a gap + high USD-rotation scan. Let them blow off, then use VCR for the timing.
Inputs (tune to your market)
Volume SMA Length (default 20)
Volume Spike Multiplier (default 2.0)
Lookback High / Low (default 10 / 10)
Require VWAP confirmation? (on)
Use wick filter? (on)
Works on stocks, indices, futures, crypto.
Timeframes: 1–15m for day trading; 1h–4h–D for swing.
Alerts
Set one (or both) alerts and forget it:
Bearish Volume Climax — VCR↓
Bullish Volume Climax — VCR↑
You’ll get instant notifications when a qualified top/bottom prints.
Best practices
Don’t countertrend the first front-side ramp—wait for the VCR and a lower-high/higher-low.
Respect VWAP: it’s your first profit-taking and a bias filter.
Size small into volatility; widen stops in fast markets.
Combine with your watchlist filters (gap %, float/O/S, USD rotation, session timing).
What’s included
Clean visual signals (triangles + subtle background shading)
Session-anchored VWAP
Alert conditions that appear in TradingView’s alert menu
Sensible defaults + clear docs (this post)
FAQ
Q: Does it repaint?
No. VCR uses completed-bar data; signals print end-of-bar.
Q: Which markets?
Anything with volume: US equities, futures, crypto, indices.
Q: Can I use it for scalps?
Yes—1–5m with wick filter on and VWAP required works well.
Get more / upgrades
I’m iterating fast (MTF filter, heatmap panel, combined “one-alert” mode).
Want the pro template with dashboard & combined alerts? Message me on TV or DM / email you@domain.com
.
Risk Notice
This is educational research, not financial advice. Markets carry risk—always manage position size and use stops.
If this helped you, smash the 👍 and ⭐ — it really helps!
#volume #vwap #reversal #exhaustion #trendreversal #smallcaps #scalping #daytrading #swingtrading #stocks #futures #crypto #indicator
FC Session & Levels: Killzone, FVG, BB, OB, MAs, VWAP, Zizag FibFC Session & Levels – Ultimate Multi-Tool Trading Indicator
All-in-one professional-grade indicator combining session analysis, key levels, institutional concepts, and trend tools for futures, forex, crypto, and stocks.
Core Features
Real-time Session High/Low tracking for Asia, London, NY AM/PM, MOC
Dynamic Daily Pivot Points with R1–R3 / S1–S3 levels
Configurable Opening Range Breakout (ORB) 15-min high/low from NY open
Smart VWAP, EMA/SMA crosses, Trend Cloud (EMA38/62)
CHoCH (Change of Character) detection with dotted breakout lines
Fair Value Gaps (FVG) with volume & ATR filtering
Advanced ZigZag + Fibonacci Retracement/Extension levels
Institutional Order Blocks & Breaker Blocks with mitigation tracking
How to Use – Step-by-Step Instructions
1. Add to Chart
Open TradingView → Indicators → Search " FC Session & Levels "
Add to any chart (works on all timeframes, best on 1m–1H)
2. Configure Time Zone
Set Time Zone to UTC-5 (Standard Time) or UTC-4 (Daylight Saving)
NYT sessions auto-adjust
3. Enable Sessions
Toggle: Asia, London, NY AM, NY PM, MOC
Each draws high/low lines + optional labels
Colors fully customizable
4. Pivot & Pre-Market Levels
Daily Pivot (PP) + R1–R3 / S1–S3 auto-calculated
Pre-Day High/Low (purple) & Pre-Week High/Low (blue)
Daily Open line (cyan)
Extend future lines with Extend Future
5. Opening Range Breakout (ORB)
Enable ORB 15min High/Low
Set start: 9:30 AM , end: 9:45 AM (NYT)
Lines extend ± N bars (default 5)
Great for breakout entries
6. VWAP & Moving Averages
Toggle VWAP , MA9/20 cross , MA50/100/200
Trend Cloud : EMA38 (fast) vs EMA62 (slow) → bullish/bearish fill
7. CHoCH – Change of Character
Detects swing breaks with 20-bar lookback
Draws dotted line from swing point to breakout
Labels: "CHoCH" in green (bull) or red (bear)
8. Fair Value Gaps (FVG)
Detects gaps > 0.5× ATR with volume > 1.2× avg
Draws semi-transparent boxes + midline
Max 10 FVGs , auto-expire after 50 bars
9. ZigZag + Fibonacci
ZigZag period: 15 (adjustable)
Auto-draws 0.236, 0.382, 0.5, 0.618, 0.786 levels
Labels show ratio + price
Extends to right on last leg
10. Order Blocks & Breaker Blocks
Detects institutional zones using swing + volume
Filters by size (0–30%) and volume multiplier
Shows last 5 Bull / 5 Bear OBs
Breaker Blocks : when OB is broken → becomes supply/demand
Mitigation tracking : 50%, Close, or Wick
Strength score (0–100) → stronger = bolder color
11. Statistics Dashboard
Toggle Show Statistics Table
Displays: Total OBs, Breakers, Bull/Bear counts
Position: Top/Bottom, Left/Right
12. Alerts
Bullish OB Formation
Bearish OB Formation
Breaker Block Formation
Polarity Change (▲/▼)
Best Practices & Tips
Use on 1m, 3m, 5m, 15m for intraday
Combine ORB + CHoCH for high-probability breakouts
Wait for FVG retest in direction of trend
Strong OBs (>70 strength) = high confluence zones
Use Pre-Week H/L for weekly bias
MOC session (15:50–16:00) = final 10min imbalance
Customization Options
Colors : All lines, boxes, labels
Opacity : Pivot (0–100%), FVG, OB
Line Width : OB/Breaker lines
Display Mode : Boxes, Lines, or Both
Labels : Session, FVG, CHoCH, Polarity
Author : futurescall @ fcalgobot.com . discord.gg
Credit: @LuxAlgo for BB, OB . Zigzag base on @LonesomeTheBlue
Market Breadth - [JTCAPITAL]Market Breadth - is a comprehensive crypto market strength and sentiment indicator designed to visualize the overall bullish or bearish alignment across 40 major cryptocurrencies. By combining multi-asset Exponential Moving Average (EMA) comparisons and smoothing techniques, it offers a clean, aggregated view of the broader market trend—helping traders quickly assess whether the market is dominated by bullish momentum or bearish pressure.
The indicator works by calculating in the following steps:
Symbol Selection and Data Retrieval
The script monitors 40 leading cryptocurrencies based on Market Cap. Each asset’s daily close price is requested using a 1D timeframe. This ensures that every data point reflects the same temporal resolution, allowing the indicator to evaluate global crypto strength rather than individual token volatility.
EMA Comparison per Asset
For each asset, two Exponential Moving Averages (EMAs) are calculated:
A short-term EMA with period emalength (default 10).
A long-term EMA with period emalength2 (default 20).
Each coin receives a score of +1 when the short-term EMA is greater than the long-term EMA (indicating bullish structure), or -1 when it is below (indicating bearish structure). This binary scoring system effectively converts individual price action into a directional sentiment measure.
Market Breadth Aggregation
All 40 individual scores are summed into a single composite value called scores .
If many assets have bullish EMA alignment, the total score becomes strongly positive.
If the majority show bearish alignment, the total score turns negative.
This step transforms scattered price data into one unified market breadth metric—quantifying how many assets participate in the same directional trend.
Smoothing the Breadth Line
To reduce short-term noise and isolate trend direction, the aggregated score is smoothed using an EMA of length = smoothlen (default 15). The resulting smoothed line helps identify sustained shifts in collective sentiment rather than temporary fluctuations.
Visualization and Color Coding
When scores > 0 , the market breadth is bullish and the histogram is colored blue.
When scores < 0 , the breadth turns bearish and the histogram is purple.
The same logic applies to the smoothed line and background color, offering an instant visual cue of market mood transitions.
Buy and Sell Conditions:
The indicator itself does not trigger direct buy/sell signals but rather acts as a market regime filter . Traders can use it as follows:
Buy Filter: When the smoothed value is above zero and rising, the majority of assets confirm an uptrend — this favors long setups or trend continuation entries.
Sell Filter: When the smoothed value is below zero and falling, bearish alignment dominates — ideal for short setups or defensive risk management.
Optional filters could include combining this with RSI or volume-weighted momentum indicators to confirm breadth-based reversals.
Features and Parameters:
emalength – Defines the short-term EMA length used for individual asset trend detection (default 10).
emalength2 – Defines the long-term EMA length (default 20).
smoothlen – Defines the smoothing EMA length for the total market breadth line (default 15).
40 asset inputs – User-editable symbols allow full customization of which cryptos are tracked.
Dynamic color backgrounds – Visual distinction between bullish and bearish phases.
Specifications:
Exponential Moving Average (EMA)
EMA is a type of moving average that places more weight on recent price data, responding faster to market changes compared to SMA. By comparing a short-term and long-term EMA, the indicator captures momentum shifts across each asset individually. The crossover logic (EMA10 > EMA20) signals bullish conditions, while the opposite indicates bearish momentum.
Market Breadth
Market Breadth quantifies how many assets are participating in a directional move. Instead of tracking a single coin’s trend, breadth analysis measures collective sentiment. When most coins’ short-term EMAs are above long-term EMAs, the market shows healthy bullish breadth. Conversely, when most are below, weakness dominates.
Smoothing (EMA on Scores)
After summing the breadth score, the result is smoothed with an additional EMA to mitigate the inherent volatility caused by individual coin reversals. This second-level smoothing transforms raw fluctuations into a readable, trend-consistent curve.
Color Visualization
Visual cues are integral for intuitive interpretation.
Blue Shades: Indicate bullish alignment and collective upward momentum.
Purple Shades: Indicate bearish conditions and potential risk-off phases.
The background tint reinforces visual clarity even when the indicator is overlaid on price charts.
Background Logic
By applying the same color logic to the chart’s background, users can instantly recognize the prevailing market phase.
Use Cases
As a trend confirmation filter for other indicators (e.g., trade only in the direction of positive breadth).
As a divergence tool : when price rises but breadth weakens, it may signal a topping market.
As a macro sentiment monitor : perfect for assessing when the crypto market as a whole transitions from bearish to bullish structure.
Summary
“ Market Breadth - ” transforms the chaotic price movements of 40 cryptocurrencies into a single, powerful visual representation of overall market health. By merging EMA cross analysis with market-wide aggregation and smoothing , it provides traders with a deep understanding of when bullish or bearish forces dominate the ecosystem.
It’s a clean, data-driven approach to identifying shifts in crypto market sentiment — a perfect companion for trend-following, macro analysis, and timing portfolio exposure.
Enjoy!
Easy [CHE] Easy — Minimalist Pine Script for detecting EMA direction changes to define fixed price zones for simple support and resistance visualization, ideal for manual trading workflows.
Summary
This indicator's programming is kept minimalist and super simple, with core logic in under 20 lines for easy comprehension and modification. It creates fixed price zones based on divergences between a base exponential moving average and its smoother counterpart, helping traders spot potential consolidation or reversal areas without dynamic adjustments. By locking the zone at the high and low of the signal bar, it avoids over-expansion in volatile conditions, offering a stable reference line colored by price position relative to the zone. This approach differs from expanding channels by prioritizing simplicity and persistence until a new qualifying signal, reducing visual clutter while highlighting directional bias through midpoint coloring.
Motivation: Why this design?
Traders often face noisy signals from moving averages that flip frequently in sideways markets or lag during breakouts, leading to premature entries or missed opportunities. This indicator addresses that by focusing on confirmed direction shifts between the base and smoothed averages, then anchoring a non-expanding zone to capture the initial price range of the shift. The result is a cleaner tool for marking equilibrium levels, assuming price respects these bounds in ranging or mildly trending conditions.
What’s different vs. standard approaches?
- Reference baseline: Traditional moving average crossovers or simple channels that update every bar.
- Architecture differences:
- Zones are set only on new divergence signals and remain fixed until reset by a gap from the prior zone.
- No ongoing high-low expansion; relies on persistent variables to hold bounds across bars.
- Midpoint plotting with conditional coloring based on close position, plus a highlight for zone initiations.
- Practical effect: Charts show persistent horizontal references instead of drifting lines, making it easier to gauge if price is rejecting or embracing the zone—useful for avoiding false breaks in low-volatility setups.
How it works (technical)
The indicator first computes a base exponential moving average of closing prices over a user-defined length, then applies a second exponential moving average to smooth that base. It checks if both the base and smoothed values are increasing or decreasing compared to their prior values, indicating aligned direction. A signal triggers when this alignment breaks, marking a potential shift.
On a new signal, if the current bar's high and low fall outside any existing zone (or none exists), the zone bounds update to those extremes and persist via dedicated variables. The midpoint of these bounds becomes the primary plot line, colored green if below the close (bullish lean), red if above (bearish lean), or gray otherwise. A secondary thick line highlights the midpoint briefly when a zone first sets, aiding visual confirmation. No higher timeframe data or external fetches are used, so updates occur on each bar close without lookahead.
Parameter Guide
EMA Length — Sets the period for the base moving average; longer values smooth more, reducing signal frequency but increasing lag. Default: 50. Trade-offs/Tips: Shorter for faster response in intraday charts (risks noise); longer for daily trends (may miss early shifts).
Smoother Length — Defines the period for the secondary smoothing on the base average; higher values dampen minor wiggles for stabler direction checks. Default: 3. Trade-offs/Tips: Keep low (2–5) for sensitivity; increase to 7+ if zones trigger too often in choppy markets, at cost of delayed signals.
Reading & Interpretation
The main circle plot at the zone midpoint serves as a dynamic equilibrium line: green suggests price is above the zone (potential strength), red indicates below (potential weakness), and gray shows containment within bounds (neutral consolidation). A sudden thick foreground line at the midpoint flags a fresh zone start, prompting review of the prior bar's context. Absence of a plot means no active zone, implying reliance on price action alone until the next signal.
Practical Workflows & Combinations
- Trend following: Enter long on green midpoint after a higher low touches the zone lower bound, confirmed by structure like higher highs; filter shorts similarly on red with lower highs.
- Exits/Stops: Use the opposite zone bound as a conservative stop (e.g., below lower for longs); trail aggressively to midpoint on strong moves, tightening near gray neutrality.
- Multi-asset/Multi-TF: Defaults work across forex and stocks on 1H–Daily; for crypto volatility, shorten EMA Length to 20–30. Pair with volume oscillators for confirmation, avoiding isolated use.
Behavior, Constraints & Performance
- Repaint/confirmation: Plots update on bar close using historical closes, so confirmed signals hold; live bars may shift until close but without future references.
- security()/HTF: Not used, eliminating related repaint risks.
- Resources: Minimal overhead—no loops, arrays, or bar limits exceeded; suitable for real-time on any timeframe.
- Known limits: Fixed zones may lag in strong trends (price drifts away without reset); signals skip if no gap from prior zone, potentially missing clustered shifts. Assumes standard OHLC data; untested on non-equity assets.
Sensible Defaults & Quick Tuning
Start with EMA Length at 50 and Smoother Length at 3 for balanced daily charts. If signals fire too frequently (e.g., in ranges), extend EMA Length to 100 for fewer but stabler zones. For sluggish response in trends, drop Smoother Length to 2 and EMA Length to 30, monitoring for added noise. In high-vol setups, widen both to 75/5 to filter extremes, trading speed for reliability.
What this indicator is—and isn’t
This is a lightweight visualization layer for EMA-driven zones, aiding manual chart reading and basic signal spotting. It is not a standalone system, predictive model, or automated alert generator—integrate with broader analysis like market structure and risk rules. (Unknown/Optional: No built-in alerts or multi-timeframe scaling.)
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
My script//@version=5
indicator("ICP Análise Completa", overlay=true)
// Médias Móveis
ma50 = ta.sma(close, 50)
ma200 = ta.sma(close, 200)
plot(ma50, title="MA 50", color=color.blue, linewidth=2)
plot(ma200, title="MA 200", color=color.red, linewidth=2)
// Bollinger Bands
bb_middle = ta.sma(close, 20)
bb_std = ta.stdev(close, 20)
bb_upper = bb_middle + 2 * bb_std
bb_lower = bb_middle - 2 * bb_std
plot(bb_upper, title="BB Upper", color=color.green)
plot(bb_middle, title="BB Middle", color=color.gray)
plot(bb_lower, title="BB Lower", color=color.green)
// RSI
rsi = ta.rsi(close, 14)
rsiOverbought = 70
rsiOversold = 30
hline(rsiOverbought, "RSI Overbought", color=color.red)
hline(rsiOversold, "RSI Oversold", color=color.green)
plot(rsi, title="RSI", color=color.purple, linewidth=2, title="RSI (14)", display=display.none)
// MACD
= ta.macd(close, 12, 26, 9)
plot(macdLine, title="MACD Line", color=color.teal, linewidth=2)
plot(signalLine, title="Signal Line", color=color.orange, linewidth=2)
// Alertas visuais
plotshape(close > 7, title="Alvo US$7+", location=location.abovebar, color=color.green, style=shape.labelup, text=">7")
plotshape(close < 5, title="Abaixo US$5", location=location.belowbar, color=color.red, style=shape.labeldown, text="<5")
Avg % Move Dashboard — Body and WicksTitle
Avg % Move Dashboard — Body and Wicks (w/ True Range)
Summary
Compact right-side dashboard showing the average percent move of recent candles:
Body size (absolute % from Open to Close)
Body bias (signed %, with up/down arrow and color)
Full range (High–Low %)
True range (ATR-style % relative to previous close)
Perfect for quickly gauging current market velocity and directional skew on any symbol or timeframe.
How It Works
Body % (per bar): (Close − Open) / Open × 100
Full range % (per bar): (High − Low) / Open × 100
True range % (per bar): max(High−Low, |High−PrevClose|, |Low−PrevClose|) / PrevClose × 100
Averages: Simple moving averages over the last N candles
Rounding: Values rounded to your chosen decimals
Bias row: shows signed average body percent with an ↑/↓ arrow and green/red color; near-zero values can display a neutral ⟷ based on a threshold
Settings
Candles to average (default 20): Window length for SMA calculations.
Decimals: Rounding precision for display.
Dashboard position: Top/Middle/Bottom Right.
Dashboard size: Tiny, Small, Normal, Large, Huge.
Background Color: Panel background.
Text Color (size rows): For non-bias rows.
Near-zero threshold (%): If the average body bias absolute value is below this, show neutral (⟷) instead of bullish/bearish.
What to show (toggles):
Show Body (Open→Close)
Show Full Range (High→Low)
Show True Range (ATR-style)
What You’ll See
Body size: average absolute body percent (magnitude only).
Body bias: average signed body percent with:
↑ and green if bullish
↓ and red if bearish
⟷ and gray if within the near-zero threshold
Full Range: average percent from High to Low.
True Range: average percent true range relative to previous close.
Footer: n = number of candles used.
How to Use
Add to any chart and timeframe; it overlays a table on the right-side.
Use “Body size” to assess typical candle strength.
Use “Body bias” to see directional skew:
Strong positive = persistent buying pressure.
Strong negative = persistent selling pressure.
Near-zero = balanced/sideways conditions.
Compare “Full range” vs “Body size”:
Large range but small body may indicate indecision or wicky conditions.
“True range” offers a classic ATR-style read (relative to prior close), useful for volatility-aware sizing.
Adjust “Candles to average” to your timeframe:
Short-term (scalps): 20–50
Intraday: 50–100
Swing: 100–200+
Best Practices
Pair with structure (S/R, sessions) to avoid false impressions in thin markets.
Increase length on noisy pairs/timeframes to smooth out noise.
Use the near-zero threshold to suppress micro-bias and focus on meaningful shifts.
Alerts
This dashboard is informational and doesn’t define alertconditions in the code. If you’d like, I can add optional alerts (e.g., bias flips from bearish to bullish beyond threshold, or volatility spikes on TR) — just say the word.
Limitations
This panel summarizes recent averages; it’s not a signal generator.
Values can differ across assets/timeframes; tune “Candles to average.”
True Range uses prev close normalization; that’s by design for ATR-style context.
Changelog
v1.0: Initial release — Body size, Body bias (with arrows/colors/neutral), Full Range, True Range, configurable UI.






















