Strategy testing and trading software · Germanycontact@stratcorealpha.com · DE
All public work

Original open-source Pine Script v6 utility

Pine v6 MTF Confirmation Timing Inspector

A TradingView diagnostic that separates the last confirmed higher-timeframe close from the still-developing value and makes the timing state visible on a lower-timeframe chart.

The engineering problem

Why this tool exists

Multi-timeframe specifications often say “use the higher-timeframe close” without defining whether that means the final closed value or a value that can still change intrabar. The inspector exposes both states so alerts, screenshots and acceptance tests can agree on timing.

Published capabilities

  • Confirmed higher-timeframe close displayed as a stable step series
  • Developing higher-timeframe close labelled as diagnostic-only
  • State table showing the selected higher timeframe and timing status
  • New higher-timeframe interval alert condition
  • Reproducible 15-minute chart and 4-hour confirmation test

Engineering evidence

  • Original Pine Script v6 source published under MPL-2.0
  • Explicit separation of confirmed and still-changing higher-timeframe data
  • Public repository with usage, limitations and reproducible checks

What this case study does not claim

  • The utility diagnoses timing; it does not produce trade entries or predict price.
  • The developing value is expected to change before the higher-timeframe candle closes.

Need related custom work?

Pine/Webhook Reconciliation — Written decision after contact

Review scope and boundaries

Trading risk disclosure

Futures and forex trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing one's financial security or lifestyle. Only risk capital should be used for trading, and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

Hypothetical performance disclosure

Hypothetical performance results have many inherent limitations. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. There are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. Hypothetical results are generally prepared with the benefit of hindsight, do not involve financial risk, and cannot completely account for the impact of financial risk in actual trading. Market conditions, the ability to withstand losses, and adherence to a trading program can all materially affect actual results.

NinjaTrader trademark disclosure

NinjaTrader® is a registered trademark of NinjaTrader Group, LLC. No NinjaTrader company has any affiliation with the owner, developer, or provider of the products or services described herein, or any interest, ownership or otherwise, in any such product or service, or endorses, recommends or approves any such product or service.

Testimonials, when shown, may not represent the experience of other clients and are not a guarantee of future performance or success. Virtual-currency trading carries additional risks. See the CFTC customer advisories. Read the full financial risk disclaimer.