USDT Inflow TrackerUSDT INFLOW TRACKER
What does this script do? It looks for important inflow from USDT and write it below or above your chart.
Does it matter? Yes because Tether with planned USDT inflow highly manipulate the crypto market.
With this simple script you can study what and when something strange is going to happen on your favourite token.
HOW IT WORKS?
Pretty simple. It just continuosly check USDT (and USDC) Market Cap and verify if the last candle is way higher than last one. If it was way higher than expected it plot a green square and write a note with the total Inflow of USDT in the crypto market (not specifcially for your token)
Now you can see when an important inflow is done and start to plan your entry and exit strategy in the crypto market.
AUTOSET
With Autoset you can rely on standard values
5min TF : Inflow greater than of 15 mln (in 1 candle)
30min TF : Inflow greater than of 150 mln (in 1 candle)
60min TF : Inflow greater than of 300 mln (in 1 candle)
1Day TF : Inflow greater than of 900 mln (in 1 candle)
So you can check your favourite coin in no time looking for a good trading position
MANUAL SETTINGS
Otherwise you can set directly your Inflow to track based on your needs.
In the example below I've set to check everytime an Inflow of 25mln USDT or greater was done.
As you can see it highly influence the relative token.
ניתוח נרות
Height of Candle BodyUnderstanding the Height of Candlestick Body
Candlestick charts are a popular method of displaying price data in financial markets. They provide a visual representation of price movements and are used by traders to make informed decisions about buying and selling assets. Understanding the height of a candlestick body is an important aspect of technical analysis and can help traders identify trends and make profitable trades.
The height of a candlestick body is the distance between the opening and closing price of an asset over a given time period. When the closing price is higher than the opening price, the candlestick body is typically colored green or white and is considered bullish. Conversely, when the closing price is lower than the opening price, the candlestick body is typically colored red or black and is considered bearish.
The height of the candlestick body is important because it can provide valuable information about market sentiment. If the candlestick body is relatively small, it suggests that there is indecision in the market and that buyers and sellers are evenly matched. Conversely, if the candlestick body is relatively large, it suggests that there is a significant amount of buying or selling pressure in the market.
Breaking Bar [5ema]I reused some functions, made by (i believe that):
@LeviathanCapital: Market Sessions.
-----
How to use?
More suitable for Scalping
1. Plan A: Break out the highest bar
Find the bar with the largest range (high – low) and high volume of the previous N bars.
When the price close breaks down to highest bar, give a SELL signal.
When the price close breaks up the highest, give a BUY signal.
2. Plan B: Break out the bar opened market
The price close breaks through the open bar, give a Buy and Sell signal.
Market sessions: Tokyo, London, Sydney, New York.
-----
How to set up?
Choose the plan.
Lookback bar to find highest bar.
Right bar: What position of signal will appear from the open market bar (or high bar).
Number break: The maximum bars have price close breaked before giving signal.
Session time: The open and close of market.
-----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Refracted EMA for trendThis script is an evolution of "Refracted EMA" by fract, that you can find here:
The differences are in the design and intended uses of its early and pretty reliable signals.
This is a trend indicator, with signals and alerts, usable on any timeframe.
Note: 3 color themes are included: Light, dark, and my personal dark one. Feel free to change them in the code, and to remove the ones you don't need.
HOW TO USE IT?
When it gives a signal (arrow), a horizontal line starts, and expands until there's a signal in the opposite direction.
As long as the price moves away from this line, then the move should logically be profitable
If the price ranges, or turns back in direction of the line, then it might be time to reconsider.
The background colors offer a complement of information:
- When the price moves away from the line, the bgcolor is normal.
- When there has been 2 candles in the opposite direction, then the bgcolor turns a little darker. It might be an early sign of range or reversal.
- When the current price breaks through the signal's closing price, the bgcolor turns gray or black (depending on the theme and colors you chose), signaling a significative divergence with the signal, and a possible reversal. It is common though, for the first candle after the signal to go in the opposite direction. It might be a good idea to wait at least 2 candles after the signal.
You can switch the alerts on, by right clicking the chart and clicking "add alert". Alerts happen only after the close of the candle. They display the timeframe they were added on.
TRICKS
- If up and down arrows alternate quickly, then the market is undecided, and it might not be a good idea to trade. Or maybe on other timeframes.
- Trading against the indicator's direction is probably not a good idea, unless there is a very VERY good reason for this (like buying the dip of an up trend, for ex).
- Looking at different timeframes quickly reveals the bigger picture of the price movements. For ex, if the 4h, 1h, 30 min are bullish, but the 5 min bearish, then there might be a long opportunity. But if the 5 min is bearish, and the 10 min turns bearish, and the 30 min turns bearish too, then there might be a reversal on its way.
- The line can be used as a reference to decide where to place your stop loss. It is rare that the price crosses this line, but it can absolutely happen. So use this idea with caution, manage and protect your positions wisely.
- You can, and probably should, use the alerts on different timeframes at the same time, to constantly update your understanding of the trend.
DO NOT BASE YOUR TRADING DECISIONS ON 1 SINGLE INDICATOR'S SIGNALS.
Always confirm your ideas by other means, like price action and indicators of a different nature.
Rangemeter [theEccentricTrader]█ OVERVIEW
This indicator simply displays candle and peak to trough ranges in points or pips, depending on the symbol type, in a table, which can be repositioned and resized at the user's discretion.
█ CONCEPTS
Green and Red Candles
• A green candle is one that closes with a close price equal to or above the price it opened.
• A red candle is one that closes with a close price that is lower than the price it opened.
Open Green and Red Candles
• An open green candle is one that has a close price equal to or above the price it opened, but has not yet closed to confirm the condition.
• An open red candle is one that has a close price lower than the price it opened, but has not yet closed to confirm the condition.
Swing Highs and Swing Lows
• A swing high is a green candle or series of consecutive green candles followed by a single red candle to complete the swing and form the peak.
• A swing low is a red candle or series of consecutive red candles followed by a single green candle to complete the swing and form the trough.
Peak and Trough Prices (Basic)
• The peak price of a complete swing high is the high price of either the red candle that completes the swing high or the high price of the preceding green candle, depending on which is higher.
• The trough price of a complete swing low is the low price of either the green candle that completes the swing low or the low price of the preceding red candle, depending on which is lower.
Historic Peaks and Troughs
The current, or most recent, peak and trough occurrences are referred to as occurrence zero. Previous peak and trough occurrences are referred to as historic and ordered numerically from right to left, with the most recent historic peak and trough occurrences being occurrence one.
Range
The range is simply the difference between the current peak and current trough prices, generally expressed in terms of points or pips.
Open Range
An open range is here defined as one that is forming but has not yet completed. For example, a swing low that has an open green candle proceeding a red candle or series of red candles. Or a swing high that has an open red candle proceeding a green candle or series of green candles.
The table will only display the open range under the aforementioned circumstances, otherwise it will display the current, or previous, range.
█ FEATURES
Inputs
• Show Candle Ranges
• Show Largest and Smallest Candle Ranges
• Average Candle Range Lookback
• Show Ranges
• Show Largest and Smallest Ranges
• Average Range Lookback
• Position
• Text Size
█ HOW TO USE
The indicator can be used for strategy filtering and development, gauging current market conditions versus historic and helping to make more informed discretionary trading decisions. It can also be used like my Wavemeter indicator to objectively set the angle and projection ratio for my Fan Projections and Parallel Projections indicators.
█ LIMITATIONS
Some higher timeframe candles on tickers with larger lookbacks such as the DXY , do not actually contain all the open, high, low and close (OHLC) data at the beginning of the chart. Instead, they use the close price for open, high and low prices. So, while we can determine whether the close price is higher or lower than the preceding close price, there is no way of knowing what actually happened intra-bar for these candles. And by default candles that close at the same price as the open price, will be counted as green. You can avoid this problem by ensuring the lookback for the average range does not reach as far back as the start of the chart. If you are unsure about the candle count you can use my Candle Counter indicator to find out how many candles are displayed on the chart.
The green and red candle calculations are based solely on differences between open and close prices, as such I have made no attempt to account for green candles that gap lower and close below the close price of the preceding candle, or red candles that gap higher and close above the close price of the preceding candle. I can only recommend using 24-hour markets, if and where possible, as there are far fewer gaps and, generally, more data to work with. Alternatively, you can replace the scenarios with your own logic to account for the gap anomalies, if you are feeling up to the challenge.
It is also worth noting that the lookback will be limited to your Trading View subscription plan. Premium users get 20,000 candles worth of data, pro+ and pro users get 10,000, and basic users get 5,000.
Intra-Candles*For use with <=24 hour Hollow Candles *
Indicator for more informative candle plotting. Select from 2-6 lower timeframe candles and view the price action of the lower bars within the normal chart's candles. Plotting short time frame candles with a semi-transparent body lets you see reversals that occurred during the larger candle's formation. Use the information provided to inform your own trading decisions.
Candle Counter [theEccentricTrader]█ OVERVIEW
This indicator counts the number of confirmed candle scenarios on any given candlestick chart and displays the statistics in a table, which can be repositioned and resized at the user's discretion.
█ CONCEPTS
Green and Red Candles
A green candle is one that closes with a high price equal to or above the price it opened.
A red candle is one that closes with a low price that is lower than the price it opened.
Upper Candle Trends
A higher high candle is one that closes with a higher high price than the high price of the preceding candle.
A lower high candle is one that closes with a lower high price than the high price of the preceding candle.
A double-top candle is one that closes with a high price that is equal to the high price of the preceding candle.
Lower Candle Trends
A higher low candle is one that closes with a higher low price than the low price of the preceding candle.
A lower low candle is one that closes with a lower low price than the low price of the preceding candle.
A double-bottom candle is one that closes with a low price that is equal to the low price of the preceding candle.
█ FEATURES
Inputs
Start Date
End Date
Position
Text Size
Show Sample Period
Show Plots
Table
The table is colour coded, consists of three columns and twenty-two rows. Blue cells denote all candle scenarios, green cells denote green candle scenarios and red cells denote red candle scenarios.
The candle scenarios are listed in the first column with their corresponding total counts to the right, in the second column. The last row in column one, row twenty-two, displays the sample period which can be adjusted or hidden via indicator settings.
Rows two and three in the third column of the table display the total green and red candles as percentages of total candles. Rows four to nine in column three, coloured blue, display the corresponding candle scenarios as percentages of total candles. Rows ten to fifteen in column three, coloured green, display the corresponding candle scenarios as percentages of total green candles. And lastly, rows sixteen to twenty-one in column three, coloured red, display the corresponding candle scenarios as percentages of total red candles.
Plots
I have added plots as a visual aid to the various candle scenarios listed in the table. Green up-arrows denote higher high candles when above bar and higher low candles when below bar. Red down-arrows denote lower high candles when above bar and lower low candles when below bar. Similarly, blue diamonds when above bar denote double-top candles and when below bar denote double-bottom candles. These plots can also be hidden via indicator settings.
█ HOW TO USE
This indicator is intended for research purposes and strategy development. I hope it will be useful in helping to gain a better understanding of the underlying dynamics at play on any given market and timeframe. It can, for example, give you an idea of any inherent biases such as a greater proportion of green candles to red. Or a greater proportion of higher low green candles to lower low green candles. Such information can be very useful when conducting top down analysis across multiple timeframes, or considering trailing stop loss methods.
What you do with these statistics and how far you decide to take your research is entirely up to you, the possibilities are endless.
This is just the first and most basic in a series of indicators that can be used to study objective price action scenarios and develop a systematic approach to trading.
█ LIMITATIONS
Some higher timeframe candles on tickers with larger lookbacks such as the DXY, do not actually contain all the open, high, low and close (OHLC) data at the beginning of the chart. Instead, they use the close price for open, high and low prices. So, while we can determine whether the close price is higher or lower than the preceding close price, there is no way of knowing what actually happened intra-bar for these candles. And by default candles that close at the same price as the open price, will be counted as green. You can avoid this problem by utilising the sample period filter.
The green and red candle calculations are based solely on differences between open and close prices, as such I have made no attempt to account for green candles that gap lower and close below the close price of the preceding candle, or red candles that gap higher and close above the close price of the preceding candle. I can only recommend using 24-hour markets, if and where possible, as there are far fewer gaps and, generally, more data to work with. Alternatively, you can replace the scenarios with your own logic to account for the gap anomalies, if you are feeling up to the challenge.
It is also worth noting that the sample size will be limited to your Trading View subscription plan. Premium users get 20,000 candles worth of data, pro+ and pro users get 10,000, and basic users get 5,000. If upgrading is currently not an option, you can always keep a rolling tally of the statistics in an excel spreadsheet or something of the like.
Cloud Bunching [5ema]Reused some functions from (i believe made by):
©paaax: The table position function.
@QuantNomad: The function calculated value and array screener for 40+ instruments .
How it uses:
Gives signal when the cloud is bunching with ratio smaller than the set ratio and the close price breaking out the cloud.
Track 40 different symbols, on any timeframe to follow and alert.
When a symbol has a signal, it will display on the chart and send an alert.
How it works:
The cloud created by 5 EMA (20, 50, 200, 460, 610). Upper Cloud is max EMA , Lower Cloud is min EMA . Center line is averange (5 EMA )
If the ratio upper / lower < input bunching (%) -> change color of cloud.
Get the signal if: the close price break out cloud (with bar is shooting, or hammer ,...) and high volume (or not).
With another symbols (max 40 ) also use that function with any time frame. By request.security() and array function.
How it setting:
Change the bunching rate (%) of the clouds for any symbols.
Change the percentage (%) of the close price that breaks out of the bunching cloud.
Choose volume condition.
Show or turn off the cloud, table.
Select the symbol to follow.
Choose a timeframe to follow other symbols.
----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Remove Hodler [5ema]How it inputs:
Select the timframe to check.
Input the number of bars lookback (or the number of bars corresponding to the selected timeframe)
Input the percentage of change of the price during that time.
Input the number of shotting bars.
Input the symbols want to follow.
How it works:
Calculate the number of shotting bars on the number bars lookback.
Calculate rate of change (with high, low price).
How it uses:
If the returned result is less than the input values (number shooting bars, the price change percentage). A buy signal will be given.
The same calculation applies to the symbols in the input list to monitor and return the results to the table on the chart and send notifications.
I reused some functions, made by (i believe that):
@everget : The table position function.
©paaax : The RSI divergence function.
@QuantNomad : The function calculated value and array to show on table for input symbols.
I have commented in my code. Thanks so much!
----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Buying and Selling Pressure Raw Multi (TG Fork)Visualize raw buying and selling pressure via 3 different calculation methods, all superimposed with dynamic rescaling.
Buying and selling pressure is the concept of quantifying the disproportion between buying and selling. In practice, there is no single definitive way to calculate it.
This indicator is a merge to display three different methods to calculate buying and selling pressure, with automatic visual rescaling to superimpose the three simultaneously, updated to PineScript v5, and with some additional improvements for speed and calculation precisions, and instead of the EMA, other types of moving averages can be used.
I primarily made it for my own needs, but as always, I like sharing with the community, as maybe others may find this useful too.
How to use:
* As often, the goal is to get as many of the 3 signals concur together to get a stronger aggregated signal.
* First signal: If the green bars on the histogram are bigger than the red ones, then there is more buying pressure, and vice versa.
* Second signal: If the background is green, there is more buying pressure, and vice versa if the background is orange. The yellow and green lines define the background color, but they are by default hidden for a less cluttered visual experience.
* Third signal: If the cloud is blue, there is more buying pressure, and the bigger the cloud, the more momentum there is for it to stay (and more difficult it is to reverse to selling pressure). If the cloud is red, there is more selling pressure.
If you like this indicator, please don't give me any credit, instead please show some love to the original authors (in no particular order):
ceyhun:
daytraderph (I could not find the link to the original script, the page is inaccessible?):
www.tradingview.com
fract:
DojiCandle body size RSI-SMMA filter MTF
DojiCandle body size RSI-SMMA filter MTF
Hi. I was inspired by a public script written by @ahmedirshad419, .
I thank him for his idea and hard work.
His script is the combination of RSI and Engulfing Pattern.
//------------------------------------------------------------
I decided to tweak it a bit with Open IA.
I have changed:
1) candle pattern to DojiCandle Pattern;
2) I added the ability for the user to change the size of the candlestick body;
3) Added SMMA 200;
4) Changed the colour of SMMA 200 depending on price direction;
5) Added a change in the colour of candlesticks, depending on the colour of the SMMA 200;
6) Added buy and sell signals with indicator name, ticker and close price;
7) Added ability to use indicator on multi time frame.
How it works
1. when RSI > 70 > SMMA 200 and form the bullish DojiCandle Pattern. It gives sell signal
2. when RSI < 30 < SMMA 200 and form the bearish DojiCandle Pattern. It gives buy signal
settings:
basic setting for RSI, SMMA 200 has been enabled in the script to set the levels accordingly to your trades
Enjoy
Pin Candle DetectionPin candles are a variation of hammer candles that are useful in technical analysis . In particular, when combined with volume profile studies, they can be a powerful set up for long entries or other decision making.
For example, when looking at volume profiles, a long entry would be a fair value area (i.e. 40%) below the close of a pin candle. When combined with a support level , the set up is stronger.
While most scripts look for hammer candles, pin candles are somewhat different in that the length of the wick is significant.
This script and its parameters was built for ES futures 15 min chart in mind.
This script is unique in that it allows for the below parameters to be adjusted to suit other instruments and timeframes:
1. Fib level: Candle must close within a certain retracement level). My preference is 0.55. Some traders like 0.5, while others prefer 0.33
2. Wick length: Pin candles differ from pure hammers in that the length of the wick must be significant. My preference is 7 points on ES (as in $ and not ticks)
Add this script to your alerts to no longer miss these set ups.
Swing Indicator (2 before, 1 after) v2 with Dong-DangFeatures
Detection Swing (swing HIGH is the highest bar among 2 bars before and 1 bar after, and swing LOW is the lowest bar among 2 bars before and 1 bar after)
Dong-Dang (The line plot switch between a swing HIGH and LOW ==> represents the price movement)
Fixes
fix swing detection from the last version when there are 2 or more bars that have the same high or low price
======== ======== ========
ฟีเจอร์
การจับสวิง (จะเป็นสวิง HIGH ก็ต่อเมื่อแท่งนั้นสูงกว่า 2 แท่งก่อนหน้า และ 1 แท่งด้านหลัง, และจะเป็นสวิง LOW ก็ต่อเมื่อแท่งนั้นต่ำกว่า 2 แท่งก่อนหน้า และ 1 แท่งด้านหลัง)
ด๊องแด๊ง (คือเส้นที่ลากสลับไปมาระหว่างสวิง High และ Low ==> ใช้เพื่อดูการเคลื่อนที่ของราคา)
สิ่งที่แก้ไข
แก้ไขการจับสวิงจากเวอร์ชันก่อนหน้า ในกรณีที่มีแท่งเทียน 2 แท่ง หรือมากกว่า มีค่า high หรือ low เท่ากัน
======== ======== ========
Credit: Bravo Trade Academy
Vector MACDCalculates five vector moving averages of different periods and averages them.
Origin moving average is ALMA from the mid point of the candles (hl2.)
Vector moving averages are the difference between Hull Moving Averages and the Origin MA.
It is a momentum indicator that shows when long term and short term trends agree with the move. It moves stronger, when all the vectors point to the same direction.
Look for divergence to detect trend changes.
Cuck WickAcknowledgement
This indicator is dedicated to my friend Alexandru who saved me from one of these scam cuck wicks which almost liquidated me.
Alexandru is one of the best scalpers out there and he always nails his entries at the tip of these wicks.
This inspired me to create this indicator.
What's a cuck wick?
It's that fast stop-hunting wick that cucks everyone by triggering their stop-loss and liquidation.
Liquidity is the lifeblood of stock market and liquidation is the process that moves price.
This indicator will identify when a liquidity pool is getting raided to trigger buy or sell stops, they are also know as stop-hunts.
How does it work?
When market consolidates in one direction, it builds up liquidity zones.
Market maker will break out of these consolidation phases by having dramatic price action to either pump or dump to raid these liquidity zones.
This is also called stop-hunts or liquidity raids. After that it will start reversing back to the opposite direction.
This is most noticeable by the length of the wick of a given candle in a very short amount of time and the total size of the candle.
This indicator highlights them accordingly.
Settings
Wick and Candle ratio works with default values but finetune will enhance user experience and usability.
Wick Ratio: Size of the wick compared to body of a candle.
Adjust this to higher ratio on smaller timeframe or smaller ratio on bigger timeframe to your trading style to spot a trend reversal.
Candle Ratio: The size of the candle, by default it is 0.75% of the current price.
For example, if BTC is at 20,000 then the size of the candle has to be minimum 150.
This can be fine tuned to bigger candle size on higher time frames or smaller for shorter timeframe depending on the trade type.
How to use it?
This indicator will identify when a liquidity pool is getting raided to trigger buy or sell stops, they are also know as stop-hunts. It can be used of its own for scalping but there are also a good few indicators which would most definitely help to confluence bigger timeframe trades.
Scalp
This indicator shows the most chaotic moments in price action; therefore it works best on smaller timeframes, ideally 3 or 5 minute candle.
- Wait for the market to start pumping or dumping.
- Current candle will change colour (Bullish/Bearish).
- Enter trade as soon as price starts to reverse back.
- Place the stop-loss outside of the current candle.
- Wait for the cuck wick to appear as confirmation.
Price is very chaotic during a liquidity stop-hunt raid but there is a saying:
"In the midst of chaos, there is also opportunity" - Sun-Tzu
Since this is a very high risk, high reward strategy; it is advised to practice on paper trade first.
Practice until perfection and this indicator would be the perfect bread and butter scalp confirmation.
Fair Value Gap
FVG strategy is the most accurate in conjunction with this indicator.
Normally price would reverse after consuming fair value gaps but often it's difficult to know when and where.
This indicator would identify those crucial entry points for reverse course direction of the price action.
Support and Resistance
This indicator can also be used in conjunction with support and resistance lines.
Generally the cuck will go deep below the support or spike much further up the resistance lines to liquidate positions.
Bollinger Bands
Bolling Bands strategy would be to wait until the price breaks out of the band.
Once the wick is formed, it would be an ideal entry point.
Script change
This is an open-source script and feel free to modify according to your need and to amplify your existing strategy.
Futures All List Candle Analysis - FALCAIn this command; There is an alphabetical list of USDS-M coins with the USDT PERP extension on the Binance Futures side.
There are 13 lists in total. Each list contains 39 data. Due to data limitation, 13 lists are formed. There are 13 coins in the first 11 of the lists. The 12th list contains 3 coins. The last list (FAVORITE LIST) is CRYPTOCAP:TOTAL, BINANCE:BTCUSDTPERP, BINANCE:BTCDOMUSDTPERP as standard. You must add 10 coins to the final list.
The lists show data for the time period you selected.
Explanation of the (C/H) header: Close /High takes a maximum value of 1. As long as this value is 1, a price increase is observed.
Explanation of the (C/O) header:
Close /Open can be greater than ,1. In this case, a price increase is observed.
Close /Open can be less than 1. In this case, a price decrease is observed.
The value Close /Open can be equal to 1. In this case, price stability is observed.
Explanation of the (C/L) header: Close /Low takes a minimum value of 1. As long as this value is 1, a price decrease is observed.
Coins with a price decrease are shown in red.
Coins with a price increase will turn green.
***NOTE: For this command to work, you must first add 10 favorite coins to the "FAVORITE LIST".
Engulfing Pinbar [serkany88]This is an experimental candlestick pattern that combines pinbars and engulfing patterns as my own implementation. These signals can be used as a possible reversal points based on timeframe used or set wick size. Of course these signals should never be used on their own but rather can be used as another confluence of possible entry signal.
Functional and Manual alerts provided with simple and clean code.
TLDR: Use as a possible reversal point for your entries in combination with your trend and volatility filters. Green means possible bullish move, Red means possible bearish move.
Body / Range %Body / Range is a volatility indicator that shows how many percentages the body candle occupies the range.
The ratio tells us about the health and confidence of the current candlestick.
Since overall candle Range is always bigger than the body range, Body/Range indicator will always fluctuate inside a range of 0 and 100%.
I didn't use True Range because it considers gaps and the ratio won't be considering individual candles. Therefore, I used high - low and identified it as Range.
In this function, the wicks play obviously role in determining the ratio too without its variable separately in the formula. I wouldn't use wicks here because Range = body + total wicks anyway. It already covers the variable. If I made the ratio with Body / Total Wicks, we wouldn't have stable 0 - 100% range of the indicator by the way. So it's fully justified dividing Body by Range to get some summarized Candle Metrics.
Logically we assume that if wicks are relatively bigger than body then the ratio will be relatively smaller and vice versa.
Change TF of the indicator is possible. For example, 3 months per bar would look like this:
InsideBar2.0Inside Bar: Inside Bar is defined as, " when candle body range falls within previous day candle body".
Some of us take the whole prices range . Here i have taken only the price range of the body of tehecandle.
I have created an indicator to identify Inside bras and draw target levels on both the sides. Traders can easily convert it into a strategy and checkout the success rate.
This script is written to identify InsideBar and then plot target 1 and target 2 irrespective the direction of following candles.
Inside Bar is here defined clearly when the whole body( Not high/Low, but Open and Close Only of the candle falls within the whole body of previous candle
Few static Variables are declared for one time use to store the following values
MotherCandle Index
High and Low of MotherCandle
Target 1 equal to size of the body of mother candle
Target 2 equal twice the size of Mother Candle
Depending upon the direction of the trend and breakout of the MotherCandle boundaries, target lines and labels are drawn.
Line.delete function is used to delete all the previous lines to keep the chart clean and not draw line on all every inside-bar detected in the past.
Label.delete function is used to delete all the previous labels for Target levels to clearly show current target levels.
barcolor() function is used to change the inside bar candle changed to "Yellow" .
Glan Nilly candle TrendThis script is based on Nilly River Theory, and shows up, down, inner and outer bars according that concept.
it can be used for trend recognition. blue after blue candles show continuation of an upward trend.
red after red candles show continuation of a downward trend. gray candles are members of the trend they are within.
An opposite candle color to previous candles shows minor trend reversal. high of the last candle of a blue after blue candles shows a new up(grey candles within the way are part of that trend).
low of the last candle of a red after red candles shows a new down(grey candles within the way are part of that trend).
if the new up is upper and new down is upper than previous ones, then this is real upward trend. if the new up is lower than and new down is lower than previous ones, then this is real downward trend. it is not allowed to trade in opposite direction of a trend and this indicator help us to recognize the trend.
PinBar Detector [Mr_Zed]Pinbar Detector is a technical analysis tool designed to detect Pinbar patterns in financial markets. Pinbars are reversal patterns that indicate a potential change in trend.
This indicator is based on an existing Pinbar detector in MQ4/5 format, originally developed by "earnforex".
The PineScript version is written to work in TradingView, and can be applied to any chart to identify Pinbar formations. The indicator uses specific criteria to identify Pinbars, such as the length of the wick and the relationship between the wick and the body of the candlestick. By displaying the Pinbars on the chart, traders can make informed decisions about entering or exiting trades based on their analysis of the market's potential trend reversal.
enjoy !
Weekly Opening Gap (cryptonnnite)In the context of general equities, opening price that is substantially higher or lower than the previous day's closing price, usually because of some extraordinarily positive or negative news. Opening gap using as a potential target which market usually trades to.
ATR PivotsThe "ATR Pivots" script is a technical analysis tool designed to help traders identify key levels of support and resistance on a chart. The indicator uses various metrics such as the Average True Range (ATR), Daily True Range ( DTR ), Daily True Range Percentage (DTR%), Average Daily Range (ADR), Previous Day High ( PDH ), and Previous Day Low ( PDL ) to provide a comprehensive picture of the volatility and movement of a security. The script also includes an EMA cloud and 200 EMA for trend identification and a 1-minute ATR scalping strategy for traders to make informed trading decisions.
ATR Detail:-
The ATR is a measure of the volatility of a security over a given period of time. It is calculated by taking the average of the true range (the difference between the high and low of a security) over a set number of periods. The user can input the number of periods (ATR length) to be used for the ATR calculation. The script also allows the user to choose whether to use the current close or not for the calculation. The script calculates various levels of support and resistance based on the relationship between the security's range ( high-low ) and the ATR. The levels are calculated by multiplying the ATR by different Fibonacci ratios (0.236, 0.382, 0.5, 0.618, 0.786, 1.000) and then adding or subtracting the result from the previous close. The script plots these levels on the chart, with the -100 level being the most significant level. The user also has an option to choose whether to plot all Fibonacci levels or not.
DTR and DTR% Detail:-
The Daily True Range Percentage (DTR%) is a metric that measures the daily volatility of a security as a percentage of its previous close. It is calculated by dividing the Daily True Range ( DTR ) by the previous close. DTR is the range between the current period's high and low and gives a measure of the volatility of the security on a daily basis. DTR% can be used as an indicator of the percentage of movement of the security on a daily basis. In this script, DTR% is used in combination with other metrics such as the Average True Range (ATR) and Fibonacci ratios to calculate key levels of support and resistance for the security. The idea behind using DTR% is that it can help traders to better understand the daily volatility of the security and make more informed trading decisions.
For example, if a security has a DTR% of 2%, it suggests that the security has a relatively low level of volatility and is less likely to experience significant price movements on a daily basis. On the other hand, if a security has a DTR% of 10%, it suggests that the security has a relatively high level of volatility and is more likely to experience significant price movements on a daily basis.
ADR:-
The script then calculates the ADR (Average Daily Range) which is the average of the daily range of the security, using the formula (Period High - Period Low) / ATR Length. This gives a measure of the average volatility of the security on a daily basis, which can be useful for determining potential levels of support and resistance .
PDH /PDL:-
The script also calculates PDH (Previous Day High) and PDL (Previous Day Low) which are the High and low of the previous day of the security. This gives a measure of the previous day's volatility and movement, which can be useful for determining potential levels of support and resistance .
EMA Cloud and 200 EMA Detail:-
The EMA cloud is a technical analysis tool that helps traders identify the trend of the market by comparing two different exponential moving averages (EMAs) of different lengths. The cloud is created by plotting the fast EMA and the slow EMA on the chart and filling the space between them. The user can input the length of the fast and slow EMA , and the script will calculate and plot these EMAs on the chart. The space between the two EMAs is then filled with a color that represents the trend, with green indicating a bullish trend and red indicating a bearish trend . Additionally, the script also plots a 200 EMA , which is a commonly used long-term trend indicator. When the fast EMA is above the slow EMA and the 200 EMA , it is considered a bullish signal, indicating an uptrend. When the fast EMA is below the slow EMA and the 200 EMA , it is considered a bearish signal, indicating a downtrend. The EMA cloud and 200 EMA can be used together to help traders identify the overall trend of the market and make more informed trading decisions.
1 Minute ATR Scalping Strategy:-
The script also includes a 1-minute ATR scalping strategy that can be used by traders looking for quick profits in the market. The strategy involves using the ATR levels calculated by the script as well as the EMA cloud and 200 EMA to identify potential buy and sell opportunities. For example, if the 1-minute ATR is above 11 in NIFTY and the EMA cloud is bullish , the strategy suggests buying the security. Similarly, if the 1-minute ATR is above 30 in BANKNIFTY and the EMA cloud is bullish , the strategy suggests buying the security.
Inside Candle:-
The Inside Candle is a price action pattern that occurs when the current candle's high and low are entirely within the range of the previous candle's high and low. This pattern indicates indecision or consolidation in the market and can be a potential sign of a trend reversal. When used in the 15-minute chart, traders can look for Inside Candle patterns that occur at key levels of support or resistance. If the Inside Candle pattern occurs at a key level and the price subsequently breaks out of the range of the Inside Candle, it can be a signal to enter a trade in the direction of the breakout. Traders can also use the Inside Candle pattern to trade in a tight range, or to reduce their exposure to a current trend.
Risk Management:-
As with any trading strategy, it is important to practice proper risk management when using the ATR Pivots script and the 1-minute ATR scalping strategy. This may include setting stop-loss orders, using appropriate position sizing, and diversifying your portfolio. It is also important to note that past performance is not indicative of future results and that the script and strategy provided are for educational purposes only.
In conclusion, the "ATR Pivots" script is a powerful tool that can help traders identify key levels of support and resistance , as well as trend direction. The additional metrics such as DTR , DTR%, ADR, PDH , and PDL provide a more comprehensive picture of the volatility and movement of the security, making it easier for traders to make better trading decisions. The inclusion of the EMA cloud and 200 EMA for trend identification, and the 1-minute ATR scalping strategy for quick profits can further enhance a trader's decision-making process. However, it is important to practice proper risk management and understand that past performance is not indicative of future results.
Special thanks to satymahajan for the idea of clubbing Average True Range with Fibonacci levels.