OPEN-SOURCE SCRIPT

Anchored GB Time

Customizable indicator designed to track the number of hours elapsed since a user-defined starting point, such as the weekly market open. It highlights significant time intervals by checking the elapsed hour count against predefined GB Numbers and CE Numbers, offering precise insights for time-based trading strategies.

Custom Start Time:

Choose the day and hour when the counter resets, making it adaptable to different asset classes and market sessions.
Perfect for aligning with weekly opens or specific algorithmic strategies.
GB and CE Numbers:

Predefined sets of Goldbach (GB) Numbers and Critical Event (CE) Numbers.
Labels are displayed when the hour counter matches one of these significant numbers.
Customizable Appearance:

Separate settings for GB and CE labels:
Enable or disable each set.
Customize label colors, sizes, and vertical offsets.
Time Zone Support:

Select your desired time zone for accurate start time synchronization with your chart.
Consistent Label Placement:

Labels remain fixed above the candles regardless of zoom level or price range, ensuring clarity on any chart.

Useful for:
Time-Based Strategies: Identify key market intervals for entries or exits based on elapsed trading hours.
Custom Session Tracking: Monitor time progression across different market sessions or instruments.
Algorithmic Insights: Integrate time-based rules into your trading systems with precision.

How to Use:

1. Set the start day and hour using the Algo Start Day and Algo Start Hour inputs.
2. Customize the appearance of GB Time and CE Numbers labels as needed.
3. Align the chart's time zone with the indicator for accurate time tracking.

In the chart example, price is anchored to Sunday at 6pm, the opening hour for the week for futures
educationalgoldbachgoldbachtime

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss