This post is from a suggested group
Kmeans Bollinger Band "like"

version 2 and tradeview ports are bellow.
View groups and posts below.
This post is from a suggested group

version 2 and tradeview ports are bellow.
This post is from a suggested group

Posting for Fun. One of my first projects inside thinkscript, but AI could probably do it now.
This post is from a suggested group

Position Sizer LITE – Free Version marketfragments.com
Clean, lightweight trade manager for ThinkOrSwim.
Includes:
4 simple Trade Plans: Basic RR, Runner, Basic + Scale, Basic + Time
ALMA entries
This post is from a suggested group

NOTE: if anyone wants something specific added or a separate code relative to this, please ask. We will get it done.
### Purpose / What it's used for
This script helps traders spot high-conviction setups by requiring **all three** layers of confirmation:
- Significant volume anomalies (multiple different volume spike conditions firing at once)
This post is from a suggested group

KaseDevMult Trailing Stop: A Technical Analysis Tool for Traders
Executive Summary
The KaseDevMult Trailing Stop is a modified Thinkorswim (TOS) study based on Cynthia Kase's volatility-based trailing stop methodology. It dynamically adjusts stop-loss levels to protect profits while allowing trades room to breathe. This white paper outlines each user-configurable input option, highlighting their functions, positives, and negatives. Designed for futures, stocks, and volatile assets on 5-15 minute charts, it balances risk management with trade longevity. Recommended defaults provide a starting point, but customization is key for strategy alignment.
Input Options: Explanations, Positives, and Negatives1. trailType (Options: modified, unmodified [default], Heiken)
This post is from a suggested group

Mock DBSCAN Anomaly Indicator for Thinkorswim: Detecting HFT Irregularities and Microstructure Risks
In high-frequency markets, subtle deviations in order flow can signal manipulation (e.g., spoofing or layering by HFT algorithms) or structural risks like thin liquidity. This custom Thinkorswim indicator approximates DBSCAN clustering on a 3D feature space of normalized percent changes in price, volume, and tick count to identify anomalies in real-time.
Core Concept: DBSCAN Approximation in Trading.
DBSCAN (Density-Based Spatial Clustering of Applications with Noise) excels at isolating outliers in noisy datasets without assuming cluster shapes. Here, each bar is a point in 3D space:
This post is from a suggested group
This analysis leverages a Python-based framework to systematically identify and rank Fair Value Gaps (FVGs) in E-mini S&P 500 (ES) 5-minute futures data, drawing from ICT/SMC principles to uncover high-probability setups by dissecting market structure into pre-FVG momentum (trends and volume slopes), during-FVG candle characteristics (body/wick ratios, volume spikes, close positioning), and post-FVG validation (directional slopes, risk-reward projections adjusted for congestion). Through vectorized feature engineering and hyperparameter optimization via Hyperopt, the script computes composite scores—weighting candle strength (20%), pre-context (30%), post-momentum (30%), and RR viability (20%)—to surface top individual FVGs and recurring patterns filtered for at least 2-3 occurrences per week over configurable historical periods (e.g., 1-5 years), ensuring statistical relevance while exporting detailed CSVs for manual review. The generated ThinkOrSwim indicator incorporates a state machine for layered, real-time signal building: idle monitoring transitions to FVG watch (with timeout fail-safes), pullback confirmation (touch tolerance via ATR, volume crosses, and third-of-candle…
This post is from a suggested group
India Hemangioblastoma Market
The India Hemangioblastoma Market is a highly specialized and relatively nascent segment within the Indian neuro-oncology and surgical space. Hemangioblastomas, which are generally benign vascular tumors of the central nervous system, are frequently associated with von Hippel-Lindau (VHL) disease, making the market intrinsically linked to rare disease management and genetic screening. The market size is currently limited by the low incidence rate of the tumor itself, but is expanding due to improved diagnostic capabilities and increasing patient referrals to specialized neurosurgical centers in Tier-1 cities. The core of the market is driven by definitive treatment modalities, primarily microsurgical resection and stereotactic radiosurgery (SRS). Key market drivers include the continuous technological upgrades in neurosurgical infrastructure, particularly the installation of advanced operating microscopes, intraoperative imaging (like fMRI and DTI), and navigation systems, which allow for safer and more complete tumor removal. The increasing availability of high-precision radiosurgery devices…
if you're interested, we can run indicator optimizations on this market as this is interesting. Say the word - I'll include the allocation strategy used in the portfolio optimization section of the site, but I can also do optimize specific indicators on individual symbols or the market as a whole.
This post is from a suggested group
Tradeview Port