tumiza999

FIRST-HOUR TOOL V.1.8.08.23

Three horizontal lines are drawn on the chart to represent session prices. These prices are calculated based on the user-specified session:

"FirstHour Session High" represents the highest price reached during the firsthour session.
"FirstHour Session Open" represents the opening price of the firsthour session
"FirstHour Session Low" represents the lowest price reached during the firsthour session.

These prices are respectively colored with light blue, light yellow, and light pink.

The chart background can change color based on whether the current time is within the specified session. If the current time is within the session, the background will be colored in semi-transparent aqua green. Otherwise, it will remain transparent.

Upward-pointing triangle markers are used to highlight points where the closing price crosses above (crossover) or below (crossunder) the session levels.

These markers appear below the corresponding bar.
They are colored based on the type of crossover:

Yellow for crossover above the "FirstHour High"
Red for crossover above the "FirstHour Open"
Green for crossover above the "FirstHour Low"

Alerts:
Alert messages are generated when crossovers or crossunders of the closing price relative to the session levels occur.
The alerts appear once per bar. Alerts are generated for the following events:

Crossover of the price above the "Session High" with the message "High First Hour Crossover."

Crossunder of the price below the "Session Open" with the message "Open First Hour Crossunder."

Crossunder of the price below the "Session Low" with the message "Low First Hour Crossunder."

Crossover of the price above the "Session Low" with the message "Low First Hour Crossover."

In summary, this indicator provides a visual representation of session prices and events, helping traders spot significant crossovers and crossunders relative to key price levels.

Author @tumiza999
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?