OPEN-SOURCE SCRIPT

Highest High and lowest low - Sachin Wakpaijan

Updated

The "Highest High and Lowest Low" indicator, created by Sachin Wakpaijan, is a powerful tool designed to identify the highest high and lowest low in a trading instrument's price history. This indicator can be used on TradingView to gain insights into significant price levels and potential trend reversals.

Inputs:
Display Emoji: This input parameter enables or disables the display of emoji symbols on the chart.

Functionality:
The indicator calculates the highest high and lowest low based on the price history. It performs the following steps:

Highest High Calculation: The indicator calculates the highest high by comparing the current high with the previously recorded highest high. If a new high is found, the highest high is updated. The lowest low is set to the highest high.

Lowest Low Calculation: The indicator calculates the lowest low based on the current low. If a new low is found, the lowest low is updated, and the highest after the low is set to the lowest low.

Checking for Highest After Low: If the current high exceeds the highest after the low, the highest after the low is updated.

Plotting: The indicator plots the highest high, highest after low, and lowest high on the chart. Additionally, it displays emoji symbols on the chart based on specific conditions, such as the highest high and the relationship between the high and the open/close prices.

Usage:
The "Highest High and Lowest Low" indicator can be applied to any trading instrument and time frame. It helps traders identify significant price levels, potential trend reversal points, and gauge the strength of price movements. The indicator's customizable input parameter allows users to adjust the visual appearance according to their preferences.

Note:
This indicator is provided for informational purposes only and should not be considered as financial advice. Traders should conduct thorough analysis and use additional indicators or techniques to validate their trading decisions.

Author:
This indicator was created by Sachin Wakpaijan. You can find more of their work on TradingView.

Disclaimer:
Trading involves risks, and it is essential to understand and acknowledge the risks associated with trading before making any investment decisions. The author do not assume any responsibility for any trading losses incurred as a result of using this indicator.
Release Notes
Updated the code for calculating lowest low after recalculating main lowest.
Emoji is disabled by default.
Chart patternssentiment

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer