GT - Recent High/Low█ OVERVIEW
This indicator will help traders identify the recent high and low of the current trend so we know where we are in the trend. If recent high/low broken it could be that the trend is changing. This indicator is based on price action.
█ HOW IT WORKS
Basically, a trend is when the prices move up and down in a stair-step fashion. In an uptrend, The indicator keeps track of the up and down movement and remember the last high and once the price pull back and broke the recent high it will mark out the new high. When prices pull back in and uptrend it must not broken the recent low. If the pull back move broke the recent low it could means that the trend is changing and we could see prices start going down. Downtrend is the reverse of uptrend.
Whenever the price broke the recent high or low the script will go back from the candle that broken the previous high to find the recent low. As long as the high of previous candle is lower than each other consecutively backward, all of those candle will be counted as part of the up move. The lowest low of these candles will be counted as the recent low. If one of the candles that are part of the up move is an inside bar then the recent low is the low of that inside bar candle (for downtrend it will be the high). Inside bar candle is a candle that it's high and low are both inside the high and low of the candle preceding it (to its left).
█ DISCLAIMERS
The content of this post is NOT investment advice and I am not a financial advisor.
This is for educational purpose only.
Always do you own research. Do not blindly trust a random stranger online.
█ HOW DOES IT HELP YOU
Moving the recent high and low every time a candle break out is a very tedious job. Plus, you cannot set an automatic alert system whenever price broke a recent high or low. This indicator allow you to create an alert whenever a recent high or low is broken.
You can use this indicator as a trailing stop loss strategy. Move the stop loss of your long position to the recent low level whenever price broke recent high or move the stop loss of your short position to the recent high level whenever price broke recent low.
The bullet line is the minor recent high or low before the prices broke the major recent high/low. This line could be the level where prices touch before continue with the trend.
█ TRADING IDEAS
Based on how a candle broke the recent high or low, if it breaks impulsively you can develop your strategy to trade the pullback and hoping on the trend before it continue to move up or down.
█ CURRENT FEATURES
Recent high/low.
Previous high/low.
Inside bar marker.
Alert for when high/low broken. Configurable message format either in JSON or plain text, useful when using with webhook alert.
Bullet line (trend continuation line).
Toggle switch to redraw in realtime. CAUTION: this will cause repainting and alert will fire multiple time during a real-time bar.
█ NOTES
- I am very new to pine script. So there could be a way to handle the alert in realtime to not fire multiple time, Once I found a way I will update the indicator. However, redrawing in realtime will definitely cause repainting of high/low or bullet line, as far as I know this cannot be fixed because it is how pine script compiler works.
- If you like the indicators and it helps you please be sure to leave a like.
█ CREDITS
This indicator is made by me but the idea is inspired by Guerrilla Trading course. Which is why this indicator is closed-source. Guerrilla doesn't support the use of indicators and they believe in mastering reading candle sticks using price action on a naked chart. However, I'm a visual learner, I do my due diligent in backtesting and learning how to read the chart. I think that a little help with indicator to smooth my learning curve or make it easier to identify important level is very useful.
!IMPORTANT!: If you are a member of Guerrilla please do not advertise this indicator on their forum as they do not support the idea of using indicators.
While using the indicator if you found any bugs or the lines draw incorrectly please report it directly to me by leaving a comment or message me directly. Do not report the bugs of this indicator to Guerrilla Trading as this has nothing to do with them and they are not the maintainer.
If you are not a member of Guerrilla but you are considering joining Guerrilla Trading. You can support me out by using my affiliate link in my Signature . Thank you very much!
█ CONTRIBUTE
If you are a developer and a member of Guerrilla and you would like to contribute to this indicator please message me.