Bitfinex Longs/Shorts Ratio AlertableThis script contains Bitfinex longs/short ratio and generates alarms with a given input .default value is 60 which means alerts when either shorts/longs reach 60:40 ratio
Search in scripts for "股价站上60月线"
RSI / Stoch / SRSI / MFI / Aroon Overlay [SigmaDraconis]Combines 4 popular indicators (RSI, Stoch, SRSI, MFI) and 1 peculiar one (Aroon) in 1 for those who want to save indicators but not only.
This is an evolution of my (simpler) "RSI / Stoch / Stoch RSI (SRSI) Overlay " that you can find on my scripts.
Added bands for oversold/overbought areas (70/30 common for RSI and 80/20 for SRSI and MFI), as well as a middle 50 horizontal line.
Neutral bands around 55-45 added as well that can be hidden for less clutter. I also recommend a more transparent coloring for these since Pine script doesn't allow default transparency for horizontal lines.
By default only RSI and Stoch are activated, you can activate Aroon, MFI and SRSI on the inputs window.
Some extra notes:
* RSI, Stoch and MFI can help to strengthen one's decision as well as Aroon to predict a possible trend reversal, SRSI can show when RSI has high probability of being topped or bottomed when oversold/overbought but don't forget to look at volume and how the trend progresses that can keep SRSI above 80 or below 20 while RSI and price continues to trend, divergences are most helpful here to find possible reversal areas.
* This chart depicts some interesting divergences, as well as Stoch tops and bottoms and confluences between RSI/MFI and Stoch on some over-extended tops and bottoms that shown being good reversal zones.
RSI resistances are shown as well, failing to break above 60 or the neutral zone (this is a bearish BTC trend chart after all) or failing to gain support to break up certain levels (RSI notes a more bullish trend when consistently above 60 and more bearish below 40).
If you like it and use it to profit, please tip me below :)
Tip jars:
BTC: 15nMBiEGVrdGcu9C1h6QRcTNRvugHkqrMQ
ETH: 0xC33845946c48B61fBCbEA0367ec2238CaF2b73bc
BTS: sigma-draconis
Chop and explodeThe purpose of this script is to decipher chop zones from runs/movement/explosion
The chop is RSI movement between 40 and 60
tight chop is RSI movement between 45 and 55. There should be an explosion after RSI breaks through 60 (long) or 40 (short). Tight chop bars are colored black, a series of black bars is tight consolidation and should explode imminently. The longer the chop the longer the explosion will go for. tighter the better.
Loose chop (whip saw/yellow bars) will range between 40 and 60.
the move begins with blue bars for long and purple bars for short.
Couple it with your trading system to help stay out of chop and enter when there is movement. Use with "Simple Trender."
Best of luck in all you do. Get money.
Build A BotThis is the Robot we built during the 60 Minute Build-A-Bot webinar on September 12, 2018. We had a great time, and a lot of participation and the best part was that we finished up this robot and even ran a backtest in exactly 60 minutes! We built this robot based on recommendations and suggestions from those who were attending live. Lots of pieces in this robot, but you can always tinker with it, remove stuff, add things, whatever you want!
This version uses the CCI as a trigger for trade entry. The other version uses the Hull Moving Average as a trigger for trade entry.
Volume Zone Oscillator and Price Zone (VZO/PZO) [NeoButane]" Volume Precedes Price is the conceptual idea for the oscillator."
"The main idea of the VZO was to try to change the OBV to look like an oscillator rather than an indicator, also to include time; primarily to identify which zone the volume is located in during a specific period "
How to read this indicator:
Positive reading -> bullish
Negative reading -> bearish
-60 or 60 is seen as the limit of the oscillator range, and a pullback should be expected from there.
Plus and minus signs have been added to the top and bottom for VZO and PZO, with an adjustable threshold to trigger.
Alert conditions have been added to this indicator for ease of use.
Volume Zone Oscillator, write-up by the author (recommended reading)
http:capitalsynergy.com/resources/IFTA09VZO.pdf
Volume Zone Oscillator, uses and formula
https:www.investopedia.com/articles/active-trading/072815/how-interpret-volume-zone-oscillator.asp
Price Zone Oscillator, uses and formula
https:www.investopedia.com/terms/p/price-zone-oscillator.asp
Fib,Guppy Multiple MA(FGMMA)(A/D & Volume Weight,SMA,EMA)[cI8DH]Features:
- 3 + 12 MAs (12 is chosen because Guppy has 12 MAs)
- MA types can be set to Simple, Exponential, Weighted, and Smoothed
- Volume weight can be applied to all available MAs (the built-in VWMA uses Simple MA)
- It is possible to count in only effective portions of the volume in the equation by using Accum/Dist Volume Weight
- Secondary smoothing (useful when volume weight is enabled)
- Predefined MA sets based on Fibonacci sequence (2,3,5,8,.., 377), Guppy (3,5,8,10,12,15 &30,35,40,45,50,60), and cI8DH (2,3,5,8,12,17 & 30,34,39,45,52,60)
Recommended settings:
- hlc3 as input source captures all the essential information encapsulated in a candle. I'd use hlc3 as the default option. In uptrend, "low" and in downtrend, "high" might give more relevant results when using MAs for structural analysis of a market. For commonly used MAs (EMA20, SMA50,100,200), "close" should be used due to their self-fulfilling prophecy effect.
- When you have volume weight above 0, you may want to use secondary smoothing.
- Try not to use Simple MA for smaller lengths (below 20). Sharp changes in the past (right before the period specified by the length) will affect the current value of MA dramatically leading to confusion.
- I am using the first 3 MAs for SMA 50,100,200. You can disable them from the MA type selector all at once when using Fib or Guppy ribbons.
MA-based analysis:
There are different ways of structuring a market. Geometrical (trend lines, channels, fans, patterns, etc) and Fib retracement-based structuring is very common among traders. MAs give an alternative way of analyzing markets. MA ribbons such as Guppy (6 slow and 6 fast-moving MAs) are popular for analyzing market flow. IMO default Guppy sets are a bit random as the numbers do not have an elegant sequence. So I proposed my sets based on increasing sequene spacing (+1). These two MA ribbons are good for market flow analysis but the spacing of the MAs are not ideal for structuring a market. Ribbons based on the Fib sequence is a better choice for structuring a market. This is the equivalent of Fib channels but in a more dynamic form. Among other things, MA Fib ribbon can be used to assess market momentum and to compare different stages of a market. Here are two "educational-only" examples:
Notes:
- Smoothed MA with length L = Exponential MA with length 2*L-1
- Read the background section in my ADP indicator to understand how A/D Volume is calculated
Better RSI with bullish / bearish market cycle indicator This script improves the default RSI. First. it identifies regions of the RSI which are oversold and overbought by changing the color of RSI from white to red. Second, it adds additional reference lines at 20,40,50,60, and 80 to better gauge the RSI value. Finally, the coolest feature, the middle 50 line is used to indicate which cycle the price is currently at. A green color at the 50 line indicates a bullish cycle, a red color indicators a bearish cycle, and a white color indicates a neutral cycle.
The cycles are determined using the RSI as follows:
if RSI is overbought, cycle switches to bullish until RSI falls below 40, at which point it becomes neutral
if RSI is oversold, cycle switches bearish until RSI rises above 60, at which point it becomes neutral
a neutral cycle is exited at either overbought or oversold conditions
Very useful, please give it a try and let me know what you think
MG - Multiple time frame Stochastic RSIAllows user to view stochastic RSI from two different time frames.
Each stochastic RSI indicator is fully customizable, offering the following options:
- Timeframe
- RSI source
- RSI length
- Stochastic length
- Stochastic average length
- Stochastic smoothing length
Usage:
Comparing stochastic RSI across two different time frames can sharpen trades. For example, if you configure a 60 min and 5/15 min stochastic RSI pair, you might enter a long trade when the 60 min stoch RSI crosses up and exit / take profit when the 5 min stock RSI crosses down.
NG [Simple Harmonic Oscillator]The SHO is a bounded oscillator for the simple harmonic index that calculates the period of the market’s cycle.
The oscillator is used for short and intermediate terms and moves within a range of -100 to 100 percent.
The SHO has overbought and oversold levels at +40 and -40, respectively.
At extreme periods, the oscillator may reach the levels of +60 and -60.
The zero level demonstrates an equilibrium between the periods of bulls and bears.
The SHO oscillates between +40 and -40.
The crossover at those levels creates buy and sell signals.
In an uptrend, the SHO fluctuates between 0 and +40 where the bulls are controlling the market.
On the contrary, the SHO fluctuates between 0 and -40 during downtrends where the bears controlthe market.
Reaching the extreme level -60 in an uptrend is a sign of weakness.
Ichimoku Cloud w/SelIchimoku Cloud with selection for:
Regular:
conversionPeriods = 9,
basePeriods = 26
laggingSpan2Periods = 52,
displacement = 26
Crypto:
conversionPeriods = 10,
basePeriods = 30,
laggingSpan2Periods = 60,
displacement = 30
Crypto Doubled:
conversionPeriods = 20,
basePeriods = 60,
laggingSpan2Periods = 120,
displacement = 30
3 Linear Regression CurveFast 3LRC - 15/30/60 standard settings - 15/30 give a lot of noise, but give you a some time to prepare for the 60 to flip
DEMA Double Exponential Moving Average Strategy@Moneros 2017
Based on The DEMA is a fast-acting moving average that is more responsive to market changes than a traditional moving average
en.wikipedia.org
!!!! IN ORDER TO AVOID REPAITING ISSUES !!!!
!!!! DO NOT VIEW IN LOWER RESOLUTIONS THAN res/2 PARAMETER !!!!
for example res = 120 view >= 60m res = 60 view >= 30m
the length of the DEMA sampling shouldn't be longer than a candle
Best profits tested on BTCUSD
res = 105 slowPeriod = 2 fastPeriod = 32
res = 125 slowPeriod = 3 fastPeriod = 21
res = 120 slowPeriod = 2 fastPeriod = 32
res = 130 slowPeriod = 1 fastPeriod = 24
res = 40 slowPeriod = 4 fastPeriod = 93
res = 60 slowPeriod = 1 fastPeriod = 67
BTCUSD
RSI in Bull and Bear Market V2.0RSI oversold at 60/40 in bullish market
And Overbought at 40/60 in Bearish market
for more info of this Strategy
WaveTrend [MastroFran]Great indicator to show short term price movements. 5 day moving average oscillator. When green crosses red and under the 60 mark, buy with caution. when over the 60 mark and red crosses green sell immediately for highest profits.
Hersheys CoCo VolumeCoCo Volume shows you volume movement of your symbol after subtracting the movement from another symbol, preferrably the sector or market the stock belongs to.
My latest update to my CoCoVolume Indicator. It calculates today's volume percent over the 60 period average for both your symbol and index, and displays that difference. If the percent is over the max it highlights the color, showing BIG action for that stock.
The last version was calculating the percent volume difference from yesterday to today for the stock and index and displaying the difference. The prior method had large swings on low volume stocks... this one shows the independent volume action much better. The default values will suit most stocks.
You can set three variables...
- the index symbol, default is SPY
- the period for averaging, default is 60
- the max volume percent, default is 500
Good trading!
Brian Hershey
close-hl2 Price actionStill not tested, but looks very good ; it is the difference between EMA median price and EMA close in different time frame, I used 240, 60, and the current Time frame ,plus one more customed period ; can forcast the price movement , but it s not in scale, so it can not show how much higher or lower the price can goes but just the next direction. I think intraday on 5 ,15 ,60 better then high frame.If you need to try on Daily frame have to change the period to higher then Daily
Everyday 0002 _ MAC 1st Trading Hour WalkoverThis is the second strategy for my Everyday project.
Like I wrote the last time - my goal is to create a new strategy everyday
for the rest of 2016 and post it here on TradingView.
I'm a complete beginner so this is my way of learning about coding strategies.
I'll give myself between 15 minutes and 2 hours to complete each creation.
This is basically a repetition of the first strategy I wrote - a Moving Average Crossover,
but I added a tiny thing.
I read that "Statistics have proven that the daily high or low is established within the first hour of trading on more than 70% of the time."
(source: )
My first Moving Average Crossover strategy, tested on VOLVB daily, got stoped out by the volatility
and because of this missed one nice bull run and a very nice bear run.
So I added this single line: if time("60", "1000-1600") regarding when to take exits:
if time("60", "1000-1600")
strategy.exit("Close Long", "Long", profit=2000, loss=500)
strategy.exit("Close Short", "Short", profit=2000, loss=500)
Sweden is UTC+2 so I guess UTC 1000 equals 12.00 in Stockholm. Not sure if this is correct, actually.
Anyway, I hope this means the strategy will only take exits based on price action which occur in the afternoon, when there is a higher probability of a lower volatility.
When I ran the new modified strategy on the same VOLVB daily it didn't get stoped out so easily.
On the other hand I'll have to test this on various stocks .
Reading and learning about how to properly test strategies is on my todo list - all tips on youtube videos or blogs
to read on this topic is very welcome!
Like I said the last time, I'm posting these strategies hoping to learn from the community - so any feedback, advice, or corrections is very much welcome and appreciated!
/pbergden
Tick-Based Delta Volume BubblesTICK-BASED DELTA VOLUME BUBBLES
OVERVIEW
A real-time order flow indicator that displays volume delta at the tick level, helping traders identify buying and selling pressure as it develops during live market hours. Unlike traditional volume delta indicators that rely on bar close data, this indicator captures actual tick-by-tick volume changes and directional bias, providing granular insight into market dynamics.
HOW IT WORKS
The indicator monitors live tick data during real-time trading by tracking volume increases between consecutive price updates. Each time volume increments, the script calculates the volume delta, determines price direction, assigns directional bias to the volume, and accumulates net delta for each bar.
This methodology is identical to the tick detection mechanism used in professional cumulative volume delta tools, ensuring accuracy and reliability.
FEATURES
Real-Time Tick Detection
- Captures genuine tick-by-tick volume flow using varip persistence
- Not estimated from OHLC data
- Processes actual market ticks as they occur
Adaptive Bubble Sizing
- Bubbles scale based on delta strength relative to a customizable moving average (default 20 bars)
- Highlights significant order flow imbalances
- Five size levels from tiny to huge
Dual Display Modes
- Normal Mode: Sized bubbles with optional volume labels positioned at bar midpoint
- Minimal Mode: Clean dots above/below bars for unobtrusive delta visualization
Flow Classification
- Aggressive Buy (bright green): Strong positive delta with greater than 1.2x strength
- Aggressive Sell (bright red): Strong negative delta with greater than 1.2x strength
- Passive Buy (light green): Moderate positive delta
- Passive Sell (light red): Moderate negative delta
Intensity Mode (Optional)
- Gray: Low intensity (less than 0.5x average)
- Blue: Medium intensity (0.5-1.0x average)
- Orange: High intensity (1.0-2.0x average)
- Red: Extreme intensity (greater than 2.0x average)
Smart Filtering
- Percentile-based filters (customizable) ensure only significant delta events are displayed
- Reduces chart clutter while highlighting important order flow
- Separate thresholds for bubble display and numeric labels
Data Collection Status
- Optional progress box in top-right corner
- Shows real-time bar collection progress
- Displays percentage completion and bars remaining
- Automatically hides when sufficient data is collected
Hide Until Ready Option
- Suppresses bubble display until the averaging period is complete
- Prevents misleading signals from incomplete data
- Default requires 20 bars before displaying bubbles
SETTINGS
Delta Average Length (1-200, default 20)
- Lookback period for calculating delta strength baseline
- Higher values = longer-term delta comparison
- Lower values = more sensitive to recent changes
Hide Bubbles Until Enough Data
- Prevents display until averaging period completes
- Ensures reliable delta strength calculations
Show Data Collection Status Box
- Displays progress indicator during initialization
- Can be disabled if you understand the warmup period
Minimal Mode
- Switches to simple dot display above/below bars
- Green dots above bars = positive delta
- Red dots below bars = negative delta
- Maintains color intensity or flow type classification
Show Bubbles
- Master toggle for bubble display
Bubble Volume Percentile (0-100, default 60)
- Minimum percentile rank required to display bubble
- Higher values = fewer, more significant bubbles
- Lower values = more bubbles displayed
Show Numbers in Bubbles
- Toggle delta value labels
- Only appears in normal mode
- Disabled automatically in minimal mode
Label Volume Percentile (0-100, default 90)
- Higher threshold for displaying numeric labels
- Typically set higher than bubble percentile
- Reduces label clutter on chart
Intensity Mode
- Switch from flow-type coloring to magnitude-based coloring
- Useful for identifying volume spikes regardless of direction
IMPORTANT NOTES
Real-Time Only: This indicator processes live tick data and does not provide historical analysis. It begins collecting data when added to a live chart.
Volume Required: Symbol must have volume data available. Will not function on symbols without volume (most forex pairs from retail brokers).
Initialization Period: Requires the specified number of bars (default 20) to calculate accurate delta strength. Use the "Hide Until Ready" option to prevent premature signals.
Market Hours: Only collects data during live market hours. Does not backfill historical data.
CREDITS
Tick detection methodology inspired by the Kioseff Trading Tick CVD indicator. This implementation adapts the same core tick-level volume delta calculation for bubble-style visualization and per-bar delta analysis.
We Buy / We Sell - #TheStrat SignalsWe Buy / We Sell - #TheStrat SignalsDescription
This indicator is inspired by the #TheStrat methodology from Rob Smith, designed to identify high-probability "We Buy" (bullish) and "We Sell" (bearish) signals for trading stocks, ETFs, or futures like AMEX:SPY or $VSAT. It combines price action reversal patterns, higher timeframe continuity (HTFC), and optional broadening formation (BF) breaks to time entries with market momentum. Key Features: We Buy Signals: Triggered on a 2d-2u reversal (bearish to bullish candle) when the higher timeframe (HTF) is bullish (green) and optionally at a BF bottom (pivot low break). Labeled as "We Buy" at the candle’s low with a green triangle.
We Sell Signals: Triggered on a 2u-2d reversal (bullish to bearish candle) when the HTF is bearish (red) and optionally at a BF top (pivot high break). Labeled as "We Sell" at the candle’s high with a red triangle.
Candle Numbering: Displays #TheStrat candle types (1=Inside, 2u=Up, 2d=Down, 3=Outside) for context.
Debug Labels: Enabled by default, showing why signals don’t fire (e.g., "No HTFC Buy" if HTF isn’t bullish).
Partial Signals: Optional faint circles for 2d-2u or 2u-2d reversals (without HTFC/BF), disabled by default.
HTFC Background: Green (HTF bullish) or red (HTF bearish) background for timeframe alignment.
How It Works
Based on #TheStrat, the indicator seeks evidence of aggressive buying ("We Buy") or selling ("We Sell") by analyzing: Reversal Patterns: 2d-2u (We Buy): A bearish directional candle (2d) followed by a bullish directional candle (2u), signaling a potential bullish reversal.
2u-2d (We Sell): A bullish directional candle (2u) followed by a bearish directional candle (2d), signaling a potential bearish reversal.
Higher Timeframe Continuity (HTFC): We Buy requires the HTF (e.g., 1H or Daily) to close above its open (bullish).
We Sell requires the HTF to close below its open (bearish).
Broadening Formation (BF): Optional pivot high/low breaks approximate BF extremes (tops for We Sell, bottoms for We Buy).
Can be disabled (use_bf=false) for more frequent signals.
How to Use Setup: Apply to a 5min chart of a liquid asset (e.g., AMEX:SPY , NASDAQ:VSAT ) for intraday trading, or higher timeframes for swing trading.
Ensure sufficient chart history (TradingView > Chart Settings > Max Bars > 1000+).
Settings: Higher Timeframe (htf): Default "60" (1H). Try "15" (15min) for faster signals or "D" (Daily) for swing trades.
Pivot Lookback Length (pivot_len): Default 3. Lower to 1 for more signals, higher for stricter BF breaks.
Require Broadening Formation (use_bf): Default true. Set to false to skip BF checks, increasing signal frequency.
Show We Buy/We Sell Labels: Default true. Shows "We Buy" or "We Sell" on signal candles.
Show Candle Numbers: Default true. Displays 1/2u/2d/3 for #TheStrat context.
Show Debug Labels: Default true. Shows "No HTFC Buy", "No BF Buy", etc., to diagnose missing signals.
Show Partial Signals: Default false. Enable to show faint circles for 2d-2u/2u-2d reversals without HTFC/BF.
Trading: We Buy: Enter long on a green "We Buy" label (with triangle). Set stops below the signal candle’s low. Target BF highs or resistance.
We Sell: Enter short on a red "We Sell" label (with triangle). Set stops above the signal candle’s high. Target BF lows or support.
Use debug labels to understand why signals don’t fire (e.g., "No HTFC Buy" means HTF isn’t bullish).
Partial signals (faint circles) indicate reversals without full conditions, useful for discretionary setups.
Alerts: Right-click the indicator > "Add Alert" on we_buy or we_sell for real-time notifications.
Tips Best Assets: Use on liquid tickers like AMEX:SPY , NASDAQ:QQQ , or NASDAQ:VSAT , as seen in @AlexsOptions
’ examples.
Volatility: Signals are more frequent in trending or volatile markets. Check historical periods (e.g., September 2025) for testing.
Risk Management: Always use stops (e.g., 1-2% risk per trade) and validate signals with market context (e.g., sector/index alignment).
Learning #TheStrat: Study Rob Smith’s #TheStrat for deeper understanding of candle types and FTFC.
Troubleshooting No Signals? Check debug labels (e.g., "No HTFC Buy" means HTF isn’t bullish). Adjust htf (e.g., "15" or "D").
Set use_bf=false or lower pivot_len to 1 for more signals.
Ensure reversals (2d-2u or 2u-2d) are present (check candle numbers).
Test on volatile periods or liquid tickers.
No Partial Signals? Enable show_partial in settings to see faint circles for 2d-2u/2u-2d reversals.
Confirm reversal patterns exist (e.g., "2d" → "2u" in candle numbers).
TwistedHWAY Oracle - Intelligent Level Detection System═════════════════════════════════════════════════════════════════════════
🎯 TwistedHWAY Oracle™ - Intelligent Level Detection System
═════════════════════════════════════════════════════════════════════════
OVERVIEW
TwistedHWAY Oracle™ combines six independent calculation engines to identify high-probability support and resistance levels. The indicator uses adaptive market regime detection and confluence analysis to automatically rank levels by confidence score, helping traders identify key reaction zones where price is likely to find support or resistance.
KEY FEATURES
The indicator provides comprehensive level detection through:
Six Detection Engines — Each engine operates independently with its own alert system
Confluence Analysis — Automatically awards bonus confidence when multiple engines identify the same level
Adaptive Intelligence — Market volatility detection adjusts parameters in real-time
Confidence Scoring — Every level is ranked and displayed with a numerical confidence score
Individual Alerts — Separate alert controls for each detection method
DETECTION ENGINES
1 — Pivot Points Engine
Calculates daily pivot levels including PP, R1-R3, and S1-S3 using previous day's high, low, and close.
2 — Swing Detector
Identifies significant swing highs and lows using prominence filtering to eliminate noise.
3 — Psychological Matrix
Detects round number levels at three configurable increments (default: 10, 25, 50).
4 — Fibonacci Engine
Calculates retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) from major swings.
5 — VWAP System
Generates volume-weighted average price levels at three different periods.
6 — Confluence Analyzer
Awards bonus confidence points when multiple engines identify the same level.
HOW TO USE
Reading the Levels
Levels above current price = Resistance (red by default)
Levels below current price = Support (green by default)
Numbers in brackets show confidence score
Higher confidence = stronger level
Levels with score > 2.0 indicate extreme confluences
Trading Strategies
Bounce Trading — Enter positions when price approaches high-confidence levels expecting reversal
Breakout Trading — Trade breakouts through levels, using broken level as stop-loss
Confluence Zones — Focus on areas where multiple engines agree
SETTINGS GUIDE
Oracle Settings
Validation Mode — Conservative parameters for more reliable signals
Max Levels — Number of levels to display (10-50)
Level Extension — Line extension direction (None/Left/Right/Both)
Individual Engine Controls
Each engine can be toggled on/off with separate alert controls:
Pivot Engine (daily pivots)
Swing Detector (historical swings)
Psychological Matrix (round numbers)
Fibonacci Engine (retracements)
VWAP System (volume-weighted levels)
Visual Settings
Individual color selection for each level type
Label display toggle with size options
Line style preferences (Solid/Dashed/Dotted)
Alert Configuration
Alert Distance % — Proximity threshold (default: 0.5%)
Alert Cooldown — Minimum bars between alerts (default: 60)
Individual alert toggles for each engine
ADAPTIVE PARAMETERS
The indicator automatically adjusts to market conditions:
High Volatility Mode — Wider swing detection, stricter prominence filters
Normal Mode — Balanced parameters for typical market conditions
Validation Mode — Most conservative settings for reliable signals
Market regime is detected using 100-period volatility measurement with automatic threshold adjustment.
ALERTS
Five alert types plus special confluence alerts:
🎯 Pivot Alerts — Daily pivot level approaches
🌊 Swing Alerts — Historical swing level tests
🧠 Psychological Alerts — Round number approaches
🌀 Fibonacci Alerts — Retracement level tests
📉 VWAP Alerts — Volume-weighted level approaches
⚡ Critical Alerts — Ultra-high confidence levels (score ≥ 2.0)
Alerts include price level, confidence score, and source information.
BEST PRACTICES
Timeframe Selection
Works on all timeframes (optimized for 5min to Daily)
Higher timeframes = more reliable levels
Use multi-timeframe analysis for confirmation
Optimization by Instrument
Forex:
Psychological increments: 0.0010, 0.0050, 0.0100
Stocks (Low-priced):
Psychological increments: 1, 5, 10
Stocks (High-priced):
Psychological increments: 10, 25, 50
Crypto:
Adjust based on price range and volatility
LIMITATIONS
Calculation intensive on last bar (may cause slight delays)
Maximum 50 levels can be displayed simultaneously
Swing detection requires minimum 25 bars of history
VWAP calculations use price range as volume proxy when volume unavailable
NOTES
Levels are recalculated on each bar close
Confidence scores update dynamically with market conditions
Colors automatically adjust based on price position
All settings are saved with chart layout
═════════════════════════════════════════════════════════════════════════
Version: 3.0 | Build 2025.10
License: GNU GPL v3.0
© 2025 TwistedHWAY
═════════════════════════════════════════════════════════════════════════
Moving Averages Power
-----------------------------------------------------------------------------
This is a README in Pine Script format for TradingView publication.
It contains usage docs in comments and a no-op plot so it uploads without issue.
For the actual indicator, use: moving_averages_simple.pine
-----------------------------------------------------------------------------
plot(na) no-op to keep the script valid without drawing anything
=============================================================================
Moving Averages (5–4320) — Trend + Normalized Strength
=============================================================================
Lightweight indicator that plots up to 15 SMAs (5 → 4320) and shows a compact
table with each MA’s:
- Slope % (per-bar)
- Trend (Bullish/Bearish/Neutral)
- Normalized “Strength” bars comparable across MA lengths and, optionally,
across timeframes via ATR%
Not financial advice. For research/education only.
----------------------------------------------------------------------------
Scope
----------------------------------------------------------------------------
- Simple Moving Averages (SMA) only
- Periods: 5, 10, 20, 30, 60, 120, 160, 240, 480, 720, 960, 1440, 1750, 2880, 4320
- Overlays lines + end-of-series labels; adds a 4×16 table (bottom-right)
- Strength normalization modes: None, Length, ATR%, Length+ATR%
----------------------------------------------------------------------------
Key Features
----------------------------------------------------------------------------
- 15 SMA lines on one chart
- Line/label/table colors reflect trend:
• Bullish (slope > 0): green
• Bearish (slope < 0): red
• Neutral (otherwise): gray
- Normalized Strength bars comparable across MA lengths and (optionally) across
timeframes via ATR%
- Show/hide any SMA; adjustable font sizes for labels and table
----------------------------------------------------------------------------
Installation (TradingView)
----------------------------------------------------------------------------
1) Open TradingView → any chart → Pine Editor
2) Create a new script and paste the contents of moving_averages_simple.pine
3) Save → Add to chart
4) Open Settings to customize inputs
(This README.pine is just documentation. It does not draw lines or the table.)
----------------------------------------------------------------------------
Usage
----------------------------------------------------------------------------
Table columns:
- MA: the moving average period
- Slope %: per-bar percent change of the MA
slope% = 100 × (MA − MA ) / MA
- Trend: Bullish (green), Bearish (red), Neutral (gray)
- Strength: a bar of ▮ characters, computed from normalized strength and
clamped to a max (default 10 bars)
Strength normalization (S):
- None: S = |slope%|
- Length: S = |slope%| × (length / normRefLen)
- ATR%: S = |slope%| / ATR%, where ATR% = 100 × ATR(atrLen) / close
- Length+ATR%: S = (|slope%| × (length / normRefLen)) / ATR%
Bars: bars = floor(S / strengthStep), clamped to maxStrengthBars
Notes:
- normRefLen (default 240) stabilizes Length scaling across very short/long MAs
- In ATR modes, Strength is blank until ATR is ready (requires atrLen bars)
----------------------------------------------------------------------------
Inputs (Settings)
----------------------------------------------------------------------------
- Display: 15 toggles to show/hide SMA 5 … SMA 4320
- Text Settings: Label font size; Table font size
- Strength Settings:
• Strength normalization: None | Length | ATR% | Length+ATR%
• Strength step (normalized units): sensitivity of bar count
• Max bars: clamp for bar count (default 10)
• Normalization reference length: baseline for Length scaling (default 240)
• ATR Length (for ATR% normalization): ATR lookback for ATR%
----------------------------------------------------------------------------
Recommended presets
----------------------------------------------------------------------------
Intraday (e.g., BTCUSD, 1h):
- Normalization: Length+ATR%
- normRefLen: 240
- Strength step: 0.02–0.05
- Max bars: 10
- ATR Length: 14
Daily (e.g., AAPL, 1D):
- Normalization: Length
- normRefLen: 240–480
- Strength step: 0.01–0.03
- Max bars: 10
----------------------------------------------------------------------------
Calibration tips
----------------------------------------------------------------------------
Bars often maxed (pegged)?
- Increase Strength step (e.g., 0.01 → 0.03 → 0.05)
- Or increase normRefLen (e.g., 240 → 480 → 720)
Bars too few?
- Decrease Strength step (e.g., 0.02 → 0.01 → 0.005)
- Or decrease normRefLen (e.g., 240 → 120)
Cross-timeframe comparability:
- Prefer Length+ATR%; start with Strength step ≈ 0.02–0.05 and tune
----------------------------------------------------------------------------
Limitations
----------------------------------------------------------------------------
- SMA only (no EMA/WMA/etc.)
- Per-bar slope is timeframe-sensitive; use ATR% or Length+ATR% for better
cross-timeframe comparisons
- ATR modes require atrLen bars; Strength shows blank until ready
- Longest SMA (4320) needs sufficient chart history
----------------------------------------------------------------------------
Troubleshooting
----------------------------------------------------------------------------
- Strength always maxed:
• Using Length mode with too-small step → increase step and/or use Length+ATR%
• Review normRefLen (higher ref length dampens long MAs)
- Strength blank cells:
• In ATR modes, wait for atrLen bars or use Length mode
- Table bounds:
• If you customize periods or table size in the main script, keep header at
row 0 and at most 15 data rows (4×16 table)
----------------------------------------------------------------------------
Compatibility
----------------------------------------------------------------------------
- Pine Script v6
- Works on most symbols/timeframes with adequate history
----------------------------------------------------------------------------
Credits & Feedback
----------------------------------------------------------------------------
If you find this useful, consider sharing your preferred defaults (symbol/
timeframe) so better presets can be added. PRs/issues welcome in the repo.
Pump-Smart Shorting StrategyThis strategy is built to keep your portfolio hedged as much as possible while maximizing profitability. Shorts are opened after pumps cool off and on new highs (when safe), and closed quickly during strong upward moves or if stop loss/profit targets are hit. It uses visual overlays to clearly show when hedging is on, off, or blocked due to momentum, ensuring you’re protected in most market conditions but never short against the pump. Fast re-entry keeps the hedge active with minimal downtime.
Pump Detection:
RSI (Relative Strength Index): Calculated over a custom period (default 14 bars). If RSI rises above a threshold (default 70), the strategy considers the market to be in a pump (strong upward momentum).
Volume Spike: The current volume is compared to a 20-bar simple moving average of volume. If it exceeds the average by 1.5× and price increases at least 5% in one bar, pump conditions are triggered.
Price Jump: Measured by (close - close ) / close . A single-bar change > 5% helps confirm rapid momentum.
Pump Zone (No Short): If any of these conditions is true, an orange or red background is shown and shorts are blocked.
Cooldown and Re-Entry:
Cooldown Detection: After the pump ends, RSI must fall below a set value (default ≤ 60), and either volume returns towards average or price momentum is less than half the original spike (oneBarUp <= pctUp/2).
barsWait Parameter: You can specify a waiting period after cooldown before a short is allowed.
Short Entry After Pump/Cooldown: When these cooldown conditions are met, and no short is active, a blue background is shown and a short position is opened at the next signal.
New High Entry:
Lookback New High: If the current high is greater than the highest high in the last N bars (default 20), and pump is NOT active, a short can be opened.
Take Profit (TP) & Stop Loss (SL):
Take Profit: Short is closed if price falls to a threshold below the entry (minProfitPerc, default 2%).
Stop Loss: Short is closed if price rises to a threshold above the entry (stopLossPerc, default 6%).
Preemptive Exit:
Any time a pump is detected while a short position is open, the strategy closes the short immediately to avoid losses.
Visual Feedback:
Orange Background: Market is pumping, do not short.
Red Background: Other conditions block shorts (cooldown or waiting).
Blue Background: Shorts allowed.
Triangles/Circles: Mark entries, pump start/end, for clear trading signals.
5-Min EMA MACD RSI Scalping (MACD 5 Candles Confirm) - BVK 🔹 5-Min EMA MACD RSI Scalping Strategy – Full Description
The 5-Min EMA MACD RSI Scalping Strategy is a powerful intraday trading technique designed for quick trades on lower timeframes, mainly the 5-minute chart. It combines trend confirmation (EMA), momentum analysis (MACD), and overbought/oversold signals (RSI) to capture short, high-probability price moves in both bullish and bearish markets.
⚙️ Indicators Used:
Exponential Moving Averages (EMA)
EMA 9 – Fast-moving average for entry trigger.
EMA 21 – Medium-term average for trend confirmation.
When EMA 9 crosses above EMA 21 → Bullish bias.
When EMA 9 crosses below EMA 21 → Bearish bias.
MACD (12, 26, 9)
Confirms momentum and possible entry zones.
Bullish confirmation: MACD line crosses above signal line.
Bearish confirmation: MACD line crosses below signal line.
RSI (14-period)
Filters out false signals.
Buy zone: RSI rising above 40–50.
Sell zone: RSI falling below 60–50.
Avoid trades when RSI is near 70 (overbought) or 30 (oversold).
💡 Entry Rules:
Buy Setup (Long Trade):
EMA 9 crosses above EMA 21.
MACD line crosses above signal line (positive momentum).
RSI is above 50 but below 70 (confirming strength).
Enter trade at candle close.
Sell Setup (Short Trade):
EMA 9 crosses below EMA 21.
MACD line crosses below signal line.
RSI is below 50 but above 30 (confirming weakness).
Enter trade at candle close.
🎯 Exit Rules:
Take Profit: 1.5x to 2x of risk or near the opposite EMA crossover.
Stop Loss: Below/above recent swing low/high or 0.3–0.5% away from entry.
Optional trailing stop using EMA 9 for dynamic exits.
📊 Best Timeframes & Assets:
Works best on 5-minute charts.
Suitable for Forex, Indices, Cryptocurrency, and Stocks with good liquidity.
Avoid major news events or low-volume sessions.
⚠️ Tips for Best Results:
Trade only during high-volume market sessions (e.g., London/New York overlap).
Always confirm trend direction on higher timeframes (15m or 1H).
Avoid overtrading—wait for clear signal confluence (EMA + MACD + RSI).
🧠 Strategy Summary:
“EMA gives you the trend, MACD gives you momentum, and RSI keeps you disciplined.”
This strategy is simple yet effective for traders who prefer quick in-and-out trades within minutes, offering a structured approach to scalping with reduced emotional bias.