Code Snippets
SOFLMARKET Expected Move
Expected high and low for the current day, week or month, projected from recent realised moves, with 68% and 95% bands and alerts.
What you get: 3 files · 37.21 KB · TXT
See purchase optionsProduct description
What it is
SOFLMARKET Expected Move is a Pine Script v6 indicator for TradingView. It projects the expected high and low of the current day, week or month from the realised moves of previous periods, and draws a 68% and a 95% band from the same history.
For every completed period the indicator remembers how far price went above the open and how far it went below. From that history it builds an expected up move and an expected down move, so the projection is anchored to the open of the current period and is not symmetric.
The estimate is fixed at the start of the period and does not move with every tick, so the levels can be used as a plan for the session.
What is inside
Range
- Day, Week or Month. The expected move is projected from the open of the current period.
- 20 completed periods are analysed by default (5-200).
- Only closed periods are used, so the projection never changes because of an unclosed candle.
Estimate
- Median: the 50th percentile of the realised up and down moves.
- Average: the arithmetic mean of the same moves.
- ATR: the average true range of the selected period, multiplied by a factor.
- If there is not enough history, the ATR estimate is used instead.
Bands
- The 68% and 95% bands are empirical percentiles of the same history, not a normal distribution.
- They are always at or beyond the expected level.
- With the ATR estimate the bands are 1.4x and 1.96x the ATR move.
Visuals
- Expected high in #F6C453 and expected low in #4CC9F0, 2 px solid lines.
- 68% bands in #A78BFA and 95% bands in #818CF8, each labelled with its price on the right edge.
- The period open as a grey dashed line with an "OPEN" label.
- An adaptive vertical line at the start of the period: it spans the visible price range and follows the chart when you zoom or scroll.
- Labels with the distance to each level in ATR.
- Stats panel: open, expected high, expected low, 68% range, 95% range, distance to high, distance to low, range used with a ten-cell progress bar, and the position of price.
What you get
- SOFLMARKET Expected Move.txt - Pine Script v6 source code (v1.0.8)
- README.txt - installation, every input with defaults, calculations, alerts and FAQ
- LICENSE.txt - SOFLMARKET Commercial Licence v1.0
Requirements
- A TradingView account with Pine Script v6 support.
- No external libraries: the script is fully self-contained.
Installation
- Download the product files.
- In TradingView open the Pine Editor.
- Paste the supplied source into a new script.
- Save it and click "Add to chart".
- Pick the period: Day, Week or Month.
Alerts
- New period
- Expected high reached
- Expected low reached
- 80% of range used
- Above 95% band
- Below 95% band
Notes
- Works on any timeframe. On an intraday chart use Day, on a daily chart use Week or Month.
- The ATR is read on the selected period, so the expected move and the ATR distances are on the same scale.
- This is not implied volatility from options: the indicator uses realised price moves only.
- The indicator visualises price data. It does not predict prices and does not promise results. Trading leveraged instruments carries a high risk of loss. This is not financial advice.
What you get
3 files · 37.21 KB
- LICENSE.txtTXT · 4.13 KB
- README.txtTXT · 11.67 KB
- SOFLMARKET Expected Move.txtTXT · 21.4 KB
Code Snippets
SOFLMARKET Expected Move
Expected high and low for the current day, week or month, projected from recent realised moves, with 68% and 95% bands and alerts.
Tags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Personal use only. Use it for yourself - not in work you sell or hand to a client - and do not resell or redistribute the file.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 3 files - TXT - 37.21 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$29.00



