Environment | AnonycryptousEnvironment | Anonycryptous
Description & user manual
* Credit
The original concept behind the session overlay structure used in this indicator was inspired by the work of Traders Reality on TradingView.
Their approach to combining session analysis with market context on a single chart was the starting point for this build.
Why this indicator is different
Most indicators do one thing. A moving average shows trend. An oscillator shows momentum. A session box shows time. Each one answers one question.
Environment answers all of them at once.
It is not a signal generator. It is an environment reader. Before any trade, a trader needs to understand what session they are in, where the macro trend stands, what volume is saying, where the key levels are, and whether there are open imbalances nearby. Environment puts all of that on one chart, in one tool, without visual noise.
The design philosophy is context first, decision second. The indicator does not tell you what to do. It tells you where you are.
Important notice
Environment does not generate trading signals.
It does not tell you when to buy or sell.
It does not predict market direction.
It does not replace your trading strategy or technical analysis.
All references to possible entries, stops, or targets in this manual are purely illustrative examples of how the indicator can be read.
They are not trading recommendations. Always conduct your own research before making any trading decisions.
1. Overview
A complete trading edge has three components: 1-strategy, 2-risk management and 3-psychology.
Environment covers the first — it gives you the full context you need to build and execute your own strategy.
Risk management engine by Anonycryptous covers the second.
But the third is up to you to develop and use carefully.
Together they form a complete framework wich can be very succesfull.
Environment is a comprehensive market context indicator for traders who want everything they need to read the market on a single chart.
It combines six independent analysis frameworks into one unified tool with a live dashboard, full color customization, and six preset configurations for different trading styles.
What it includes:
- Five-ema suite with adaptive cloud
- Ema crossover signals with candle coloring
- Stochastic rsi background alerts with rsi value and divergence detection
- Pvsra volume vector candle analysis with zone tracking and configurable thresholds
- Eight global market sessions with automatic dst awareness
- Average daily, weekly, and monthly range levels
- Classic pivot points with m levels
- Daily open reference line
- Fair value gap detection with partial absorption tracking
- Weekly psychological level tracking
- Live dashboard with eighteen data points
2. Core components
2.1 Ema suite
Five exponential moving averages plotted simultaneously: 5, 13, 50, 200, and 800. These cover short-term momentum, medium-term trend, macro trend, and long-term structural bias.
The 50 ema is wrapped in a dynamic cloud calculated from two standard deviations of price. The cloud expands during volatility and contracts during consolidation. A widening cloud signals active price discovery. A thinning cloud signals equilibrium.
The 200 ema is the primary macro bias filter. Price above it is a bullish environment. Price below is bearish.
2.2 Ema cross
Tracks a fast ema crossing a slow ema and produces signals on the crossover bar. All subsequent candles continue in that direction until the opposite cross fires. Three display modes are available: both emas visible, consolidated single line, or hidden with signals only.
This is a trend state indicator, not a trade signal.
2.3 Stochastic rsi
Runs a standard stochastic rsi calculation and produces background color alerts based on crossover conditions at configurable band levels.
Four alert types:
- Middle band crossover (k crosses d near the 50 level)
- Ob/os crossover (k crosses d from overbought or oversold)
- K crosses above upper band (entering overbought)
- K crosses below lower band (entering oversold)
The dashboard shows the current stoch rsi state and the rsi value. Rsi appears green above the midline, red below. Regular bullish and bearish divergence is detected automatically and shown in the dashboard as a directional label. When divergence is active, a thin grey line appears on the price chart marking the divergence on the candles themselves.
2.4 Pvsra volume vector analysis
Colors candles based on volume relative to the 10-bar average and the relationship between volume and candle spread.
Four vector types:
- Green vector: bull bar with volume at or above the green/red threshold (default 200% of average), or volume × spread at the highest of 10 bars. Strong bullish institutional activity.
- Red vector: same conditions on a bear bar. Strong bearish activity.
- Blue vector: bull bar with volume at or above the blue/violet threshold (default 150%). Elevated bullish volume.
- Violet vector: same on a bear bar. Elevated bearish volume.
- Grey: no vector conditions met.
Both volume thresholds are now configurable directly from the settings panel. Blue and violet signals are strictly exclusive from green and red — a bar cannot qualify for both simultaneously.
Vector candle zones draw boxes at each vector candle and track them until price moves through the zone, marking areas where institutional activity was detected.
The pvsra override allows using a different symbol for volume calculation — useful when the charted instrument has unreliable volume data.
2.5 Market session
Eight global sessions tracked simultaneously, each with automatic dst awareness:
- London (08:00–16:30 utc)
- New york (14:30–21:00 utc)
- Tokyo (00:00–06:00 utc)
- Hong kong (01:30–08:00 utc)
- Sydney (22:00–06:00 utc)
- Eu brinks (08:00–09:00 utc)
- Us brinks (14:00–15:00 utc)
- Frankfurt (07:00–16:30 utc)
Each session draws a live expanding box with high and low lines. A label above the high tracks the session open in real time. Dst is handled automatically for London, New york, and Sydney — no manual adjustment is needed.
2.6 Range levels
Three range frameworks, each measuring the statistically expected range for the current period based on historical averages:
- Adr — average daily range. The expected high and low for today. Price reaching the adr level indicates the day's expected range has been consumed. Moves beyond are extension moves.
- Awr — same concept applied to the weekly timeframe.
- Amr — same concept applied to the monthly timeframe.
Each framework has a 50% variant marking the midpoint between high and low. The "measure from daily open" option for adr calculates the range starting from the daily open, making the levels static for the entire day.
The dashboard shows adr % used — how much of today's expected range has already been consumed. Above 80% means the day is near its expected limit.
2.7 Pivot points
Classic pivots calculated from the previous session's high, low, and close: pp, r1/s1, r2/s2, r3/s3, and m (midpoint) levels. All individually toggleable with configurable colors and line styles.
2.8 Fair value gaps
A fair value gap is a three-candle imbalance where price moved too fast for two-sided trading to occur, leaving a gap between the first and third candle.
Environment tracks each fvg as a composite object: the unmitigated gap area, the absorbed portion that fills in as price moves through it, and a border line marking the outer edge. Partial absorption is tracked in real time — as price enters a gap, the absorbed portion grows visually.
When a gap is fully mitigated, it is removed from active tracking. If the history option is enabled, fully mitigated fvgs remain on the chart as completely transparent references — visible in structure but not visually intrusive.
The mitigation percentage is not shown inside the fvg box. It is displayed in the dashboard alongside the active fvg count, giving you the information without cluttering the chart.
A width filter based on atr prevents narrow, insignificant gaps from appearing.
2.9 Weekly psychological levels
Tracks the prior week's high and low as psychological reference points. These are areas where price often reacts on approach. Type detection is automatic based on the instrument — crypto or forex — or can be overridden manually. The calculation uses a gmt offset input to correctly identify the weekly session open for your timezone.
3. Presets
Clean scalper — sessions, ema suite, fvg, subtle candle coloring. Low noise for fast timeframes.
Full context — everything enabled with medium transparency. Best for pre-session analysis.
Pvsra pro — volume vector analysis as primary focus. Ema 200 and 800 only.
Signal focus — ema cross signals with stoch rsi alerts prominent. Rest subdued.
Minimal — sessions, daily open, and adr only. No signals. Maximum clarity.
Custom — full manual control of every setting.
4. Settings reference
4.1 Ema suite
- Show ema suite
- Lengths: 5, 13, 50, 200, 800 (all configurable)
- Cloud toggle with transparency
- Individual ema color control
- Master opacity offset (custom preset only)
4.2 Ema cross
- Show ema cross
- Fast and slow ema lengths
- Show mode: both / consolidated / off
- Show signals and labels
- Bull and bear colors and transparency
4.3 Stochastic rsi
- Show stoch rsi alerts
- Rsi and stoch lengths
- Ob/os band levels
- Individual alert type toggles
- Alert colors and transparency
- Rsi divergence lookback
4.4 Pvsra
- Show pvsra
- Average length
- Green/red threshold (× avg vol, default 2.0)
- Blue/violet threshold (× avg vol, default 1.5)
- Include spread filter for green/red
- Override symbol toggle and input
- Show vector candle zones with transparency
- Individual vector type colors
4.5 Candle coloring mode
- Options: ema cross / pvsra / ema 200 / off
- Bull and bear candle color and transparency
4.6 Market sessions
- Show market sessions
- Session timezone
- Show on weekends
- Session h/l line style and width
- Per session: show toggle, box color, transparency, label color
4.7 Range levels
- Show adr / awr / amr (individual toggles)
- Lookback periods for each
- Show 50% midpoint levels
- Measure from daily open (adr only)
- Color, transparency, line width, line style, show labels
4.8 Pivot points
- Show pp / r1s1 / r2s2 / r3s3 / m levels
- Show labels
- Extend lines both directions
- Pp / r level / s level / m level colors and line styles
4.9 Daily open
- Show daily open
- Show label
- Show historical daily opens
- Color, transparency, line width
4.10 Fair value gaps
- Show fvgs
- Width filter (atr multiplier)
- Extend to current bar
- Bullish and bearish fvg colors with separate mitigation fill colors
- Keep historical fvgs (transparent after mitigation)
4.11 Psy levels
- Show psy levels
- Show labels
- Show historical psy levels
- Gmt offset (gmt+1 / gmt+2 / gmt+3)
- Psy type: crypto / forex
- High and low colors and transparency
4.12 Dashboard
- Show dashboard
- Position
- Size
5. How to use
5.1 Initial setup
1. Select a preset based on your primary trading style.
2. Set session timezone to match your location or exchange.
3. If you use pvsra and your instrument has unreliable volume, enable the override symbol and set it to a correlated instrument.
4. Set adr length to your preference — 14 days is standard.
5. For fvgs, set the width filter to 0.5 or higher to filter out minor gaps.
5.2 Reading the chart
Start with the dashboard. It shows the current session, ema trend direction, ema 200 position, stoch rsi state, rsi value and divergence status, pvsra candle type, adr % used, active fvg count with mitigation %, psy level position, and daily open reference — all at a glance.
Check ema alignment. Are the 13, 50, and 200 stacked in the same direction? Stacked alignment is more significant than a single cross.
Check adr %. Below 50% means the day has statistical room to move. Above 80% means extension is likely and mean reversion risk is elevated.
Look for open fvgs near current price. An unmitigated fvg in the direction of the trend is a possible precision zone.
Check the psy level. If price is testing the prior week's high or low, be aware of possible reaction at these references.
5.3 Illustrative long scenario
Educational example only. Not a trading recommendation.
Dashboard shows ema 200 above, ema cross bullish, stoch rsi oversold, session London, adr 32% used. A green pvsra vector candle fires at a prior bullish fvg zone. Price wicks into the fvg. The dashboard shows mitigation at 40%. Price bounces. A possible long could be considered at this zone, with a stop below the fvg and a target at the adr high or pp.
5.4 Illustrative short scenario
Educational example only. Not a trading recommendation.
Dashboard shows ema 200 below, ema cross bearish, stoch rsi overbought, session new york, adr 45% used. A red pvsra vector candle fires as price tests a bearish fvg from below. Price enters the fvg. The dashboard shows mitigation at 30%. Price rejects. A possible short could be considered here, with a stop above the fvg and a target at the adr low or s1.
6. Tips
Timeframe guide:
- 1m–3m: clean scalper preset, candle mode ema cross
- 5m–15m: clean scalper or signal focus
- 30m–1h: full context, use adr and pivots
- 4h–daily: full context or minimal
Pvsra override: use when your broker's volume data is unreliable, when you trade a cfd or derivative with synthetic volume, or when you want spot market volume for a futures chart.
Master opacity offset (custom preset): add 10 to 20 to dim the chart if it feels cluttered. Subtract 10 to 20 to brighten. This affects all elements simultaneously without touching individual settings.
Not every element needs to be active at once. Most traders will find three to four components provide the context they need.
7. Disclaimer
This indicator is provided for educational and informational purposes only. Nothing in this document constitutes financial advice or any form of recommendation. Trading financial instruments involves substantial risk of loss. Past performance is not indicative of future results. You may lose all of your invested capital.
Anonycryptous accepts no responsibility or liability for any losses incurred as a result of using this indicator.
Индикатор Pine Script®






















