50-Point Psych Levels (Multiples of 50)50-Point Psychological Levels (Multiples of 50)
This indicator plots static psychological price levels at fixed point intervals (default every 50 points) across the chart. These levels are commonly watched by traders as natural areas of reaction, balance, support, and resistance, especially on index futures such as NQ, ES, YM, and RTY.
The script automatically centers the levels around the current market price and draws them across a configurable range above and below price. All levels extend across the entire chart and are drawn once only, keeping the display clean and preventing redraw lag.
Key Features
Plots horizontal levels at fixed point spacing (default: 50 points)
Automatically anchors around the latest price
Configurable range above and below price
Customizable line color, width, and style
Lightweight, non-repainting, static reference levels
Best Use Cases
Identifying psychological support and resistance
Confluence with VWAP, EMA structure, ORB levels, and volume
Futures trading (NQ, ES, YM, RTY), indexes, and large-tick instruments
经济周期
[Algo/Fract] Quant+Built for traders ready to Level Up.
Combine algorithmic strength tracking with fractal structure to deliver quant-style clarity on a live chart.
You trade with intuition. Quant trades with Data.
Together, you read the Unseen.
Quant+ is the second component of the AlgoFract Quant Suite.
Features included are:
Quant Cycles & Ghost Cycle (QC)
Custom Volume Spread (VS)
Volume Flow (VF)
Gain Access at: www.algofract.com
or by visiting our Whop Marketplace: whop.com
One-Sided Hodrick-Prescott FilterTechnical & Mathematical Architecture
This indicator represents a significant departure from standard Moving Averages or traditional Hodrick-Prescott (HP) filter implementations found on Trading View. It utilizes a State-Space Model approach to decompose time-series data into trend and cyclical components, solved recursively via a Kalman Filter (Forward Pass) and a Rauch-Tung-Striebel (RTS) Smoother (Backward Pass). Furthermore, it introduces a proprietary Maximum Likelihood Estimation (MLE) loop to adapt the smoothing parameter (λ) dynamically in response to market regimes.
1.1 The State-Space Formulation
The standard HP filter minimizes a specific loss function involving the sum of squared deviations and the sum of squared second differences. While typically solved via batch matrix inversion, this script reformulates the problem as a Local Linear Trend (LLT) model, a stochastic structural model defined by:
Measurement Equation:
y = μ + ε
(Where ε is normally distributed noise)
State Transition Equations:
μ = μ + β + η
β = β + ζ
Where μ represents the stochastic level (trend) and β represents the stochastic slope (drift). The crucial link to the HP filter is the signal-to-noise ratio. By setting the variance of η to 0 (smooth trend) and defining λ as the ratio of measurement variance to slope variance, the Kalman Filter solution converges exactly to the One-Sided HP Filter.
1.2 The Forward Pass: Kalman Filter
The script executes a recursive estimation loop for real-time (causal) filtering:
Prediction Step: Projects the state mean and error covariance forward based on the transition matrix.
Innovation: Calculates the measurement residual (v = y - predicted y).
Update Step: Computes the Kalman Gain. The posterior state is updated based on how much the prediction missed the actual price.
Stability: The covariance update utilizes the Joseph Form subtraction to ensure the covariance matrix remains positive semi-definite, preventing numerical instability inherent in high-precision floating-point calculations over long durations.
1.3 Adaptive λ via Maximum Likelihood
Standard filters use a static λ (e.g., 1600 for quarterly data), which fails in crypto/FX markets exhibiting changing volatility. This script implements an Adaptive ML Loop.
The Kalman Filter assumes innovations are normally distributed with a specific theoretical variance (S). We compute a running variance ratio test:
Ratio = Actual Innovation Variance / Theoretical Variance
Ratio > 1: The model is "surprised" by volatility. The filter is under-fitting. The script dynamically decreases λ to increase responsiveness (reduce lag).
Ratio < 1: The model is over-fitting noise. The script increases λ to enforce a smoother trend.
This allows the filter to function as a low-lag trend follower during impulses and a robust noise filter during consolidation, automatically.
1.4 The Backward Pass: Rauch-Tung-Striebel (RTS) Smoother
This is the most complex feature of the script. While the Forward Pass provides the optimal estimate based on past data, the Backward Pass computes the optimal estimate based on all data.
The RTS algorithm runs purely on historical arrays stored in memory:
It iterates backward from the last bar to the past. It computes a "Smoother Gain" matrix based on future information. It updates the past estimates to correct them based on what happened afterwards. This results in a Minimum Mean Squared Error (MMSE) estimator. Note: This smoothed line is for analytical hindsight and back testing theoretical limits; it is distinct from the real-time filtered line used for live signaling.
Usage Guide:
This indicator is designed for precision trend following and mean-reversion trading. It separates the market price into a Trend Component (Signal) and a Cycle Component (Noise/Oscillation).
The Two Trend Lines:
The Filtered Trend (Real-Time): This is the filled/shaded line on your chart. It calculates the trend using only past data. It does not repaint. Use this for entering and exiting live trades.
Green Fill: Price is above the trend (Bullish bias).
Red Fill: Price is below the trend (Bearish bias).
The Smoothed Trend (Hindsight): (Optional, enabled via settings). This is the "God mode" line. It uses future data to show you exactly where the trend was.
WARNING: This line repaints. Do not trade the tip of this line. Its purpose is to show you the ideal path for training your eye or optimizing parameters.
Mean Reversion Signals:
The script calculates the "Cycle," which is the percentage deviation of price from the HP Trend.
Bands: The Upper and Lower bands represent the Cycle Threshold.
Long Signal (L): Triggered when the Cycle is Oversold (below lower band) AND begins to turn up, while the Filtered Drift (slope) is positive. This suggests a "dip buy" in an uptrend.
Short Signal (S): Triggered when the Cycle is Overbought (above upper band) AND begins to turn down, while the Filtered Drift is negative. This suggests selling a rally in a downtrend.
Adaptive Lambda Panel:
Enable the "Lambda Panel" to see the engine under the hood.
Rising Lambda (Blue): The market is noisy or consolidating. The filter is becoming "stiffer" to ignore the chop.
Falling Lambda (Orange): The market is trending impulsively. The filter is becoming "looser" to track the price closely and reduce lag.
Strategy: You can use low Lambda values as a confirmation of high-volatility breakout regimes.
Performance Table:
A dashboard in the bottom right corner displays the efficiency of the Kalman Filter:
MSE Filtered vs. Smoothed: Shows the Mean Squared Error of the real-time prediction vs. the hindsight-optimal smooth.
Improvement %: A higher percentage indicates that the RTS Smoother is extracting significantly more noise than the real-time filter (common in choppy markets).
Kalman Gains (K1, K2): These display the current weight the filter assigns to new price data for updating the Level and Slope respectively.
Summary of Settings
Base Lambda: The starting stiffness. Higher = smoother (long-term trend). Lower = responsive (short-term trend).
Adaptation Speed: Recommended between 0.01 and 0.05. Controls how fast λ reacts to volatility shocks.
Smoother Lookback: How far back (in bars) the RTS algorithm re-optimizes the historical line.
Best Practice: Use the Filtered Trend for execution. Use the Smoothed Trend to analyze past price action and determine if your Base Lambda setting is appropriate for the asset's volatility profile.
PFA Regime & Structure EnginePFA बाज़ार दर्शन™ is a proprietary market regime and structure indicator designed to provide traders with a comprehensive view of market dynamics. Unlike traditional indicators that focus solely on price direction, this tool evaluates both momentum and structural context to determine the underlying market condition.
It calculates a Regime Score (0–100) by combining momentum energy from MACD pivots, fast and slow structural pivots, and market stress factors. Based on this score, the market is classified into actionable regimes such as Trend Dominant, Selective Phase, or Capital Protection.
The indicator features a live dashboard showing the current regime and score, along with visual structural zones directly on the chart. It acts as an early-warning system for potential market transitions, helping traders manage risk, identify high-probability trend phases, and make informed position-sizing decisions.
Disclaimer: PFA बाज़ार दर्शन™ is for analytical and educational purposes only. It does not provide buy/sell signals or guarantee future performance. Users should combine it with their own trading strategy, risk management, and confirmation tools.
Premium Volume Divergence Signals [Stansbooth]Advanced Divergence Indicator
This indicator is designed to uncover the hidden relationship between price action and momentum. By accurately detecting when price and momentum move in different directions, it highlights bullish and bearish divergences at critical market points — often before reversals or strong continuations occur.
🔹 Key Features:
Precise detection of Regular and Hidden Divergence
Helps identify early market reversals
Clean, clear, and easy-to-read visual signals
Works across Forex, Crypto, and Stock markets
Suitable for all timeframes and trading styles
This indicator empowers traders to make smarter entries, confident exits, and better risk management decisions. Instead of chasing the market, it allows you to anticipate price movement with confidence.
Trade smarter, not harder — let divergence reveal the real market strength.
PFA_Cumulative VolumeComplex Technical Summary – PFA_Cumulative Volume Indicator
The PFA_Cumulative Volume indicator implements a session-normalized volume aggregation framework that conditionally resets at each daily time boundary, thereby isolating intraday participation dynamics from multi-day carryover noise. By cumulatively summing raw traded volume from the session open, the script constructs a real-time proxy for directional conviction and liquidity absorption across the trading day.
In parallel, the indicator captures the immediate microstructure context by explicitly retaining the volume of the last two completed candles, enabling short-horizon comparative analysis of participation decay, acceleration, or stalling. This dual-layer design—macro session accumulation coupled with micro candle-level volume comparison—allows traders to infer whether price movement is being structurally supported by expanding market involvement or merely drifting due to transient order flow.
The visualization layer, implemented via a dynamically updated table overlay, prioritizes informational density over graphical plots. By segregating cumulative session volume, last-candle volume, and second-last-candle volume into discrete cells, the indicator facilitates rapid regime assessment without distorting price charts. Functionally, the tool does not assert directional bias; instead, it acts as a participation integrity monitor, highlighting divergence between price action and underlying volume commitment, which is critical for detecting distribution, exhaustion, or false continuation scenarios.
In essence, the indicator operationalizes volume as a state variable rather than a trigger, framing trades around the sustainability of market effort rather than isolated price events.
PFA_ATR Locha:Clean Volatility RegimeCondensed Abstract (Advanced)
ATR Locha functions as a non-directional volatility-regime discriminator, operationalizing ATR normalized by price to detect latent shifts in market stress dynamics. By stratifying volatility into compression, equilibrium, and expansion states, it isolates pre-trend instability and post-trend exhaustion without invoking directional bias. The indicator is structurally anticipatory rather than predictive, serving as a probabilistic risk-state lens that contextualizes price behavior, enhances temporal positioning, and mitigates regime-mismatch errors when integrated with structural or trend-confirmatory frameworks.
PFA_ATR LochaCondensed Abstract (Advanced)
ATR Locha functions as a non-directional volatility-regime discriminator, operationalizing ATR normalized by price to detect latent shifts in market stress dynamics. By stratifying volatility into compression, equilibrium, and expansion states, it isolates pre-trend instability and post-trend exhaustion without invoking directional bias. The indicator is structurally anticipatory rather than predictive, serving as a probabilistic risk-state lens that contextualizes price behavior, enhances temporal positioning, and mitigates regime-mismatch errors when integrated with structural or trend-confirmatory frameworks.
PFA_EMA ComboEMA Combo Chart – Multi-Timeframe Trend & Momentum Framework
The EMA Combo Chart is a comprehensive trend-analysis setup that plots 10, 20, 50, 100, and 200 Exponential Moving Averages (EMAs) on a single price chart. By visualizing all meaningful combinations of these EMAs, the chart helps traders and investors quickly assess short-term momentum, medium-term structure, and long-term trend direction in one view.
How the EMA Combo Works
• 10 & 20 EMA
Ultra-short-term momentum – useful for identifying early trend shifts, pullbacks, and fast entries.
• 20 & 50 EMA
Short-to-medium trend confirmation – commonly used for swing trading and trend continuation setups.
• 50 & 100 EMA
Intermediate trend strength – filters noise and highlights sustained directional moves.
• 100 & 200 EMA
Long-term trend & regime identification – widely followed by institutions to define bullish vs bearish structure.
• Cross-EMA Alignment (Stacking)
When EMAs are aligned in order (10 > 20 > 50 > 100 > 200), it signals a strong bullish trend .
Reverse alignment indicates a strong bearish trend .
Why Use EMA Instead of SMA
1. Faster Response to Price
EMAs give more weight to recent prices, making them more responsive than Simple Moving Averages (SMA).
2. Early Signal Generation
EMA crossovers and slope changes occur earlier, helping traders capture moves closer to the start of a trend .
3. Better for Volatile Markets
In fast-moving or news-driven markets, EMAs adapt quicker and reduce lag compared to SMA.
4. Institutional Preference
Many professional and algorithmic strategies rely on EMAs, especially 50, 100, and 200 EMA, making them self-fulfilling reference levels .
5. Cleaner Trend Structure
EMA combinations help distinguish between pullbacks vs reversals more effectively than SMA.
Key Use-Cases
• Trend identification across multiple timeframes
• Dynamic support and resistance zones
• Entry-exit timing using EMA crossovers
• Filtering false breakouts in range-bound markets
• Aligning short-term trades with long-term trend
Disclaimer
This EMA Combo Chart is a technical analysis tool intended for educational and informational purposes only. It does not constitute investment advice, trading recommendations, or an assurance of returns. Financial markets involve risk, and past performance is not indicative of future results. Users should conduct their own analysis and consult a qualified financial advisor before making any trading or investment decisions.
MR.Mix Market Context
MR.Mix هو نظام تحليل سياقي مبني على الجلسات، تم تطويره لدعم منهجية تداول خاصة تحمل نفس الاسم (MR.Mix).
لا يُعد هذا المؤشر دمجًا لمؤشرات مستقلة، بل إطارًا تحليليًا واحدًا يتم فيه تنسيق عدة مكوّنات داخلية للعمل معًا وفق منطق موحّد يعتمد على بنية الجلسات، سلوك السعر، واستجابة الزخم.
يعمل المؤشر كأداة تحليلية مساعدة للاستراتيجية، حيث يركّز على قراءة سياق السوق وتأكيد الحالات التي تعتمد عليها المنهجية، دون توليد إشارات تداول مباشرة أو وعود أداء.
الوظائف الرئيسية:
• تحديد افتتاح جلسة نيويورك ورسم مستويات مرجعية مشتقة من الجلسة
• تصور نطاق ما قبل الافتتاح مع تتبع القمم والقيعان بشكل تراكمي
• عرض هياكل RSI والفوليوم مدمجة داخل الشارت ومقاسة نسبةً إلى النطاق السعري الظاهر
• متوسط متحرك EMA مع خيارات تنعيم تكيفية ونطاقات تذبذب اختيارية
• جميع العناصر البصرية تُعرض بناءً على شروط سياقية وليست مرسومة بشكل ثابت
تمت حماية كود المؤشر لاعتماده على تنسيق داخلي خاص بين توقيت الجلسات، التحجيم التكيفي، ومنطق العرض الشرطي، وهو تصميم لا يمكن إعادة إنتاجه بدقة باستخدام مؤشرات Pine المفتوحة دون كشف البنية الداخلية.
شرح العناصر على الرسم البياني:
• الخطوط الأفقية تمثل مستويات مرجعية مشتقة من الجلسات
• الخطوط العمودية تشير إلى انتقالات الجلسات
• المناطق المظللة توضح نطاقات ما قبل الافتتاح
• صناديق RSI والفوليوم المدمجة تعكس الزخم والمشاركة ضمن النطاق السعري الظاهر فقط
────────────────────────────────
MR.Mix is a session-based market context system developed to support a proprietary trading methodology under the same name (MR.Mix).
This script is not a compilation of standalone indicators. It is a unified analytical framework where multiple internal components are coordinated to operate under a single logic focused on session structure, price behavior, and momentum response.
The indicator functions as a supportive analytical tool for the methodology by providing market context and condition confirmation, without generating direct trading signals or performance claims.
Key features:
• New York session open detection with session-derived reference levels
• Pre-market range visualization with cumulative high/low tracking
• Embedded RSI and Volume structures rendered directly on the price chart and scaled relative to the visible price range
• EMA with optional adaptive smoothing and volatility bands
• All visual elements are condition-driven and context-aware rather than continuously plotted
The script is protected because it relies on proprietary coordination between session timing, adaptive scaling, and conditional rendering logic that cannot be accurately replicated using standard open-source Pine indicators without exposing internal structure.
Chart elements:
• Horizontal lines represent session-derived reference prices
• Vertical lines mark session transitions
• Shaded areas define pre-market price boundaries
• Embedded RSI and Volume boxes reflect momentum and participation within the visible range only
MR.MixMarket Context
MR.Mix هو نظام تحليل سياقي مبني على الجلسات، تم تطويره لدعم منهجية تداول خاصة تحمل نفس الاسم (MR.Mix).
لا يُعد هذا المؤشر دمجًا لمؤشرات مستقلة، بل إطارًا تحليليًا واحدًا يتم فيه تنسيق عدة مكوّنات داخلية للعمل معًا وفق منطق موحّد يعتمد على بنية الجلسات، سلوك السعر، واستجابة الزخم.
يعمل المؤشر كأداة تحليلية مساعدة للاستراتيجية، حيث يركّز على قراءة سياق السوق وتأكيد الحالات التي تعتمد عليها المنهجية، دون توليد إشارات تداول مباشرة أو وعود أداء.
الوظائف الرئيسية:
• تحديد افتتاح جلسة نيويورك ورسم مستويات مرجعية مشتقة من الجلسة
• تصور نطاق ما قبل الافتتاح مع تتبع القمم والقيعان بشكل تراكمي
• عرض هياكل RSI والفوليوم مدمجة داخل الشارت ومقاسة نسبةً إلى النطاق السعري الظاهر
• متوسط متحرك EMA مع خيارات تنعيم تكيفية ونطاقات تذبذب اختيارية
• جميع العناصر البصرية تُعرض بناءً على شروط سياقية وليست مرسومة بشكل ثابت
تمت حماية كود المؤشر لاعتماده على تنسيق داخلي خاص بين توقيت الجلسات، التحجيم التكيفي، ومنطق العرض الشرطي، وهو تصميم لا يمكن إعادة إنتاجه بدقة باستخدام مؤشرات Pine المفتوحة دون كشف البنية الداخلية.
شرح العناصر على الرسم البياني:
• الخطوط الأفقية تمثل مستويات مرجعية مشتقة من الجلسات
• الخطوط العمودية تشير إلى انتقالات الجلسات
• المناطق المظللة توضح نطاقات ما قبل الافتتاح
• صناديق RSI والفوليوم المدمجة تعكس الزخم والمشاركة ضمن النطاق السعري الظاهر فقط
────────────────────────────────
MR.Mix is a session-based market context system developed to support a proprietary trading methodology under the same name (MR.Mix).
This script is not a compilation of standalone indicators. It is a unified analytical framework where multiple internal components are coordinated to operate under a single logic focused on session structure, price behavior, and momentum response.
The indicator functions as a supportive analytical tool for the methodology by providing market context and condition confirmation, without generating direct trading signals or performance claims.
Key features:
• New York session open detection with session-derived reference levels
• Pre-market range visualization with cumulative high/low tracking
• Embedded RSI and Volume structures rendered directly on the price chart and scaled relative to the visible price range
• EMA with optional adaptive smoothing and volatility bands
• All visual elements are condition-driven and context-aware rather than continuously plotted
The script is protected because it relies on proprietary coordination between session timing, adaptive scaling, and conditional rendering logic that cannot be accurately replicated using standard open-source Pine indicators without exposing internal structure.
Chart elements:
• Horizontal lines represent session-derived reference prices
• Vertical lines mark session transitions
• Shaded areas define pre-market price boundaries
• Embedded RSI and Volume boxes reflect momentum and participation within the visible range only
Opposite Candle Break Finder version 1 This is a simple indicator which detects last candle that was engulfed by the close of the opposite color candle - Bear in mind you need to wait till the candle is closed
feel free to ask me for the code since I am not a professional coder at all any coder wants update it they feel free to contact me. at Adel4traders@gmail.com
STOC DMA Ribbon, Trend, Volume & Structure Dashboard v1.5This indicator is the intellectual property of Systematic Traders Club.
Distribution, modification, or commercial use without permission is prohibited.
This indicator is provided for educational and informational purposes only.
It does not constitute financial advice, investment recommendations, or trade signals.
The creator and Systematic Traders Club are not responsible for any financial losses resulting from the use of this indicator.
Trading and investing involve risk. Always do your own analysis and use proper risk management.
My RSI Fib Range Cloud//SOLO900q99This is basically the close price, optionally “stepped” if you set Bars Per Sample > 1.
2. Central Threshold Band (colored line)
• This is an EMA of the resampled price (default length 34).
• It turns:
• Green when RSI is in bullish fib zones,
• Pink when RSI is in bearish fib zones,
• Grey when RSI is in the middle/neutral area.
3. Sigma Range High (green line) and Sigma Range Low (pink line)
• These are an upper and lower band around price.
• The distance from price is based on how much price has been moving recently (average change).
GARCH Adaptive Volatility & Momentum Predictor
💡 I. Indicator Concept: GARCH Adaptive Volatility & Momentum Predictor
-----------------------------------------------------------------------------
The GARCH Adaptive Momentum Speed indicator provides a powerful, forward-looking
view on market risk and momentum. Unlike standard moving averages or static
volatility indicators (like ATR), GARCH forecasts the Conditional Volatility (σ_t)
for the next bar, based on the principle of volatility clustering.
The indicator consists of two essential components:
1. GARCH Volatility (Level): The primary forecast of the expected magnitude of
price movement (risk).
2. Vol. Speed (Momentum): The first derivative of the GARCH forecast, showing
whether market risk is accelerating or decelerating. This component is the
main visual signal, displayed as a dynamic histogram.
⚙️ II. Key Features and Adaptive Logic
-----------------------------------------------------------------------------
* Dynamic Coefficient Adaptation: The indicator automatically adjusts the GARCH
coefficients (α and β) based on the chart's timeframe (TF):
- Intraday TFs (M1-H4): Uses higher α and lower β for quicker reaction
to recent shocks.
- Daily/Weekly TFs (D, W): Uses lower α and higher β for a smoother,
more persistent long-term forecast.
* Momentum Visualization: The Vol. Speed component is plotted as a dynamic
histogram (fill) that automatically changes color based on the direction of
acceleration (Green for up, Red for down).
📊 III. Interpretation Guide
-----------------------------------------------------------------------------
- GARCH Volatility (Blue Line): The predicted level of market risk. Use this to
gauge overall position sizing and stop loss width.
- Vol. Speed (Green Histogram): Momentum is ACCELERATING (Risk is increasing rapidly).
A strong signal that momentum is building, often preceding a breakout.
- Vol. Speed (Red Histogram): Momentum is DECELERATING (Risk is contracting).
Indicates momentum is fading, often associated with market consolidation.
🎯 IV. Trading Application
-----------------------------------------------------------------------------
- Breakout Timing: Look for a strong, high GREEN histogram bar. This suggests
the volatility pressure is increasing rapidly, and a breakout may be imminent.
- Consolidation: Small, shrinking RED histogram bars signal that market energy
is draining, ideal for tight consolidation patterns.
Ingenuity Crazy Strategy Advance IntraThis indicator works — IF you use it correctly.
Wrong settings = bad results.
That’s why we keep:
🔥 The exact settings
🔥 Market-specific presets
🔥 Live trade examples
INSIDE OUR DISCORD ONLY.
🚫 Do not guess
🚫 Do not freestyle settings
👉 Join the Discord and trade it the way it’s meant to be traded.
discord.gg
Day of WeekDay of Week is an indicator that runs in a separate panel and colors the panel background according to the day of the week.
Main Features
Colors the background of the lower panel based on the day of the week
Includes all days, from Monday to Sunday
Customizable colors
Time Offset Correction
TradingView calculates the day of the week using the exchange’s timezone, which can cause visual inconsistencies on certain symbols.
To address this, the indicator includes a configurable time offset that allows the user to synchronize the calculated day with the day displayed on the chart.
By simply adjusting the Time Offset (hours) parameter, the background will align correctly with the visible chart calendar.
Multi-Trend + Credit Risk DashboardHello This is showing 20,50,200 as well as some other useful indicators. hope you like it, its my first! D and P is discount or premium to nav
GLOBAL TRADERS SYSTEMO indicador mede o apetite a risco do mercado ou proteção. Deve ser usado em índices americanos.
RISK ON RISK OFF GTSO indicador mede o apetite a risco do mercado ou proteção. Deve ser usado em índices americanos.
Momentum Table View (Bar-Based)// NOTE:
// This script uses bar-based lookbacks instead of calendar months.
// Approximate conversions for daily charts:
// - 21 bars ≈ 1 month
// - 63 bars ≈ 3 months
// - 252 bars ≈ 1 year
// For other timeframes, adjust accordingly for different time periods and needs.
// For hourly I have it set at 24*5, 24*5*4 and then finally 24*5*4 to give the same,
// daily, weekly and monthly aggregate returns but on the hourly scale.
// Of course you can split it anyway you like as well depends on the expected needs you have.
Running idea so there will likely be revisions to the z scoring to possibly a different method and the atan angle represented in the code will also likely be changed at some point as to maybe a regression method. These changes will take time as this is only a secondary platform for me not the main source of data. In saying that the table has the data representing the log returns of an asset of n bars which I decided on over the original more accurate daily, weekly and monthly close points which the user can always specify using this method if wanting to be more accurate with the standard method of momentum returns factor.






















