RSI ProfileThis indicator shows the RSI profile from historical RSI Value and High / Low RSI Pivots.
It is inspired by the Volume Profile which is a common charting study that indicates activity at specified levels. It plots a histogram on the chart meant to identify dominant/significant levels.
This script is profiling RSI levels into a histogram, which can identify the crucial RSI values in the chart. Along with the pivot options that can help identify the dominant pivot points where RSI values had been rebounding historically.
How to use:
There are three profile types available in the settings. When selecting RSI Values, the indicator will count RSI values from history, and plot the count in a histogram at the end of the chart. If you select RSI Pivots High or RSI Pivots Low, the indicator will count only the RSI Pivot Highs and Lows and plot the count in a histogram. Users can select the Pivot Left/Right length from the settings.
Users can extend the POC line to the left, to study how the values had been reacting to POC
Please note: Since the RSi values range from 0 to 100, the indicator is rounding off the values to absolute numbers. This can cause a situation where multiple POC are identified, to find the unique POC, you can increase the width of the histogram.
The Max/Min RSI settings are for visual purposes only, it can help users shrink down the histogram's top and bottom visibility
相對強弱指標(RSI)
3 Series Cross Indicator with Alerts - by WAMRAThis Indicator allows users to add any 3 combinations of moving averages (SMA, EMA, RMA, RSI, Stochastic RSI, WMA, VWAP ) with granular alert conditions.
Users can alert when all series are in climbing or declining mode.
WillSpreadIntermarket + Williams Spread + POIV + ADVolumen sπThe Indicator is a combination of different types of measurements to the Price Action.
1.1 RSI Contra Input like Dollar Index (white Line)
1.2 RSI (colored line)
If you switch off 1.1. and 1.2. you can use the Willspread, POIV or AD Volume as a Indicator
2. The WillSpread is set to measure your Symbol to another chosen Market like Dollar as Contra . But you can switch also between different markets.
2. Accumulation/Distribution with True Range of High or Low including OpenInterest. This only works with Futures .
--Energies, Metals, Bonds, Softs, Currencies, Livestock, live cattle , feeder cattle, lean hogs , index--
Open Interest for:
ZW, ZC , ZS, ZM, ZL, ZO, ZR, CL , RB, HO, NG , GC , SI, HG, PA, PL, ZN, ZB, ZT, ZF, CC , CT , KC, SB , JO, LB , AUDUSD , GBPUSD , USDCAD , EURUSD , USDJPY , USDCHF , USDMXN , NZDUSD , USDRUB , DX , BTC , ETH, LE, GF , HE, NQ, NDX, ES, SPX , RTY, VIX ,
3. Accumulation/Distribution with True Range of High or Low including Volume .
4. The color shows if the Market has positive or negative (RSI, Willspread, Volume or Open Interest)
5. The Indicator also shows Divergences to Price and RSI or Willspread Movements.
If you want to have more information just give me a message.
RSI Trend Veracity (RSI TV)The RSI only plots itself between a high and a low value. It does not show its bullish/bearish sentiment.
The RSI TV shows the sentiment and helps anticipate the RSI trend but not the price trend.
When the Trend Veracity Line is in green, there is bullish sentiment. When it is in red, there is bearish sentiment.
The closer the lines get to their extremities, the more the current trend of the RSI is exhausted.
It works quite well even in choppy markets. See notes in the picture for more details.
Bearish Market Indicator V2Definition
Have you ever wonder whether if the stock/index/market is "bearish" ? A Bearish Market Indicator (B.M.I) is not a new concept, the definition is simply 20% lower from the recent (term: short-term, recent: usually within a year, a.k.a 1 year) highs (closing price with in the recent period or within in a year or simply a 52-Week High). It is called “bearish” by definition when the closing price is below 20% from the highest price within the year (52-Week high: Green Line). To visualize the “20%” below the recent highs, there is a plot (line: light yellow color in the middle) called a Bearish Market By Definition Value. For example, the SPX 500 has been in a bearish market which is why there is a purple color highlight over the 52-Week High (green line) since September 21, 2022 because the closing price is below the Bearish Market By Definition Value (light yellow color) or “20% below the recent highs”. Finally, there is a red line under in the graph and it is the lowest price within a year. So when you hear, “this ticker is at a 52-Week Low”, you know what it means.
Line Summary:
Green Color Line = 52-Week High
Yellow Color Line = 20% away from the 52-Week High or Bearish Market By Definition Value
Red Color Line = 52-Week Low
Color Summary:
Red Color = Bad
Saturated Red Color = Very Bad
Purple Color = Bearish (It may look pink: red + purple)
White Color = Less Bad (That’s because there is no certainty only probability)
Green Color = Not too Bad (That’s because there is no certainty only probability)
Now to more complicated Metrics
>> If you do not like the technical indicators, go to the indicator settings, uncheck the tables. Otherwise, please continue reading. <<
Pre-requisites
+ Understand that the indicators are lagging indicators.
+ Using it under “D” or “Day” interval
+ Already Understand: Moving Averages, Stochastic-RSI, RSI, Super Trend and MACD.
+ Please be aware that this might not be compatible with traders!
Indicators
This B.M.I is fused (comprised, combined) with multiple indicators:
- Moving Averages
I would not rely just on the Moving Averages (MA) since it is a lagging indicator. The values are derived by finding the differences with respect to the MAs (between the closing price and with the respect MA).
- Stochastic-RSI
Stochastic and RSI combo with RSI-Color coating. The first value is the rsi-stochastic-k followed by the rsi-stochastic-d both are compartmentalized with “|”.
Parameter:
Numbers > 80 Not Good
Numbers < 20 Is it time? (You can manually verify the lines (k, d) or the values from them)
- Relative Strength Index (RSI)
The first value is the rsi followed by the rsi-ma both are compartmentalized with “|”. It is also coated with RSI-color.
Parameter:
Numbers > 70 Overbought | Color Red
If the RSI > RSI’s MA = Green
If the RSI < RSI’s MA = Red
Numbers < 30 Oversold | Color Red
- Moving Averages Convergence Divergence (MACD)
The first value is the MACD-line followed by the signal-line both are compartmentalized with “|”.
Macd-line > signal line = green
Macd-line < signal line = red
- Supertrend (please look up from the documentation; i can not embed the link)
Think of this way, you’re riding a wave. If the wave is climbing, expect the price to follow.
Direction < 0 = Green
Direction > 0 = Red
- Other Trend similar to supertrend
This is similar to the Super Trend according the some. Imagine you’re drawing a trend line manually within 6 months.
Within the period, the line gets smoothed over and over til the n=9.
> If the closing is less than the 9th value, it implies the trend is slowing down.
Usage
Adjustments
+ Since there are different holidays from different countries, you can change the BMI-Period from the indicator settings “BMI-4khansolo”.
+ You can hide Technical Indicator Tables, it is also under the settings (see above).
> This will show red over the 52-Week high if it tests for positive .
Purpose
Do you like eating the same food over and over? No! I love different food! I also love a variety of indicators. Especially, I love having MULTIPLE indicators presented in one canvas at the same time (personalized).
After spending a lot of time, I want to share my “FOOD” which is made of different ingredients (indicators) with someone who appreciates food! This Makes me a chef isn't it? Yes! Chef!
Questions?
If you have questions or spotted errors, please comment them below so that I can improve.
Sources
All the materials (i.e., functions like ta.rsi, etc...) used in here are available in the platform.
All the references or sources materials are commented with the code since the I am not allowed to put them here.
Adaptive Rebound Line Bands (ARL Bands)These bands consist of 4 ARLs (See: Adaptive Rebound Line ('ARL'/AR Line)) that help accurately spot price rebounds.
It is excellent for 15 minute scalping and price-action trading.
See notes in the picture above for more details.
Note: "Top Deviation" is the deviation of the top 'ARL', "High Deviation" is for the high 'ARL', etc.
Outback RSI & Hull [TTF]This indicator was originally made to help users following along with one of our strategies that we call The Outback (hence the name).
One of the component indicators of that strategy is an RSI with a Hull Moving Average added on top of the RSI as an additional reference for the momentum of the RSI. Many people either had difficulty setting this up correctly, or were having issues with the Indicator on Indicator component, so we built this indicator to assist in that regard.
As we continued to use it, we found it to be a pretty sound momentum indicator that had much to offer by enhancing the more normal RSI, and wanted to make this indicator generally available to the public.
The basic premise of this indicator is as follows:
The core is a traditional RSI with a "normal" (usually Simple) moving average
The "secret sauce" is adding a 2nd moving average (a Hull Moving Average, inspired by Insilico's awesome Hull Suite) based off the RSI
By leveraging the RSI's position relative to both the Simple and Hull moving averages, you can better gauge the relative strength of the current momentum, as well as better visualize longer-term momentum direction and strength based on the moving average slopes and direction.
Divergence for Many Panel (D4MP+)Divergence for Many Panel (D4MP+)
This Divergence for Many Panel indicator is built upon the realtme divergence drawing code originally authored by LonesomeTheBlue, now in the form of a panel indicator.
The available oscillators, hand picked for their ability to identify high quality divergences currently include:
- Ultimate Oscillator (UO)
- True Strength Index (TSI)
- Money Flow Index (MFI)
- Relative Strength Index (RSI)
- Stochastic RSI
- Time Segmented Volume (TSV)
- Cumulative Delta Volume (CDV)
Note : this list of available oscillators may be added to or altered at a later date.
The indicator includes the following features:
- Ability to select any of the above oscillators
- Optional divergence lines drawn directly onto the oscillator in realtime .
- Configurable alerts to notify you when divergences occur.
- Configurable pivot lookback periods to fine tune the divergences drawn in order to suit different trading styles and timeframes, including the ability to enable automatic adjustment of pivot period per chart timeframe.
- Background colouring option to indicate when the selected oscillator has crossed above or below its centerline.
- Alternate timeframe feature allows you to configure the oscillator to use data from a different timeframe than the chart it is loaded on.
- Oscillator name label, so you can clearly see which oscillator is selected, in the case you have multiple loaded onto a chart.
- Optional adjustable range bands.
- Automatic adjustment of line colours, centerlines and range band levels on a per oscillator basis by default.
- Ability to customise the colours of each of the oscillators.
What is the Ultimate Oscillator ( UO )?
“The Ultimate Oscillator indicator (UO) indicator is a technical analysis tool used to measure momentum across three varying timeframes. The problem with many momentum oscillators is that after a rapid advance or decline in price, they can form false divergence trading signals. For example, after a rapid rise in price, a bearish divergence signal may present itself, however price continues to rise. The ultimate Oscillator attempts to correct this by using multiple timeframes in its calculation as opposed to just one timeframe which is what is used in most other momentum oscillators.”
What is the True Strength Index ( TSI )?
"The true strength index (TSI) is a technical momentum oscillator used to identify trends and reversals. The indicator may be useful for determining overbought and oversold conditions, indicating potential trend direction changes via centerline or signal line crossovers, and warning of trend weakness through divergence."
What is the Money Flow Index ( MFI )?
“The Money Flow Index ( MFI ) is a technical oscillator that uses price and volume data for identifying overbought or oversold signals in an asset. It can also be used to spot divergences which warn of a trend change in price. The oscillator moves between 0 and 100. Unlike conventional oscillators such as the Relative Strength Index ( RSI ), the Money Flow Index incorporates both price and volume data, as opposed to just price. For this reason, some analysts call MFI the volume-weighted RSI .”
What is the Relative Strength Index ( RSI )?
"The relative strength index (RSI) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of a security's recent price changes to evaluate overvalued or undervalued conditions in the price of that security. The RSI can do more than point to overbought and oversold securities. It can also indicate securities that may be primed for a trend reversal or corrective pullback in price. It can signal when to buy and sell. Traditionally, an RSI reading of 70 or above indicates an overbought situation. A reading of 30 or below indicates an oversold condition. It is also commonly used to identify divergences."
What is the Stochastic RSI (StochRSI)?
"The Stochastic RSI (StochRSI) is an indicator used in technical analysis that ranges between zero and one (or zero and 100 on some charting platforms) and is created by applying the Stochastic oscillator formula to a set of relative strength index (RSI) values rather than to standard price data. Using RSI values within the Stochastic formula gives traders an idea of whether the current RSI value is overbought or oversold. The StochRSI oscillator was developed to take advantage of both momentum indicators in order to create a more sensitive indicator that is attuned to a specific security's historical performance rather than a generalized analysis of price change."
What Is Time Segmented Volume?
"Time segmented volume (TSV) is a technical analysis indicator developed by Worden Brothers Inc. that segments a stock's price and volume according to specific time intervals. The price and volume data is then compared to uncover periods of accumulation (buying) and distribution (selling)."
What is Cumulative Volume Delta ( CDV )?
"The CDV analyses the net buying at market price and net selling at market price. This means, that volume delta is measuring whether it is the buyers or sellers that are more aggressive in taking the current market price. It measures the degree of intent by buyers and sellers, which can be used to indicate who is more dominant. The CDV can be used to help identify possible trends and also divergences"
What are divergences?
Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
There are 4 main types of divergence, which are split into 2 categories;
regular divergences and hidden divergences. Regular divergences indicate possible trend reversals, and hidden divergences indicate possible trend continuation.
Regular bullish divergence: An indication of a potential trend reversal, from the current downtrend, to an uptrend.
Regular bearish divergence: An indication of a potential trend reversal, from the current uptrend, to a downtrend.
Hidden bullish divergence: An indication of a potential uptrend continuation.
Hidden bearish divergence: An indication of a potential downtrend continuation.
Setting alerts.
With this indicator you can set alerts to notify you when any/all of the above types of divergences occur, on any chart timeframe you choose.
Configurable pivot periods.
You can adjust the default pivot periods to suit your prefered trading style and timeframe. If you like to trade a shorter time frame, lowering the default lookback values will make the divergences drawn more sensitive to short term price action.
How do traders use divergences in their trading?
A divergence is considered a leading indicator in technical analysis , meaning it has the ability to indicate a potential price move in the short term future.
Hidden bullish and hidden bearish divergences, which indicate a potential continuation of the current trend are sometimes considered a good place for traders to begin, since trend continuation occurs more frequently than reversals, or trend changes.
When trading regular bullish divergences and regular bearish divergences, which are indications of a trend reversal, the probability of it doing so may increase when these occur at a strong support or resistance level . A common mistake new traders make is to get into a regular divergence trade too early, assuming it will immediately reverse, but these can continue to form for some time before the trend eventually changes, by using forms of support or resistance as an added confluence, such as when price reaches a moving average, the success rate when trading these patterns may increase.
Typically, traders will manually draw lines across the swing highs and swing lows of both the price chart and the oscillator to see whether they appear to present a divergence, this indicator will draw them for you, quickly and clearly, and can notify you when they occur.
Disclaimer : This script includes code from several stock indicators by Tradingview as well as the Divergence for Many Indicators v4 by LonesomeTheBlue. With special thanks.
Multiple RSI One Time FrameI was working on something else and decided to release this as a standalone script just in case you needed it. I just took the source for generic RSI indicators and combined them into one indicator to save space.
Multiple RSI5 rsi plots combined into one single indicator. I just took the source code for a generic RSI indicator and combined them into one indicator so that you wouldn't have to. I'm honestly not even sure this is necessary because they probably already exist out there but I was working on something else and figured I'd publish this part of it as a stand alone script in case somebody needs this.
Om RSI Best works in 15 min chart.
It will compare RSI of current candle with its weighted moving average, price strength, hourly and daily RSI.
TIGER ALERT RSI DIVThats our first RSI DIV indicator for free use.
What is an RSI divergence?
What Is the Relative Strength Index (RSI)?
The relative strength index (RSI) is a momentum indicator used in technical analysis.
RSI measures the speed and magnitude of a security's recent price changes to evaluate overvalued or undervalued conditions in the price of that security.
The RSI can do more than point to overbought and oversold securities. It can also indicate securities that may be primed for a trend reversal or corrective pullback in price. It can signal when to buy and sell. T
raditionally, an RSI reading of 70 or above indicates an overbought situation. A reading of 30 or below indicates an oversold condition.
Buy the dips - sell the topsThis script is a merge of the RSI and the Williams %R.
I've observed that in strong uptrends, we go from RSI overbought to RSI overbought, but it hardly gets oversold. (the same in the opposite direction)
To find a better entry point, Williams %R is used to find oversold conditions in an uptrend or overbought in a downtrend.
=> When W%R returns from oversold/overbought to normal, a triangle will be plotted and this is the point of entry to add to your position. (there's an option to mark all candles in the overbought/oversold region, by default it is off)
=> When RSI goes from overbought back to normal it will tell you to buy the dip. In a downtrend it will tell you to sell the tops.
=> When the RSI gets oversold and the previous RSI was overbought, it will mark to exit the position
I did backtest this one with a risk to reward of 2 and exit when target is reached.
Trading EUR/USD on the daily would return 28% after 10 years of trading with a success ratio of 43%.
Trading BTC/USD on the daily would lose 12% after 7 years and a success rate of 28%.
Trading it this way is not the best idea ;-) 2 Interesting observations however:
- Once you get the entry right, in 80% of the cases, you do reach the next RSI oversold/overbought level. Keeping your position open until you reach that level can be an option to maximize profits.
- When a triangle is plotted and it is the low compared to the previous more or less 5 candles (same for the high), chances are high it will be taken out a few candles later, so don't take a trade yet.
Using classic technical analysis might improve more your entry and exit positions.
Feel free to comment your best strategy using this indicator ;-)
Happy trading!
JSS:Relative Strength Index//Date: 5-Oct-22
//Author: Jatinder Sodhi
RSI Indicator with colour coding.
Blue - Long
Red - Short
Gray - Stay Out
Best used for Intraday on 5 minute charts. Works well on other timeframes as well.
@Inspired from Asit Baran's RankDelta-RSI Indicator.
Advanced RSIA more advanced RSI tool with RVI, and Coppock curve, but also includes a daily short volume range, allowing to see the real net daily volume and find out it stock is being shorted more than usual.
Purple line is the short intensity. When below 0, it means the short volume is higher than usual (average of past 30 days)
Blue line is the RSI.
RVI is the cross line. Best practice for RVI is to sell/short when below -10 and buy/cover when above 10. I would use it with short intensity and RSI to be sure.
The red and green area is the Coppock curve. RSI and RVI might not be able to indicate long term trends, so use this to confirm your bias. The curve is bullish when above 0 and bearish when below 0. Be careful when trying to buy or sell it early when Coppock curve is falling. If it is falling and pops back up without reaching 0, it is typically indicate of a big price movement in that direction.
RSI Shadow by TartigradiaHave you ever wondered how much the RSI can vary during an open session? How much wicks can make the RSI overshoots before it retraces for the close?
This indicator plots the RSI shadow, which is the area between the highest and lowest RSI values attained during each open session, from the high/low wick price candle (ie, not the open value).
Technically, we calculate the RSI as usual for all past bars, except for current bar for which we use the high and low values to calculate the RSI Shadow bounds. The invisible PineScript loop then repeats this process for each bar.
In practice, the RSI Shadow provides 2 different informations:
1. This allows to visually represent the variability that historically happened for each bar, which help in better understanding the context at the time and may help predict future similar patterns.
2. The closer the RSI is to one bound, high or low, the more bullish or bearish respectively the price action is. Intuitively, when RSI is close to the high shadow bound, it means that price action is so bullish it often closes in proximity to the highest value attained during the open session, hence very bullish sentiment. And inversely for low and bearish sentiment. To ease visualization of these sentiments, a background highlighting is provided.
The indicator works under all timeframes, but it appears to provide a very reliable information with longer timeframe. The background highlighting showing the bullish/bearish sentiment based on the RSI Shadow appears to indicate crypto market cycles relatively reliably, with 2-3 consecutive bars with the same background color indicating a strong trend.
False positives can be reduced by looking at both the background color and the RSI direction, if both are congruent (ie, both bullish), then the trend indication is good, otherwise the trend indicated by the background color should be disregarded. An option was added to uncolor background if incongruent with RSI's direction.
There is also a "shadow margin" setting that allows to further reduce the number of false positives, at the expense of reduced sensitivity (a margin of 3 seems to eliminate most false positives).
Note: if you need a more complete RSI indicator with overbought/oversold signals, check out RSI+ (alt), which includes all RSI related indicators I make (such as RSI Shadow):
RSI Reborn [New Formula]A unique non-standard RSI formula with my extensions.
The indicator is displayed without delays and repaints, immediately after the close of the candle.
This formula allows me to correctly include the moving average in the calculation. The calculation allows me to display RSI with any type of MA.
By default I use EMA, with this type of MA my RSI is not visually different from a regular RSI.
I have 11 types of RSI to choose from:
'EMA'
'ALMA'
'RMF'
'TilsonT3'
'ARSI'
'RMA'
'SMA'
'VWMA'
'WMA'
'WWMA'
'ZEMA'
You also have a choice of RSI display:
As candlesticks and as a simple line.
You can adjust the colors in the Style tab.
When you select 'Candles' type, you can make the wicks transparent if they bother you.
I also added a source selection. By default, any RSI uses the Close source.
But you can choose any of 15:
VWAP, Close, Open, HL2, HLC3, OHLC4, Volume, High, Low, vwap(Close), vwap(Open), vwap(High), vwap(Low), AVG(vwap(H,L)), AVG(vwap(O,C)).
Additional extensions:
Additional RSI added.
By default, the extra RSI is twice as long as the regular RSI. Despite the value of 14. The "Multiple of Current TF" function allows calling RSI from a timeframe twice as long as the current one, if it is equal to 2. If it is equal to 3, then it will be 3 times longer than the current timeframe. And so on.
An additional moving average has been added.
You can use it as an ordinary additional line. Or leave it as Cloud by default.
A unique oversold/oversold formula in the form of small red/green dots has been added.
Bolinger Bands feature has also been added.
CFH | RSI-SRSI tableShows RSI and SRSI values on multiple timeframes, highlights oversold and overbought
Timeframes and colors are customizable
/V1llager/
DoubleRSI fast/slow signal buy/sell with alert Relative StrengthA combination of two Relative strength index. One fast and one slow line. In a system, this indicator can serve as an additional confirmation.
For example, for a long entry:
slow RSI cross above 50 level and fast RSI cross above 70 level. then check volume and use another indicator such as a MACD for extra confirmation
For example, for a short entry:
slow RSI cross below 50 and fast RSI cross below 30 level. then check volume and use another indicator such as a MACD for confirmation
An alarm function has also been added.
the following settings are possible:
- Source
- Length
- Color
I do not recommend to use this indicator alone.
have fun using this simple and helpful tool.
Cutlers RSICutlers' RSI is a variation of the original RSI Developed by Welles Wilder.
This variation uses a simple moving average instead of an exponetial.
Since a simple moving average is used by this variation, a longer length tends to give better results compared to a shorter length.
CALCULATION
Step1: Calculating the Gains and Losses within the chosen period.
Step2: Calculating the simple moving averages of gains and losses.
Step3: Calculating Cutler’s Relative Strength (RS). Calculated using the following:
-> Cutler’s RS = SMA(gains,length) / SMA(losses,length)
Step 4: Calculating the Cutler’s Relative Strength Index (RSI). Calculated used the following:
-> RSI = 100 —
I have added some signals and filtering options with moving averages:
Trend OB/OS: Uptrend after above Overbought Level. Downtrend after below Oversold Level.
OB/OS: When above Overbought, or below oversold
50-Cross: Above 50 line is uptrend, below is downtrend
Direction: Moving up or down
RSI vs MA: RSI above MA is an uptrend, RSI below MA is a downtrend
The signals I added are just some potential ideas, always backtest your own strategies.
Harris RSIThis is a variation of Wilder's RSI that was altered by Michael Harris.
CALCULATION
The average change of each of the length's source value is compared to the more recent source value.
The average difference of both positive or negative changes is found.
The range of 100 is divided by the divided result of the average incremented and decremented ratio plus one.
This result of the above is subracted from the range value of 100
I have added some signals and filtering options with moving averages:
Trend OB/OS: Uptrend after above Overbought Level. Downtrend after below Oversold Level (For the traditional RSI OB=60 and OS=40 is used)
OB/OS: When above Overbought, or below oversold
50-Cross: Above 50 line is uptrend, below is downtrend
Direction: Moving up or down
RSI vs MA: RSI above MA is an uptrend, RSI below MA is a downtrend
The signals I added are just some potential ideas, always backtest your own strategies.
RSI Highs and LowsENG
RSI is usually used with closes but sometimes traders need to find out exact lows and highs while trading, therefore this script is written.
Green plot is the RSI value according to highs and red plot is the RSI value according to lows.
TR
RSI genellikle mum kapanışlarına göre kullanılıyor ama bazen alım satım yaparken en dip ve en tepeleri yakalamak istersek kapanışlara değil de bu en yüksek ve en düşük mum değerlerine ihtiyacımız oluyor. Bu nedenle bu kod yazılmıştır.
Yeşil grafik - en yükseklere göre
Kırmızı grafik - en düşüklere göre