All indicators

[e2] Drawing Library :: Horizontal Ray

Created by e2e4

Save
[e2] Drawing Library :: Horizontal Ray chart preview

[e2] Drawing Library :: Horizontal Ray

[e2] Drawing Library :: Horizontal Ray full chartOpen original image in a new tab ↗

A drawing library function that creates horizontal rays based on specific market conditions, allowing traders to visually mark and track important price levels dynamically.

Explore complementary indicator roles
UNDERSTAND THE TOOL

How it works

The hray() function generates horizontal rays by establishing an initial point through a predefined boolean condition. Once triggered, the ray extends to the specified price level, creating a visual marker on the chart.

Traders can customize the ray's appearance, including color, style, and width. The function allows extending rays to the right or limiting them to the current bar. Historical lines can be displayed to show previous level interactions, providing additional context for price movements

Why it may be useful

Horizontal rays help traders identify and track critical price levels that might serve as support, resistance, or significant market turning points.

By dynamically generating these rays based on specific conditions, traders can quickly visualize key market moments like moving average crossovers, all-time highs, or custom entry/exit points. The function's flexibility enables precise technical analysis, allowing for custom alerts and improved decision-making in trading strategies

When to explore it

The hray() function is most effective when tracking specific market conditions or price levels across various trading scenarios. It works well for marking moving average crossovers, identifying all-time highs or lows, and creating custom reference lines.

Traders can use it during trending markets to highlight potential support and resistance levels, or in range-bound markets to mark critical price points. The function is particularly useful for swing traders and day traders seeking visual confirmation of market dynamics

Keep exploring

CHECK THE DETAILS

What we’ve verified

Access, alerts and repainting behaviour have not been independently verified for this indicator. Check the creator’s current publication and settings.

General descriptions and classifications are recovered research. Verified details above identify the specific checks we have completed. Check the creator’s current publication for later changes.