LebahFX AccDist_CandlesLebahFX Indicator that showing Accumulation and Distribution Signal in HTF Candlestick
Buy
Super Volume (Süper Hacim)English
Volume data provided by TradingView consists of the collection of buy and sell amounts 1000 sold 1500 received data from US 2500 authors, buy or sell amounts are not specified. I have spent a lot of effort to distinguish between the purchase and sale amounts there are friends who do similar work in the public library, but they have developed a form that does not work correctly with the ratio of the candle body to the length of the rod: when we examine a small bar that is the size of the candle and the size of the rod, we can immediately see the error. The opening of the candle is zero zone sliding to the side, which is strong, similar to a rope pulling competition, the fact that the candle is small means that the buying and selling volumes are close to each other and do not seriously shift the price in any direction. Looking at the method found by friends, it seems that there are large differences between the volumes, so the chosen method is wrong Dec.
I've managed to create a useful formula by including price movements. In this way, we can also see the actual buying and selling volumes in the chart. Although the actual purchase and sale volumes calculated by the Add-On are very close to the actual values, they are approximate. There may be negligible differences.
I also added the average volume levels feature in my previous volume plugin, so you can easily separate volume, volume, and normal volume operations. With the alarm that you will install in the add-on, you can get an alarm notification when volume purchases start sales. Keep in mind that the plugin will only give notification to the investment tool installed on the alarm.
conclusion : separating the buying and selling volumes provides useful information that can be used to solve investors ' overall market expectations. By examining the old charts, you can find examples that show similar situations, and I was able to include an example on the chart.
Türkçe
Tradingview'in verdiği hacim verisi alış ve satış miktarlarının toplanması ile oluşur 1000 satılmış 1500 alınmış bize gelen veride ise 2500 yazar, alış yada satış miktarları belirtilmez . Alış ve satış miktarlarını birbirinden ayırabilmek için çok çaba harcadım halka açık kütüphanede benzer çalışmalar yapan arkadaşlar var ancak mum gövdesinin çubuk boyuna oranlanmasıyla doğru çalışmayan bir formu geliştirmişler: mum boyu ve çubuk boyu küçük bir barı incelediğimizde hatayı hemen görebiliyoruz. Mum açılısı sıfır bölgesidir halat çekme yarışmasına benzer güçlü olan tarafa doğru kayar mumun küçük olması gelen alış ve satış hacimlerinin birbirine yakın olduğunu ve fiyatı herhangi bir yöne doğru ciddi şekilde kaydıramadığı anlamına gelir. Arkadaşların bulduğu yönteme baktığımızda hacimler arasında büyük farklar olduğu görülüyor bu nedenle seçilen yöntem yanlıştır.
Fiyat hareketlerini de işin içine katarak işe yarar bir formül oluşturmayı başardım. Böylece gerçek alış ve satış hacimlerini de grafikte görebiliyoruz . Eklentinin hesapladığı gerçek alış ve satış hacimleri gerçek değerlere çok yakın olsa da yaklaşık değerlerdir. İhmal edilebilir farklar olabilir.
Bir önceki hacim eklentimde bulunan ortalama hacim seviyeleri özelliğini de ekledim böylece hacimli, hacimsiz ve normal hacimli işlemleri rahatlıkla ayırabilirsiniz. Eklentiye kuracağınız alarm ile hacimli alış satışlar başladığında alarm ile bildirim alabilirsiniz. Unutmayın eklenti sadece alarm kurulan yatırım aracı için bildirim verecektir.
Sonuç : Alış ve Satış hacimlerini birbirinden ayırmak yatırımcıların genel piyasa beklentilerini çözmek için kullanılabilecek kullanışlı bir bilgi sağlamaktadır. Eski grafikleri inceleyerek benzer durumları gösteren örnekler bulabilirsiniz grafik üzerinde bir örneğe yer verebildim.
Day of Week Custom Buy/Sell StrategyThis strategy was made for bitcoin and allows you to back test longing or shorting for various days of the week. The price may tend to go in one direction or another for each week day, and this strategy allows you to test days across a range of dates to capitalize on this.
Make sure you are on the daily time frame while viewing the performance and trade history to ensure the script works as intended and you have the most historical data as possible from Trading View.
Custom Date Buy/Sell StrategyThis strategy allows you to back test longing or shorting during a period of time between two dates.
Make sure you are in the daily time frame while viewing the performance and trade history to ensure you have the most historical data as possible from Trading View.
Finally, due to the way Trading View enters trades at the end of a candle, you must subtract one day from your starting and your end dates.
Scalp ProScalp Pro is a scalping tool that uses the MACD mechanism. MACD lines are smoothed using fibonacci numbers and pi numbers. In this way, the noise on the signal is reduced. A " BUY " signal is generated when the lines cross upwards. If the lines cross down, a " SELL " signal is generated. The logic is very simple and the Indicator is very useful.
I wish you many profitable trades.
[astropark] Moon Phases [strategy]Dear Followers,
today I'm glad to present you an indicator which calculates Moon Phases and let's you backtest the simplest strategy over it: buy/sell on full moon and do the opposite on new moon.
This is a public free indicator based on the public one by @paaax:
I added my usual backtesting logic, plus some more customization inputs for easy coloring.
The lower the timeframe you backtest on, the more backtesting data are effective.
Enjoy!
-- astropark
PriceCatch Australia ASX Breakout Stocks Screener FHi,
TradingView community and Australia (ASX) traders. Warm Greetings.
PriceCatch Australia (ASX) Breakout Stocks Screener
I am sharing a script that screens Australia (ASX) stocks for Probable Breakout Buy signal and Stop-Reverse Buy Signal. This script may prove to be useful to traders who trade Australia (ASX) listed stocks.
I have already shared the script "PriceCatch Signals Buy Signals" that marks the following levels on the chart.
Probable Breakout Buy Level
Stop-Reverse Buy Level
While the script "PriceCatch Signals Buy Signals" can be used independently, this script is intended to be used with the script "PriceCatch Signals Buy Signals".
Used together, these two scripts may help you identify probable breakout opportunities. This Screener will help you screen stocks that have broken out of any of the Breakout levels marked by the "PriceCatch Signals Buy Signals" script. This way you can quickly and automatically identify breakout stocks without manually going through every stock in your watchlist searching for breakout signals.
Please read the Notes of the script "PriceCatch Signals Buy Signals" for explanation of its functionality.
STOCKS SET
This Free screener scans a list of 20 stocks. The full version scans a list of 80 stocks. Care has been taken to include liquid stocks and stocks of AUD $10 and above only, to avoid penny stocks.
Chart resolution vs. Script resolution
It is suggested to set the chart resolution to a lower time-frame than the Screener resolution. For example, if the screener resolution is set to 1 Hour time-frame, set the chart resolution to less than 1 Hour time-frame and run the Screener.
CHART
The Screener runs independently and you may have any other ASX chart on your screen.
NOTE - PRIOR TO USING THIS SCRIPT:
Please remember that the script is shared with absolutely no assurances about usability and any warranties whatsoever and as a responsible trader, please satisfy yourselves thoroughly and use it only if you are satisfied it works for you. Remember, you are 100% responsible for your actions. If you understand and accept that, you may use the script.
QUERIES/FEEDBACK
Please PM me or comment.
Regards to all and wish everyone all the best with trading.
WOTS Forex IndicatorThe WOTS Forex Indicator gives you a true picture of the market entry points, after a scan it performs every period (after every candlestick closes) . It is pretty straightforward in its use with clear visual representation of the entry and exit points provided by the indicator.
This allows you to make improved entry and exit points either you're going long or short on any Forex pair you like, and accommodates many trading styles, systems, and strategies.
It will work along most TradingView indicators and the timeframes we recommend you using it are the 30M, 1H and sometimes the 4H chart.
The specific components of the indicator are:
Methodology:
The indicator uses a MACD oscillator to determine the local trend direction and to give buy & sell signals when its conditions are met.
An optional build-in indicator, exponential moving average cross (EMA cross), can be used to filter out 'false' signals.
The calculation of the entry points are drawn from universal prices that fit every pair in the Forex market you may choose.
Persistent variables are used for buy and sell prices, enabling color-coding of the signals (profitable or not).
Features:
Color coded labels - Buy & Sell
Four types of entries - Bull Buy = orange, Scalp Buy = green & Bear Sell = purple, Scalp Sell = red
Universal prices fitting all Forex pairs
Four Buy and Sell signal alerts
Remarks:
In our experience and recommendation, the values used work best on the 30-minute & 1-Hour timeframes. We encourage everyone to experiment the best results we had, were on this specific timeframe, higher or even lower.
Using the indicator on non-standard charts (Heikin Ashi, Renko etc.) can produce unrealistic results.
- Thanks to John Aslanis and Alexandros Temelkou the idealists and creators of this indicator.
Use the link below to watch a tutorial video, request a trial, or purchase for access
MTF Technical Ratings [Anan]█ OVERVIEW
This indicator is a modified version of "Technical Ratings" v5.0 available in the public library to provide a quick overview of Technical Ratings in 6 optional timeframes.
█ FEATURES
- Multi-timeframe Table.
- Display Technical Ratings for "MAs" with a percentage.
- Display Technical Ratings for "Oscillators" with a percentage.
- Display Technical Ratings for "All" with a percentage.
- Full control of displaying any row(MAs / Oscillators / All) or any column(Multi-timeframe)
- Full control of Table position and size.
- Full control of displaying any row or column.
ORIGINAL DESCRIPTION ABOUT TECHNICAL RATING v1.0
█ OVERVIEW
This indicator calculates TradingView's well-known "Strong Buy", "Buy", "Neutral", "Sell" or "Strong Sell" states using the aggregate biases of 26 different technical indicators.
█ CALCULATIONS
The indicator calculates the aggregate value of two groups of indicators: moving averages and oscillators.
The "MAs" group is comprised of 15 different components:
• Six Simple Moving Averages of periods 10, 20, 30, 50, 100 and 200
• Six Exponential Moving Averages of the same periods
• A Hull Moving Average of period 9
• A Volume-weighed Moving Average of period 20
• Ichimoku
The "Oscillators" group includes 11 components:
• RSI
• Stochastic
• CCI
• ADX
• Awesome Oscillator
• Momentum
• MACD
• Stochastic RSI
• Wiliams %R
• Bull Bear Power
• Ultimate Oscillator
The state of each group's components is evaluated to a +1/0/-1 value corresponding to its bull/neutral/bear bias. The resulting value for each of the two groups are then averaged to produce the overall value for the indicator, which oscillates between +1 and -1. The complete conditions used in the calculations are documented in the Help Center.
Trend From Volume And Price (TFVAP)Indicator that indicates buying and selling times based on price and volume and who is imposed of the two (VAP).
It uses the trends of the Dow theory (primary: 365 days/1 year, secondary: 90 days/3 months and tertiary: 21 days/3 weeks) and the identification of Elliot waves, both impulse and correction, based on the Fibonacci retracements (23.61% , 38.2%, etc.).
- Purple line is the evolution in percentage of the price in the primary trend
- Blue line is the evolution in percentage of the volume in the primary trend
- White line is the evolution in percentage of the (volume % - price %) in the primary trend, if white line > 0
- Green triangleup is time of start to buy
- Green square is time of stop to buy
- Red triangledown is time of sell
To understand it better:
If the purple line goes up it indicates that the price is rising, if it goes down, that the price is down.
If the blue line is greater than 0 it indicates that there are more purchases than sales, if the blue line is less than 0 it indicates that there are more sales than purchases.
If the white line is greater than 0 there is a high volume of purchases or low sales for the price that there is, it is likely that the price will rise.
If the white line is less than 0 there is a low volume of purchases or high sales for the price that there is, it is likely that the price will go down.
PD: Ignore the chart drawings, the indicator script is only represented at the bottom
[astropark] Trend Is Your Friend SERIES [alarms]Dear Followers,
today I'm glad to present you an indicator which is a mix of three indicators of mine: Trend Is Your Friend Series !
As you may easily understand from the name, this indicator incorporates all 3 Trend is You Friend indicators I made in past.
This way you can control all of them just with one indicator.
Of course this comes with some useful integration features:
a bull green triangle appears when all trends are bullish (you can set an alert for this)
a bear purple triangle appears when all trends are bearish (you can set an alert for this)
bar coloring reflects the bullish/bearish integration too
you have an option to enable/disable all trends buy/sell signals
you have an option to hide trend clouds borders (chart will be way cleaner this way)
you can still customize each trend indicator settings and set alerts on each trend individually
you can enable/disable heikin ashi analysis
As per Trend is Your Friend V1/V2/V3, this indicator is for higher timeframe trading, from 4h and above is suggested.
This indicator is pretty good for both Swing and Scalping , you can run it over a bot or use it on Renko chart!
If you are a scalper, you will love suggested entries for fast profit. You can run it on 1h timeframe in this case (below is not suggested, there is "no-trend" below 1h!). If you are used to scalp trading, be sure to close each trade whenever you feel happy (a proper trailing stop strategy is suggested for example).
As I always say, all tools are great if you use them correctly: this is not the "Holy Grail", so always use proper money and risk management strategies.
For your reference, here you can see original basic indicators that were integrated here:
V1 backtesting strategy
V2 backtesting strategy
V3 backtesting strategy
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] Rolling VWAP V2 [alarms]Dear Followers,
today I'm glad to present you yet another awesome Analysis Tool and Strategy, that you may like to use in your trading journey: Rolling VWAP V2 !
This is an upgraded version of my "Progressive VWAP" analysis tool (progressive and rolling are synonymous for me), its description describes quite well what a progressive/rolling vwap is and why they are important to watch:
This indicator can print automatically for you many important Rolling VWAPs:
Daily (D)
2 days (2D)
3 days (3D)
4 days (5D)
Weekly (W)
2 weeks (2W)
Monthly (M)
Quarterly (Q)
Yearly (Y)
As an indicator it will let you:
enable/disable each rolling vwap, change its color and line style and thickness
enable/disable labels and/or price on labels, as well as change their size
As a strategy it will let you:
enable/disable buy/sell signals
choose which strategy to use (all based on rolling vwaps of course)
choose a starting date & time from which to start backtesting
enable/disable individually long and short setups in the backtesting
You should choose low timeframe rolling vwap strategy if you are on a low timeframe, while higher timeframe rolling vwaps are good on medium-high timeframes.
For example D-2D-3D rolling vwap strategies are good at 1h or below, the others on higher timeframes. Backtesting results will help you in understanting this point quite easily.
This indicator works on every timeframe, market and pair. By the way it must be said that, as a bot strategy it has been tested and designed mostly for Bitcoin trading and it works best on 1h or above.
As I always say, all tools are great if you use them correctly: this is not the "Holy Grail", so always use proper money and risk management strategies.
This indicator is the alarms version of the backtesting one you can see here below:
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] Rolling VWAP V2 [strategy]Dear Followers,
today I'm glad to present you yet another awesome Analysis Tool and Strategy, that you may like to use in your trading journey: Rolling VWAP V2 !
This is an upgraded version of my "Progressive VWAP" analysis tool (progressive and rolling are synonymous for me), its description describes quite well what a progressive/rolling vwap is and why they are important to watch:
This indicator can print automatically for you many important Rolling VWAPs:
Daily (D)
2 days (2D)
3 days (3D)
4 days (5D)
Weekly (W)
2 weeks (2W)
Monthly (M)
Quarterly (Q)
Yearly (Y)
As an indicator it will let you:
enable/disable each rolling vwap, change its color and line style and thickness
enable/disable labels and/or price on labels, as well as change their size
As a strategy it will let you:
enable/disable buy/sell signals
choose which strategy to use (all based on rolling vwaps of course)
choose a starting date & time from which to start backtesting
enable/disable individually long and short setups in the backtesting
You should choose low timeframe rolling vwap strategy if you are on a low timeframe, while higher timeframe rolling vwaps are good on medium-high timeframes.
For example D-2D-3D rolling vwap strategies are good at 1h or below, the others on higher timeframes. Backtesting results will help you in understanting this point quite easily.
This indicator works on every timeframe, market and pair. By the way it must be said that, as a bot strategy it has been tested and designed mostly for Bitcoin trading and it works best on 1h or above.
As I always say, all tools are great if you use them correctly: this is not the "Holy Grail", so always use proper money and risk management strategies.
This is a premium indicator , so send me a private message in order to get access to this script.
Crypto Advanced Trading IndicatorThe Crypto Indicator gives you a true picture of the market entry points, after a scan it does every period (after every candlestick closes) . It is pretty straightforward in its use with clear visual representation of the entry and exit points provided by the indicator.
This allows you to make improved entry and exit points and accommodates many trading styles, systems, and strategies.
It will work along most TradingView indicators and the timeframes we recommend you using it in are the 1H and sometimes the 4H chart.
The specific components of the indicator are:
Methodology:
The indicator uses a MACD oscillator to determine the local trend direction and to give buy & exit signals when its conditions are met.
An optional TradingView indicator, exponential moving average cross (EMA cross), can be used to filter out 'false' signals.
The calculation of the entry points are drawn from specific different prices for every one of the coins hardcoded in the script, and the filter function in the indicator settings, allows the user to change those prices based on the coin he is currently watching, based on the specific coin it is chosen in the filter.
Persistent variables are used for buy and exit prices, enabling color-coding of the signals (profitable or not).
Features:
Color coded labels - Buy, Exit = purple
Two types of entries - Bull Buy = green, Bear Buy = orange
Coin filter
Buy signal alerts
Remarks:
In our experience and therefore recommendation, the values used for each crypto coin work best on the 1-Hour timeframe. We encourage everyone to experiment, but the best results we had, were on this specific timeframe or higher.
Using the indicator on non-standard charts (Heikin Ashi, Renko etc.) can produce unrealistic results.
- Thanks to John Aslanis and Alexandros Temelkou the idealists and creators of this indicator.
Use the link below to watch a tutorial video, request a trial, or purchase for access:
CM_Twiggs Money FlowFull Credit goes to LazyBear for publishing Original Code.
I added:
Threshold lines that changes the color of Histogram based on if it exceeds Threshold lines. Ability to turn off and on.
Ability to Turn Histogram Off/On
Ability to turn Twiggs Money Flow Line Off/On
Super Rev StrategyThis is a strategy version of the super Rev Study, its a buy sell indicator that uses a combination of 3 super trend lines , EMA , Williams %R, the squeeze momentum indicator and the MK oscillator
The super trend lines and ema are utilised to locate the trend.
The williams %R has been incorporated to determine overbought/oversold conditions.
The MK oscillator is used to filter out trades
The buy and sell flags are generated based on the following conditions:
The location of the price in relation to the super trend lines
if the price is above or below the EMA .
If the Williams %R is oversold/overbought
Mk oscillator over or under
The squeeze momentum indicator can be added as a filter to only allows trade in certain conditions i.e bullish and above the 0 line or avoid trades if bearish and above the 0 line for example.
All the indicators involved can be customised to created a unique indicator
we strongly recommend testing this strategy in bar replay mode to highlight repaint conditions, increasing the candle confirmation on the Mk oscillator settings can be used to minimise these situations
The strategy results in the image, have used the following inputs to generate the results
Starting equity - 10,000
% of equity - 10%
Commission - 0.0075
Slippage - 10 pips
Created by manomanomano, Developed by @badshah_e_alam
No-lose trading targets (based on RSI) By Mustafa ÖZVERThis code shows expected reaction target prices after sudden moving based on RSI. Red area means the price is on overbought area, green area means the price is on oversold area. If you see red area under price, you can make short option to next to the horizontal beginning price of red area. If you see green area over price, you can make long option to next to the horizontal beginning price of green area.
When this code works
- The green area starts where rsi value is on oversold
- The red area starts where rsi value is on overbought
Of course, this code may be failed, do not forget the target may never come. But hopefully price will cross over the target.
And you (as developers) can develop this code by using anything instead of rsi to get up-down target prices.
But only this values can not guarantee good results for trading. BE CAREFUL
Buy Sell Indicator by Independent ResearcherThis is an Buy and Sell Oscillator. Its show the trend reversal or change in price action of the market. This indicator is a combination of various moving averages. This is like a MACD but a very powerful version.
How To Use It
If green line gives crossover white line towards down then price is expected to fall.
If red line gives crossover white line towards up then price is expected to rise.
For better results of indicator trade after closing of crossover candle.
There is a band +.20 to -.20 for better results trade on crossover happens between that band.
Below you will see an example:-
XAUUSD
EURUSD
Moving Average Buy/Sell IndicatorUsing a selected Exponential Moving Average (EMA)/Simple Moving Average (SMA) range, this indicator inserts a Long/Short (buy/sell) indicator overlaid on chart depending on the following conditions:
- LONG/BUY SIGNAL = if SMA value is less than EMA, and both the SMA and EMA are less than the current average price.
- SHORT/SELL SIGNAL = if SMA value is greater than EMA, and both the SMA and EMA are greater than the current average price.
**Intended for use with the 21 and 34 weekly moving average time range. Much more useful for long-term analysis rather than short-term analysis.**
AIOC Indicator [Armand Snyman] V7All In One Chart Indicator V7
The All In One Chart Indicator (AIOC) consists of the following:
-BB is a Big Buy signal which means the price is going to go up really fast. The BB is there to alert you if the price goes up a lot and that it is going to happen fast.
-BS is a Big Sell signal which means the price is going to go down really fast. The BS is there to alert you if the price goes down a lot and that it is going to happen fast.
-Buy
-Sell
-Pump zones is the blue background color.
-Dump zones is the purple background color.
HOW TO USE THIS INDICATOR!
It is very simple to use this indicator. If a buy signal comes through you long or enter the market and if a sell signal comes through you short or exit the market.
If a Big buy signal comes through you long or enter the market and if a Big sell signal comes through you short or exit the market.
If a pump zone (the blue highlighted color on the background) comes in, then it is safe to enter the market or to enter a long position.
If a dump zone (the purple highlighted color on the background) comes in, then it is safe to exit the market or to enter a short position.
HOW THE BUY, SELL, PUMP AND DUMP SIGNALS ARE CALCULATED!
Using a combination of moving averages and the rsi and the macd.
SuperTrend Oscillator [LuxAlgo]This oscillator is made of three components, all derived from the SuperTrend indicator. This approach allows the user to easily determine overbought/sold zones, identify whether a retracement is present or if the price is ranging or trending. It also allows for the anticipation of the potential price cross with the SuperTrend.
We provide additional information including whether a signal returned by the SuperTrend was false, as well as the percentage of false signals.
Settings
Length: Period of the "average true range" used in the calculation of the SuperTrend
Mult: Multiplicative factor for the "average true range"
Smooth: Determines the degree of smoothing of the histogram
Misc:
Fixed Transparency: Use a fixed transparency for the main oscillator
Show Lines: Show the lines displayed by the indicator
Show Labels: Show the labels displayed by the indicator
Usage
The indicator is in a range of (-100,100) with values closer to 100/-100 indicating a stronger trend. The main oscillator value above 0 indicates that the price is above the SuperTrend.
It is possible to identify when a retracement is present in a trend. This is often indicated by an oscillator value moving within 50/-50.
Each overbought/oversold level can be used to determine potential exit points.
The indicator also includes two additional oscillators derived from the main oscillator. A smoothed version of the main oscillator (Signal), and a smoothed version of the difference between the Main and Signal oscillators (Histogram), thus making the oscillator part of the indicator more similar to MACD.
One can use the histogram to anticipate when the price might cross the SuperTrend by comparing the sign between the main and histogram. Potential false signals can also be filtered with this method.
Certain crosses between the price and SuperTrend can be filtered out when the histogram and main oscillator have a different sign (here main = 1, histogram = -1).
We include various indications in order to analyze the signals returned by the SuperTrend. The indicator displays symbols indicating whether a signal was false or not.
A cross symbol will be displayed at the top of the displayed lines when the previous Buy signal was false, else a checkmark is displayed. Symbols displayed at the bottom of the lines are referring to sell signals. We also provide a percentage of false signals, calculated over the entire chart history.
Details
The scaling method used is similar to max-min normalization. We first compute the difference between the price and SuperTrend and divide the result by the difference between the upper and lower extremity used to compute the SuperTrend. Values higher than (1,-1) can occur when price crosses the SuperTrend and as such we use the max and min functions to attenuate these.
The filter used to compute the signal line is based on exponential averaging and is fully adaptive. The smoothing factor used for its computation is the squared value of the main oscillator, divided by length . Since higher values of the oscillator are associated with trending markets, the filter will be closer to the main oscillator when the market is ranging.
Peak Profit v2 (Reversal Points & High/Low Waveform)This script includes two different methods of indication.
It includes a High/Low Waveform . It is a technical indicator that is best performed when using a trailing stop, it also works well as a trend line.
Trade with caution however the general idea is to buy when line turns green, and sell when the line turns red.
This can be disabled by clicking the checkmark in the visual settings of the script.
Second Feature is an indicator for Reversal points . These show a price to "enter long" and "take profit"
This part of the script looks for a series of consecutive closes greater than or less four closing price bars to define an underlying uptrend or downtrend.
In general, minor price reversals are associated with the completion of the trend and major market turning points are identified by the completion of a trend of a specific series of bar openings/closes.
As always, this script should not be relied upon alone for your sole indication of buying and selling. Use your own intuition and other indicators along with this one for the best results.