Cycles
SuperTrade ST1 StrategyThis strategy leverages the Supertrend indicator to identify trend direction and capture key entry and exit points in the market. By utilizing ATR (Average True Range) for dynamic stop-loss and take-profit levels, this script adapts to varying market conditions for improved risk management.
Key Features
Supertrend Indicator: Defines the trend direction and generates buy/sell signals based on trend reversal points.
ATR-based Exits: Take Profit and Stop Loss are dynamically calculated using ATR multipliers to accommodate market volatility.
Customizable Inputs: Fine-tune the ATR Length, Supertrend Factor, and ATR multipliers for take-profit and stop-loss according to your strategy preferences.
Visual Indicators: Buy and Sell signals are clearly marked with labels on the chart, and the Supertrend line is color-coded for easy trend identification.
Background Trend Highlighting: The chart background changes color based on the prevailing trend to make it easier to follow the market direction.
This strategy is perfect for traders looking to ride trends while managing risk with smart, automated exits.
Accurate Swing Trading System - Strategy//@version=5
strategy("Accurate Swing Trading System - Strategy", overlay=true)
// Inputs
no = input.int(3, title="Swing")
Barcolor = input.bool(true, title="Barcolor")
Bgcolor = input.bool(false, title="Bgcolor")
// Logic
res = ta.highest(high, no)
sup = ta.lowest(low, no)
avd = close > res ? 1 : close < sup ? -1 : 0
avn = ta.valuewhen(avd != 0, avd, 0)
tsl = avn == 1 ? sup : res
Buy = ta.crossover(close, tsl)
Sell = ta.crossunder(close, tsl)
// Plotting
plotshape(Buy, title="BUY", style=shape.labelup, location=location.belowbar, color=color.green, text="BUY", textcolor=color.black)
plotshape(Sell, title="SELL", style=shape.labeldown, location=location.abovebar, color=color.red, text="SELL", textcolor=color.black)
colr = close >= tsl ? color.green : close <= tsl ? color.red : na
plot(tsl, color=colr, linewidth=3, title="TSL")
barcolor(Barcolor ? colr : na)
bgcolor(Bgcolor ? colr : na)
// Alerts
alertcondition(Buy, title="Buy Signal", message="Buy")
alertcondition(Sell, title="Sell Signal", message="Sell")
// Strategy Orders
if Buy
strategy.entry("Buy", strategy.long)
if Sell
strategy.close("Buy")
Rawstocks 15 Minute ModelRawstocks 15-Minute Model
The Rawstocks 15-Minute Model is a precision intraday trading strategy designed for the US stock market (9:30 AM - 4:00 PM ET), optimized for the 15-minute timeframe. It combines institutional order flow concepts with Fibonacci retracements to identify high-probability reversal setups while enforcing strict risk management and session-based rules.
Key Features
Time-Based Execution
Trading Hours: 9:30 AM - 4:00 PM ET (no new entries after 4:00 PM)
Force Close: All positions auto-exit at 4:30 PM ET (prevents overnight risk)
Entry Logic
Order Block + Fib Confluence:
Identifies institutional order blocks (previous swing highs/lows)
Requires price pullback to 61.8% or 79% Fibonacci level
Liquidity Confirmation:
Waits for stop runs (liquidity sweeps) before reversal entries
Exit Rules
Stop Loss: 1x ATR (14) from entry
Take Profit: 2:1 Risk-Reward (adjustable)
Visual Signals
Green Triangle: Valid long setup (pullback to bullish OB + Fib)
Red Triangle: Valid short setup (pullback to bearish OB + Fib)
Blue/Purple Background: Highlights active trading vs. close period
How It Works
Identify the Setup
Wait for a strong impulse move (break of structure)
Mark the order block (institutional zone)
Confirm Pullback
Price must retrace to 61.8% or 79% Fib level
Must occur within trading hours (9:30 AM - 4:00 PM)
Enter on Confirmation
Long: Break of pullback candle high (stop below recent swing low)
Short: Break of pullback candle low (stop above recent swing high)
Manage the Trade
Trail stop or exit at 2R (risk-to-reward)
All positions close at 4:30 PM sharp
Altseason Index | AlchimistOfCrypto
🌈 Altseason Index | AlchimistOfCrypto – Revealing Bitcoin-Altcoin Dominance Cycles 🌈
"The Altseason Index, engineered through advanced mathematical methodology, visualizes the probabilistic distribution of capital flows between Bitcoin and altcoins within a multi-cycle paradigm. This indicator employs statistical normalization principles where ratio coefficients create mathematical boundaries that define dominance transitions between cryptographic asset classes. Our implementation features algorithmically enhanced rainbow visualization derived from extensive market cycle analysis, creating a dynamic representation of value flow with adaptive color gradients that highlight critical phase transitions in the cyclical evolution of the crypto market."
📊 Professional Trading Application
The Altseason Index transcends traditional sentiment models with a sophisticated multi-band illumination system that reveals the underlying structure of crypto sector rotation. Scientifically calibrated across different ratios (TOTAL2/BTC, OTHERS/BTC) and featuring seamless daily visualization, it enables investors to perceive capital transitions between Bitcoin and altcoins with unprecedented clarity.
- Visual Theming 🎨
Scientifically designed rainbow gradient optimized for market cycle recognition:
- Green-Blue: Altcoin accumulation zones with highest capital flow potential
- Neutral White: Market equilibrium zone representing balanced capital distribution
- Yellow-Red: Bitcoin dominance regions indicating defensive capital positioning
- Gradient Transitions: Mathematical inflection points for strategic reallocation
- Market Phase Detection 🔍
- Precise zone boundaries demarcating critical sentiment shifts in the crypto ecosystem
- Daily timeframe calculation ensuring consistent signal reliability
- Multiple ratio analysis revealing the probabilistic nature of market capital flows
🚀 How to Use
1. Identify Market Phase ⏰: Locate the current index relative to colored zones
2. Understand Capital Flow 🎚️: Monitor transitions between Bitcoin and altcoin dominance
3. Assess Mathematical Value 🌈: Determine optimal allocation based on zone location
4. Adjust Investment Strategy 🔎: Modulate position sizing based on dominance assessment
5. Prepare for Rotation ✅: Anticipate capital shifts when approaching extreme zones
6. Invest with Precision 🛡️: Accumulate altcoins in lower zones, reduce in upper zones
7. Manage Risk Dynamically 🔐: Scale portfolio allocations based on index positioning
My-Indicator - Global Liquidity & Money Supply M2 + Time OffsetThis script is designed to visualize a global liquidity and money supply index by combining data from various regions and, optionally, central bank activity. Visualizing this data on a chart allows you to see how central banks are intervening in the financial system and how the total amount of money in the economy is changing. Let’s take a look at how it works:
Central Bank Liquidity
Shows the actions of central banks (e.g. FED, ECB) providing short-term cash to commercial banks. If you see spikes or a steady increase in these indicators, it may suggest that liquidity is being increased through intervention, which often stimulates the market.
Money Supply
M2 money supply is a monetary aggregate that includes M1 (cash and current deposits) plus savings deposits, small term deposits, and other financial instruments that, while not as liquid as M1, can be quickly converted into cash. As a result, M2 provides a broader picture of the available money in the economy, which is useful for analyzing market conditions and potential economic trends.
How does it help investors?
It allows you to quickly see when central banks are injecting additional liquidity, which could signal higher prices.
It allows you to see trends in the money supply, which informs potential changes in inflation and the economic cycle.
Combining both sets of data provides a more complete picture – both in the short and long term – which makes it easier to predict upcoming price movements.
This allows investors to better respond to changes in central bank policy and broader monetary trends, increasing their chances of making better investment decisions.
Data Collection
The script retrieves money supply data for key markets such as the USA (USM2), Europe (EUM2), China (CNM2), and Japan (JPM2). It also offers additional money supply series for other markets—like Canada (CAM2), Great Britain (GBM2), Russia (RUM2), Brazil (BRM2), Mexico (MXM2), and New Zealand (NZM2)—with extra options (e.g., Australia, India, Korea, Indonesia, Malaysia, Sweden) disabled by default. Moreover, you can enable data for central bank liquidity (such as FED, RRP, TGA, ECB, PBC, BOJ, and other central banks), which are also disabled by default.
Index Calculation
The indicator calculates the index by adding together all the enabled money supply series (and the central bank data if activated) and then scales the sum by dividing it by 1,000,000,000,000 (one trillion). This scaling makes the resulting values more manageable and easier to read on the chart.
Time Offset Feature
A key feature of the script is the time offset. With the input parameter "Time Offset (days)", the user can shift the plotted index line by a specific number of days. The script converts the given offset in days into a number of bars based on the current chart's timeframe. This allows you to adjust for the delay between liquidity changes and their effect on asset prices.
Overall, the indicator plots a line on your chart representing the global liquidity and money supply index, allowing you to visually monitor trends and better understand how liquidity and central bank actions may influence market movements.
What makes this script different from others?
Every supported market—both major regions (USA, Eurozone, China, Japan, etc.) and additional ones—is available. You can toggle each series on or off, so you can view only Money Supply data, only Central Bank Liquidity, or any custom combination.
Separated Data Groups. Inputs are organized into clear groups (“Money Supply”, “Other Money Supply”, “Central Bank Liquidity”), making it easy to focus on just the data you need without clutter.
True Day‑Based Offset. This script converts your chosen “Time Offset (days)” into actual days regardless of timeframe. Whether you’re on a 5‑minute or daily chart, the index is always shifted by exactly the number of days you specify.
RAZ G. MACD PRICE TRIGGER - LONG(!)
"First, we determine the desired price level for entry and wait for a MACD cross to confirm the signal.
We can customize both the entry time frame and a separate time frame for taking profit or closing the position
15-Min ORB Strategy )15 min orb with trailing orders. could use some refinement to mitigate drawdown. better if you recalculate after each bar. i made this for NQ
BTC Growth | AlchimistOfCrypto🌈 BTC Regression Bands & Halvings – Unveiling Bitcoin's Logarithmic Growth Fields 🌈
"The Bitcoin Regression Bands, engineered through advanced logarithmic mathematics, visualizes the probabilistic distribution of Bitcoin's price evolution within a multi-cycle growth paradigm. This indicator employs principles from hyperbolic regression where decay coefficients create mathematical boundaries that define Bitcoin's long-term value progression. Our implementation features algorithmically enhanced rainbow visualization derived from extensive cycle analysis, creating a dynamic representation of Bitcoin's logarithmic growth with adaptive color gradients that highlight critical halving-based phase transitions in the asset's monetary evolution."
📊 Professional Trading Application
The Bitcoin Regression Bands transcends traditional price prediction models with a sophisticated multi-band illumination system that reveals the underlying structure of Bitcoin's monetary evolution. Scientifically calibrated across multiple halving cycles and featuring seamless rainbow visualization, it enables investors to perceive Bitcoin's position within its macro growth trajectory with unprecedented clarity.
- Visual Theming 🎨
Scientifically designed rainbow gradient optimized for cycle pattern recognition:
- Violet-Blue: Lower value accumulation zones with highest mathematical growth potential
- Green: Fair value equilibrium zone representing the regression mean
- Yellow-Orange: Moderate overvaluation regions indicating potential resistance
- Red: Statistical extreme zones indicating mathematical cycle peaks
- Halving Visualization 🔍
- Precise cycle boundaries demarcating Bitcoin's fundamental supply shock events
- Adaptive band spacing based on mathematical cycle progression
- Multiple sub-cycle markers revealing the probabilistic nature of Bitcoin's trajectory
🚀 How to Use
1. Identify Macro Position ⏰: Locate Bitcoin's current price relative to the regression bands
2. Understand Cycle Context 🎚️: Note position within the current halving cycle for time-based analysis
3. Assess Mathematical Value 🌈: Determine potential over/undervaluation based on band location
4. Adjust Investment Strategy 🔎: Modulate position sizing based on mathematical value assessment
5. Identify Cycle Phases ✅: Monitor band transitions to detect accumulation and distribution zones
6. Invest with Precision 🛡️: Utilize lower bands for strategic accumulation, upper bands for strategic reduction
7. Manage Risk Dynamically 🔐: Scale investment allocations based on mathematical cycle positioning
M2 Global Liquidity Index [Custom Offsets]M2 Global Liquidity Index
Plots the global M2 money supply alongside price, with two user-configurable forward shifts to help you anticipate macro-driven moves in BTC (or any asset).
Key Features
Current M2 Index (no offset)
Offset A — shift M2 forward by N days (default 78)
Offset B — shift M2 forward by M days (default 109)
Extended Currencies toggle adds 9 additional central banks (CHF, CAD, INR, RUB, BRL, KRW, MXN, ZAR)
All lines share the left-hand axis and scale to trillions
Inputs
Offset A (days): integer ≥ 0 (default 78)
Offset B (days): integer ≥ 0 (default 109)
Include extended currencies?: on/off
How to Use
Add the indicator to any chart (overlay mode).
In Settings → Inputs, enter your desired lead times for Offset A and Offset B.
Toggle extended currencies if you need a broader “global liquidity” view.
Watch how price action (e.g. BTC) tracks the shifted M2 lines to spot potential turning points.
Why It Matters
Changes in money supply often lead risk assets by several weeks to months. This tool makes it easy to visualize and test those correlations directly on your favorite timeframe.
CYCLE BY RiotWolftradingDescription of the "CYCLE" Indicator
The "CYCLE" indicator is a custom Pine Script v5 script for TradingView that visualizes cyclic patterns in price action, dividing the trading day into specific sessions and 90-minute quarters (Q1-Q4). It is designed to identify and display market phases (Accumulation, Manipulation, Distribution, and Continuation/Reversal) along with key support and resistance levels within those sessions. Additionally, it allows customization of boxes, lines, labels, and colors to suit user preferences.
Main Features
Cycle Phases:
Accumulation (1900-0100): Represents the phase where large operators accumulate positions.
Manipulation (0100-0700): Identifies potential manipulative moves to mislead retail traders.
Distribution (0700-1300): The phase where large operators distribute their positions.
Continuation/Reversal (1300-1900): Indicates whether the price continues the trend or reverses.
90-Minute Quarters (Q1-Q4):
Divides each 6-hour cycle (360 minutes) into four 90-minute quarters (Q1: 00:00-01:30, Q2: 01:30-03:00, Q3: 03:00-04:30, Q4: 04:30-06:00 UTC).
Each quarter is displayed with a colored box (Q1: light purple, Q2: light blue, Q3: light gray, Q4: light pink) and labels (defaulted to black).
Support and Resistance Visualization:
Draws boxes or lines (based on settings) showing the high and low levels of each session.
Optionally displays accumulated volume at the highs and lows within the boxes.
Daily Lines and Last 3 Boxes:
How to Use the Indicator
Step 1: Add the Indicator to TradingView
Open TradingView and select the chart where you want to apply the indicator (e.g., UMG9OOR on a 5-minute timeframe, as shown in the screenshot).
Go to the Pine Editor (at the bottom of the TradingView interface).
Copy and paste the provided code.
Click Compile and then Add to Chart.
Step 2: Configure the Indicator
Click on the indicator name on the chart ("CYCLE") and select Settings (or double-click the name).
Adjust the options based on your needs:
Cycle Phases: Enable/disable phases (Accumulation, Manipulation, Distribution, Continuation/Reversal) and adjust their time slots if needed.
90-Minute Quarters: Enable/disable quarters (Q1-Q4).
Step 3: Interpret the Indicator
Identify Cycle Phases:
Observe the red boxes indicating the phases (Accumulation, Manipulation, etc.).
The high and low levels within each phase are potential support/resistance zones.
If volume is enabled, pay attention to the accumulated volume at highs and lows, as it may indicate the strength of those levels.
Use the 90-Minute Quarters (Q1-Q4):
The colored boxes (Q1-Q4) divide the day into 90-minute segments.
Each quarter shows the price range (high and low) during that period.
Use these boxes to identify price patterns within each quarter, such as breakouts or consolidations.
The labels (Q1, Q2, etc.) help you track time and anticipate potential moves in the next quarter.
Analyze Support and Resistance:
The high and low levels of each phase/quarter act as support and resistance.
Daily lines (if enabled) show key levels from the previous day, useful for planning entries/exits.
The "last 3 boxes below price" (if enabled) highlight potential support levels the price might target.
Avoid Manipulation:
During the Manipulation phase (0100-0700), be cautious of sharp moves or false breakouts.
Use the high/low levels of this phase to identify potential traps (as explained in your first question about manipulation candles).
Step 4: Trading Strategy
Entries and Exits:
Support/Resistance: Use the high/low levels of phases and quarters to set entry or exit points.
For example, if the price bounces off a Q1 support level, consider a buy.
Breakouts: If the price breaks a high/low of a quarter (e.g., Q2), wait for confirmation to enter in the direction of the breakout.
Volume: If accumulated volume is high near a key level, that level may be more significant.
Risk Management:
Place stop-loss orders below lows (for buys) or above highs (for sells) identified by the indicator.
Avoid trading during the Manipulation phase unless you have a specific strategy to handle false breakouts.
Time Context:
Use the quarters (Q1-Q4) to plan your trades based on time. For example, if Q3 is typically volatile in your market, prepare for larger moves between 03:00-04:30 UTC.
Step 5: Adjustments and Testing
Test on Different Timeframes: The indicator is set for a 5-minute timeframe (as in the screenshot), but you can test it on other timeframes (e.g., 1-minute, 15-minute) by adjusting the time slots if needed.
Adjust Colors and Styles: If the default colors are not visible on your chart, change them for better clarity.
---
📌 1. **Accumulation: Strong Institutional Activity**
- During the **accumulation phase, we see **high volume: 82.773K, which suggests strong buying interest**, likely from institutional players.
- This sets the base for the following upward move in price.
---
📌 2. **Manipulation: False Breakout with Lower Volume**
- Later, there's a manipulation phase where price breaks above previous highs, but the volume (71.814K) is **lower than during accumulation**.
- This implies that buyers are not as aggressive as before—no real demandbehind the breakout.
- It’s likely a bull trap, where smart money is selling into the breakout to exit their positions.
---
### 📌 3. Distribution: Weakness and Lack of Demand
- The market enters a distribution phase, and volume drops even further (only 7.914K).
- Price struggles to go higher, and you start seeing rejections at the top.
- This shows that demand is drying up, and smart money is offloading positions**—not accumulating anymore.
---
### 💡 Why Take the Short Here?
- Volume is not increasing with new highs—showing weak demand**.
- The manipulation volume is weaker than the accumulation volume, confirming the breakout was likely false.
- Structure starts to break down (Q levels falling), which confirms weakness.
- This creates a high-probability short setup:
- **Entry:** after confirmation of distribution and structural breakdown.
- **Stop loss:** above the manipulation high.
- **Target:** down toward previous lows or value zones.
---
### ✅ Conclusion
Since the manipulation volume failed to exceed the accumulation volume, the breakout lacked real strength. Combined with decreasing volume in the distribution phase, this indicates fading demand and supply taking control—which justifies entering a short position.
WaveTrend Matrix (1m-1w) – Custom ThresholdsA visual control panel for momentum exhaustion across ten key time-frames.
—
🧬 DNA
This is a fork of LazyBear’s original WaveTrend Oscillator .
The oscillator logic is 100 % intact; I simply stream the values into a compact table so that day- and swing-traders can see the “bigger picture” at a glance.
📈 What does it do?
Calculates WaveTrend on ten granularities: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w.
Displays the current oscillator print in a color-coded matrix.
• Red = overbought (≥ high threshold)
• Green = oversold (≤ low threshold)
• Gray = neutral / in-range
All thresholds are user-adjustable.
Built on Pine v5, zero repainting, works on any symbol.
🛠 Parameters
Channel Length – WT “n1” (default 10)
Average Length – WT “n2” (default 21)
Red from – overbought cut-off (default +60)
Green under – oversold cut-off (default –60)
🚀 How to use it
1. Apply the indicator to your chart – no extra setup required.
2. Read the matrix top-down before every entry:
• Multiple deep-green rows → market broadly oversold → watch for longs.
• Multiple deep-red rows → market broadly overbought → watch for shorts or stay flat.
3. Combine with your trend filter (EMA-stack, VWAP, structure) to avoid counter-trend trades.
RSI + EMA + Stoch RSI ComboDescription:
This indicator combines three powerful momentum tools — RSI, EMA, and Stochastic RSI — to provide more refined entry and exit signals.
What it does:
• Calculates Relative Strength Index (RSI) and applies an Exponential Moving Average (EMA) to it for smoother trend confirmation.
• Adds Stochastic RSI (Stoch RSI) with adjustable %K and %D settings.
• Generates Buy signals when:
• Stoch RSI %K crosses above %D,
• %K is below 20,
• RSI is below 40,
• and RSI is above its EMA.
• Generates Sell signals when:
• %K crosses below %D,
• %K is above 80,
• RSI is above 60,
• and RSI is below its EMA.
• Visual elements include RSI EMA line, overbought/oversold levels, and Stoch RSI plots.
Use case:
Perfect for traders looking for a multi-indicator confirmation system. Best used on 1H or 4H timeframes, but works across all timeframes.
Alerts for Buy and Sell signals are included.
Feel free to tweak the parameters for your own strategy and market conditions!
Tram37 SMA calculates the average price over the last 377 periods.
SMA 37 can help identify major trends or reversals, acting as dynamic support/resistance, Useful in low-noise, trending markets. Prices may respect the SMA 377 as a dynamic level, especially in markets where Fibonacci levels are widely watched.
It works better in trending markets than in choppy or range-bound markets, where it may generate false signals.
RAZ G. MACD PRICE TRIGGER - SHORT(!)
"First, we determine the desired price level for entry and wait for a MACD cross to confirm the signal.
We can customize both the entry time frame and a separate time frame for taking profit or closing the position
RAZ G. MACD PRICE TRIGGER - SHORT(!)
"First, we determine the desired price level for entry and wait for a MACD cross to confirm the signal.
We can customize both the entry time frame and a separate time frame for taking profit or closing the position
Day Range DividerThe indicator divides the chart into Israeli trading days, starting at one o’clock after midnight and ending a minute before the next midnight, marking each day’s open with a thin vertical line whose color and width you can choose. A label with the day’s name (in Hebrew) can appear on the very first bar of the session, while another label is placed midway through the previous day, beneath the candles at a fixed distance from the bottom so it doesn’t obscure price. You can adjust the label’s color, size, and letter spacing, customize the line style, and decide whether to show the early-session label. The indicator ignores Saturday and Sunday, works on any intraday timeframe, never repaints after plotting, and lets you quickly spot daily sequences and time-of-day patterns for market analysis.
Discipline WatermarkDescription for "Discipline Watermark" Indicator:
The Discipline Watermark is a motivational overlay tool designed to reinforce trading discipline directly on your chart. It periodically displays inspirational messages as a subtle watermark, reminding traders of key principles like risk management, capital protection, and the importance of discipline.
Displays one of three motivational phrases:
🛑 "The Stop protects me"
💵 "Protect Your Capital"
🔑 "Discipline is the Key"
Automatically rotates the message every user-defined number of bars (default is 10).
Customizable watermark visibility, text size, position, and background color.
Lightweight and non-intrusive, ideal for maintaining a disciplined trading mindset during live sessions.
Stay focused and consistent with the Discipline Watermark!
Schaff Trend Cycle (STC) - t0rdn3Schaff Trend Cycle (STC)
By t0rdn3 (original STC by , now with more descriptive naming)
Description
The Schaff Trend Cycle (STC) is a momentum-based oscillator that combines the speed of a fast EMA crossover with cyclical normalization. Developed by Doug Schaff, it identifies market turning points more responsively than MACD or RSI.
How It Works
1. EMA Difference : Calculates the difference between two EMAs of the source series (default: close).
2. Cycle Percentage : Normalizes that difference to a 0–100 range over the cycle period.
3. Smoothing : Applies exponential smoothing twice—first to the cycle percentage, then to its normalized cycles—to reduce noise.
4. Final STC Line : Produces a smoothed oscillator oscillating between 0 and 100.
Alerts
- "STC turned down above 75" : Fires once when STC makes a local peak above the upper threshold ( 75 ).
- "STC turned up below 25" : Fires once when STC makes a local trough below the lower threshold ( 25 ).
Inputs
Cycle Period : 12 — Lookback in bars for normalization
Fast EMA Length : 26 — Period of the fast EMA
Slow EMA Length : 50 — Period of the slow EMA
Smoothing Factor : 0.5 — Exponential smoothing coefficient (0–1)
Usage
Readings above 75 indicate an overbought cycle; readings below 25 indicate an oversold cycle. Crossings of the 50 midline can confirm trend direction:
- STC rising through 50 → bullish shift
- STC falling through 50 → bearish shift
Combine STC with price action or other trend filters to improve signal quality. You can adjust the cycle period and EMA lengths to match different timeframes or instruments.
Arun - TimingSession Timing:
This script allows you to visualize key trading sessions (Asian, Frankfurt, London, and New York) by drawing boxes and lines around those time periods.
It has the ability to adjust the time range for each session using input variables. For example:
Asian Range: rangeTime = input.session(title='Session Time', defval='1700-0100')
Frankfurt: rangeTime0 = input.session(title='FRANKFURT', defval='0200-0301')
London: rangeTime4 = input.session(title='LONDON KZ', defval='0300-0500')
New York: rangeTime5 = input.session(title='NEWYORK KZ', defval='0800-1000')
Box Creation for Sessions:
The script creates boxes that highlight the high and low values of each session.
The boxes are drawn based on session time intervals and can be extended into the future (if extendLines is true).
You can also enable or disable the background color and middle line for the boxes.
Previous High/Low for Various Timeframes:
Previous Daily High/Low: Plots the high and low of the previous day.
Previous Weekly High/Low: Plots the high and low of the previous week.
Previous Monthly High/Low: Plots the high and low of the previous month.
These levels can be displayed on the chart with configurable colors and options.
MMM (Market Maker Movements) Levels:
The script allows you to plot "Market Maker Movements" (MMM), which are key levels that may act as support or resistance during specific times of the trading day. It includes:
mmm1Range = input.session(title='MMM', defval='0330-0331')
You can configure the color and style of the lines for these levels as well.
Daily Open:
The Daily Open is shown on the chart as a labeled point, so you can easily track the opening price of the day.
Dynamic Features:
Real-Time Adjustments: The script dynamically updates the lines and boxes when the session starts and ends. It can delete and redraw lines and boxes based on whether the session is active or extended.
Line/Box Styles: You can customize the appearance of the lines (solid, dotted, or dashed) and set the color of the session boxes and lines.
Background and Middle Lines: You can choose to display the background color of the session ranges and a middle line that divides the high and low of the session.
How It Works:
Boxes and Lines: For each session (like the Asian range), the script draws a box between the session’s high and low values. You can also draw vertical lines marking the start and end of the session. These are updated in real-time as new bars are formed.
Previous High/Low: The script plots the previous day's, week's, or month's high and low prices, helping traders identify important support and resistance levels from earlier time periods.
Market Maker Movements (MMM): These levels are drawn at specific times of the day based on your input and are often used by traders who believe that institutional players move the market at specific times.
User Input Options:
Show/Hide Options: You can enable or disable the display of various features like the daily open, previous daily/weekly highs, and the MMM levels.
Customization: You can set the colors, line styles, and the timeframes for each session and other levels.
Text Labels: The script supports labeling the session lines and high/low points, with customizable text color.
Example Visualization:
Asian Session Box: A box is drawn for the Asian session range (from 1700 to 0100), with the session’s high and low price points marked.
Previous High/Low: You would see circles or labels for the previous day's high and low.
MMM Lines: Horizontal lines or areas drawn at specific times based on the user input for the "Market Maker Movement".
Gelişmiş Stochastic-RSI Kesişmesi ve Trend Filtresitüm paritelerde çalışacak al sat stratejisi terste kolay kolasay kalmıyor
Bitcoin as % Global M2 signalThis script provides signal system:
Buy signal: each time the YoY of the Global M2 rises more than 2.5% while the distance between the bitcoin price as a percentage of the Global M2 is below its yearly SMA.
Sell signal: the distance between the bitcoin price as a percentage of the Global M2 and its yearly SMA is > 0.7
This is a very simple system, but it seems to work pretty well to ride the bitcoin price cycle wave.
The parameters are hard coded but they can be easily changed to test different levels for both the buy and sell signals.
GTR369 Day Range DividerThe indicator divides the chart into Israeli trading days, starting at one o’clock after midnight and ending a minute before the next midnight, marking each day’s open with a thin vertical line whose color and width you can choose. A label with the day’s name (in Hebrew) can appear on the very first bar of the session, while another label is placed midway through the previous day, beneath the candles at a fixed distance from the bottom so it doesn’t obscure price. You can adjust the label’s color, size, and letter spacing, customize the line style, and decide whether to show the early-session label. The indicator ignores Saturday and Sunday, works on any intraday timeframe, never repaints after plotting, and lets you quickly spot daily sequences and time-of-day patterns for market analysis.
🌎 Modern Economic Eras Dashboard🌍 Overview
The Modern Economic Eras Dashboard is a upgrade over the earlier "Modern Economic Eras - Visual Background & Labels" script.
Inspired by the 2020 Deutsche Bank Long-Term Asset Return Study ("The Age of Disorder"), this dashboard contextualizes market behavior through the major structural macroeconomic eras of modern history.
🔥 What's New?
Macroeconomic eras are colored clearly across the timeline.
Major financial crashes (e.g., Great Depression, Oil Crisis 1973, Dot-Com Bubble, GFC 2008, COVID Crash) are shaded distinctly.
Key macroeconomic indicators are overlaid and properly rescaled to align visually on a unified panel.
🎯 How to Use It
This tool is ideal for:
Long-term investors seeking to understand where current markets sit within historical macroeconomic regimes.
Macro researchers analyzing how asset classes performed across different structural periods.
Strategic traders identifying points of inflection tied to historical crises or regime shifts.
Educators and students visualizing economic history in a financial context.
📊 Scaled Data (for improved visualization)
Real GDP: divided by 100B
Inflation Index: divided by 2
US Debt to GDP: raw
Labor Force Participation Rate: raw
Oil Price: raw
US 10Y Real Yield: multiplied by 10
Active Symbol Price: user-adjustable scaling factor
⚡ Features
Background shading for eras and crises.
Adjustable symbol scaling via input field.
Clean, non-overlay pane for better visual separation.
Labels placed on the chart for easier historical reference.
🛠️ Usage
Best applied to major indices (SPX, DJI, MSCI World) on monthly timeframes for clearer historical visualization.
📖 Credits
Original structural macroeconomic eras based on Deutsche Bank's Long-Term Asset Return Study (2020), further adapted and expanded.
📝 Author’s Note
This script was created for investors, traders, and researchers who want to understand long-term market cycles through a clearer macro lens.
If you find this useful, a like or a comment is always appreciated! 🚀