WHALE SIGNAL 4H
WHALE SIGNAL 4H BASED ON VOLUME CHANGE AND MOVING AVERAGE
This script aims to highlight potential whale signals on the 4-hour timeframe by analyzing volume changes, and it provides options for customization through input parameters. Whale signals are then displayed on the chart with different colors for the last hit and the previous hits. The Detector parameter adds flexibility to consider neighboring bars in the detection process, Let's break down the key components:
1/The script defines input parameters that users can customize:
-VCH (Volume Change on 4H candle) with a default value of 3, 3 times the MA Value.
-Length_240 (Moving Average length for the last 21 bars on the 4-hour timeframe).
-Detector (a boolean parameter to enable or disable whale detection in the previous or next bar).
2/Logic Section:
The script defines a function bar(hit) to convert the bar index based on the timeframe.
It calculates the Volume Change (whale signal) by comparing the current volume with a threshold (VCH * vma).
The Detector parameter allows for flexibility in detecting whale signals in neighboring bars.
3/ Plotting Section:
The script defines a function is_whale() to check if there is a whale signal and if it occurred in the last three bars.
It uses the plot function to display whale signals on the chart with different colors and offsets.
Pivot points and levels
PivottrendHi all!
This script is based on the concept of "higher highs and higher lows" and "lower highs and lower lows". Bullish/bearish trend changes when a previous pivot (low in bullish trend and high in bearish trend) is broken (or has equal value). Some settings are customizable by the user:
Timeframe
- You can choose what timeframe the pivots are found on
Left length
- The left length used for the pivots found
Right length
- The right length used for the pivots found
Show labels
- Choose if you want to display buy and sell labels
Show pivots
- Choose if you want to display the pivots found
Show MSS
- Choose if you want to display a line when price breaks a previous pivot
The "look and feel" is inspired by the script "SuperTrend" by KivancOzbilgic ().
Best of trading luck!
VIX based LevelsSupport and resistance levels for the day based on the volatility index.
Major - The Major support line where the day low, high or close can occur at that level
Minor - The second level of the Support/Resistance line , where we can expect some rejections or breakouts/breakdowns
Mild - The mid level between the Major and minor levels. The market may consolidate around that area.
The script will automatically get the previous day close value of the current scrip and the India vix.
India vix is calculated based on the annual percentage and hence the previous day close value of the scrip is divided by 19.1 ( square root of 365 )
The PDC values can be manually overridden for backtesting purposes.
Please note, there will be some slippages involved on the trend lines.
Immediate rebalanceGuided by the new ICT tutoring, I create this versatile Immediate Rebalance indicator
This indicator shows a different way on how to view the "Spikes or Shadows", based on the direction of the price this indicator divides the "Spike or Shadows" into levels 0.5 - 0.75 - 0.25 Fibonacci, giving the possibility to view the levels both in normal or in pre-Macro times
The user has the possibility to:
- Choose to have Spike levels shown in MultiTimeframe
- Choose to show Sike levels only Bullish or only Bearish
- Choose to show Sike levels only in pre-Macro/Macro times
- Choose to view the maximum amount of levels with Max Show
The indicator must be used as ICT shows in its concepts, the indicator takes into consideration the last 2 candles already closed so on the candle that is forming it is possible to expect reactions on the levels it marks, below is an example of how to use it in MultiTimeframe
Below I show an example on how to set the indicator to see Immediate Rebalance in Macro times
Below is an example of when not to take the indicator into consideration
OHLC BreakThis indicator shows the Support and Resistance zones in a different way with Boxes that extend to the right and show the candle that has broken a minimum number of High or Low
The user has the possibility to:
- Choose to show High or Low levels not yet broken
- Shows candles that have broken a total of high or Low that you pre-set
- Choose to show a Box on candles that have broken the minimum of the preset levels
- Choose to show the total of broken levels with a Label on the candle
The indicator should be used as OHLC shows in its concepts, it can also be implemented to your Support and Resistance strategies, it can be implemented to Sessions strategies as in the Example
Below I show various examples on how to set the indicator for show High or Low levels not yet broken
If something is not clear, comment below and I will reply as soon as possible.
OmniSessions [WinWorld]The indicator shows the range of 4 most popular sessions (New York, Tokyo, London, Sydney). Sessions are used to identify zones with maximum volatility, as well as to find entry points. Session boundaries can act as POI no worse than OrderBlock.
In addition to sessions, you can use settings with KillZones - a range within a session that has potentially high volatility.
Silver Bullet is a more advanced range that allows you to identify the potential for maximum volatility. Excellent entry points can be obtained on the sweep of the range or from the nearest orderblock. We will explain it a bit deeply below.
Why use sessions?
During specific sessions big financial instutions from specific parts of the world enter the market, and this fact alone let us find the most "liquid" sessions in order to catch the best price movements. If talking about orderblocks, it is just a point of interest (more precisely, it is actually a zone of interest), which usually is a zone where the signficant amount of limit orders lies, and when price enter such zone, it immediately shows a strong reaction with either breakout from this zone or it bounces against this zone.
How is this indicator different from others?
There a lot of orderblocks indicator out here publicly available, but huge portion of them doesn't take into calculation important smart money concepts, such as valid pullbacks, for example. Valid pullbacks is a concept of price movement, which lets us indentify quite precisely price's impulses. Based on this impulses, we search our orderblocks. This approach allows to catch the most relevant and highly liquid orderblocks, which present traders with best trade entry opportunities, because usually, when entering with these orderblocks, you follow the moves of big money players, and that gives trader an edge in trading. None of open-source indicators uses such approach ( we've studied all of them ). Also an important notice: no public code is utilized in this indicato whatsoever. We've build our own flexible session mechanism, which allows you to quickly change between different type of sessions and also choose which session to use. And the big thing is our own alorithm to deal with asset, trading sessions of which are quite exotic (such as DAX and MEOX indexes, which close and open at different times of the day, which makes it hard for indicator to catch by default), so with indicator you can enjoy trading by sessions with no "bugs".
And the most user-desired and important thing: we've implemented feature to set winter and summer seasons for sessions, and this solves life-long struggle of traders to set correct trading session time, when forex exchanges switch trading hours, so now you don't need to info which our summer or winter is traded by, but just switch between seasons by one button in our indicator. And we can proudly state, no sesions indicator in the TradingView has such feature , so feel free to use it now on our indicator.
How orderblocks are built?
When London, New York or Asia ends, we find the closest orderblocks above and below closed session's high and low respectively. We do it by finding so called valid pullbacks ( was explained above ), then searching for valid fair value gap (FVG), that is inside of some valid pullbacks, and if we find it, then the orderblock is established and you will live orderblock and fair value gap (FVG) box ( both are colored in closed session's colour ).
How are orderblocks and FVG displayed on the chart?
Live orderblock and FVG are displayed as boxes on the chart, that are plolonged each bar if price didn't reach the orderblock.
Some important details:
When price touches FVG, FVG then is modified to reflect how much of untouched FVG is left. You will see it as decreasing of FVG box size in live mode. If price fully takes over FVG, FVG deletes;
When price touches orderblock, orderblock stops being prolonged and stays on the chart and is considered as worked-out.
These featues allow you to fully see live orderblocks and FVGs (if they exist) and already worked-out orderblocks to see how useful they were in the history.
Is that it?
No, because our indicator also shows sessions sweeps, which is historically a good indication that price grabbed the liquidity of previously closed sessions and now has enough "power" to do big movements, which is a good thing for traders, because it allows them to catch big movements and profit big.
Ok, we've covered the basics, now let's talk about what exactly this indicator can do.
OmnISessions is all-in-one sessions' indicator, that cointain:
Sessions (Automatic adaptation to your time zone)
Kill Zones
Silver Bullets
Session Sweeps
Order Blocks (Session, Killzone, SilverBullet)
Easily switch between summer and winter seasons
Now you don't need to look for opening and closing times of stock exchanges: the algorithm itself adjusts the session times according to your timezone. Just change the seasonality: winter/summer and the session times will be clearly displayed on your chart.
A quick view of the settings:
Show: Sessions, KillZones or SilverBullet
Season selection: Winter/Summer
Session Color Selection
Visuals:
Show/Hide session name - displays session name (ex.: London, New York, Silver Bullet and etc.) on the chart;
Show/Hide session box - displays session range as box with coloured background on the chart;
Show/Hide High/Low sessions - displays two horizontal lines for higher and lower borders of the session;
Show/Hide OrderBlocks - displays worked-out orderblocks in the history with live orderblocks and their fair value gaps (FVGs);
Show/Hide live Session High/Low - displays higher and lower border of the session as lines, that are prolonged each bar even after the session ends;
Show/Hide Session Sweeps - displays session sweeps of higher and lower border as dotted line;
Dividers (alternative session display):
Horizontal Divider
Backgrounder coloring
Customization: choose the display type: Sessions, Killzones or Silver Bullet.
The indicator displays orders that are above or below the previous session boundaries.
Below are Killzones with Order Blocks:
And this is Silver Bullet with Order Blocks:
Overall, you can clearly see that orderblocks, sessions sweeps and different type of sessions in one indicator allow you to fully utilize your time and mental energy, because finding orderblocks with valid pullbacks by hand is quite time-costly task, but finding them on different type of sessions, while not knowing trading hours of current trading session, is the true hell of work. OmniSessions indicator performs all of these calculations by itself, so you can focus on finding the best entries, while checking the situation on different sessions at the same time.
We hope that you will find great use of OmniSessions!
FIBO ZONESThe "Fibonacci ZONES" indicator combines Fibonacci ratio-derived zones(channels), together with a Fibonacci pattern of the Previous period high/low.
Auto Fibonacci tools are powerful ways designed to simplify your technical analysis by automatically drawing Fibonacci retracement and extension levels on your chart. This indicator is built to enhance your trading experience with clearer market moves and informative insights.
You can easily spot your waves and patterns when the percentages are moving with you.
Key Features:
Automated Fibonacci Levels: Plots Fibonacci retracement and extension levels based on recent price movements.
Multi-Timeframe Support: This indicator is your versatile companion, offering multi-timeframe functionality. You can seamlessly track Fibonacci levels across different resolutions, providing a comprehensive view of the market.
Two Types of Fibs: Retracement and Timeframe extension Fibonacci levels. Use retracements to identify potential reversal points and extensions to anticipate price targets, giving you a well-rounded perspective on market movements.
Benefits:
Save Time: No more manual Fibonacci drawing; It does this for you in real-time.
Enhanced Analysis: Gain a deeper understanding of potential support, resistance, and price targets.
User-Friendly: Suitable for traders of all levels, this indicator simplifies complex technical analysis.
Breakouts from a Fibonacci Channel are also indicated by labels, indicating a potential reversal.
Each range extremity/area can also be used as support/resistance.
MTF PIVOTSThis is a fairly basic (but hopefully useful) indicator that combines three time-frames of Camarilla pivots into one.
Default time-frames are:
Daily
Weekly
Monthly
Quarterly
Yearly
Time-frames can be modified as you wish, they are just set to these as I generally only trade higher intervals (just note that formatting labels will not change - but you can update these as needed).
The Camarilla pivots displayed are as follows:
- H3, L3, H4, L4
- CPR
- CPR Trails ( To find Virgin CPR)
- PREVIOUS HI,LOW , CLOSE
these are more useful for the majority of traders. The formula for levels.
By default all historical pivot levels are not displayed, as there can be some benefit to mapping these forward once the relevant period has ended. But these find too cluttered I'll look into having an option to display the Historical period as well.
What levels are included?
I have used traditional pivot calculation and included Daily, Weekly, Monthly, Quarterly, and Yearly pivots with high and low.
Custom Price Levels and AveragesThe "Custom Price Levels and Averages" indicator is a versatile tool designed for TradingView. It dynamically calculates and displays key price levels based on user-defined parameters such as distance percentages and position size. The indicator plots three ascending and descending price levels (A, B, C, X, Y, Z) around the last candle close on a specified timeframe. Additionally, it provides the average price for both upward and downward movements, considering the user's specified position size and increase factor. Traders can easily customize the visual appearance by adjusting colors for each plotted line. This indicator assists in identifying potential support and resistance levels and understanding the average price movements within a specified trading context.
Avoid SL hunting by acumulating your position with scaled orders.
Input Parameters:
inputTimeframe: Allows the user to select a specific timeframe (default: "D" for daily).
distancePercentageUp: Determines the percentage increase for ascending price levels (default: 1.5%).
distancePercentageDown: Determines the percentage decrease for descending price levels (default: 1.5%).
position: Specifies the position size in USD for calculating average prices (default: $100).
increaseFactor: Adjusts the increase in position size for each subsequent level (default: 1.5).
calcAvgPrice Function:
Parameters:
priceA, priceB, priceC: Ascending price levels.
priceX, priceY, priceZ: Descending price levels.
position: User-defined position size.
increaseFactor: User-defined increase factor.
Calculation:
Calculates the weighted average price for ascending (priceA, priceB, priceC) and descending (priceX, priceY, priceZ) levels.
Utilizes the specified position size and increase factor to determine the weighted average.
Plotting:
Price Calculations:
priceA, priceB, priceC: Derived by applying percentage increases to the last candle's close.
priceX, priceY, priceZ: Derived by applying percentage decreases to the last candle's close.
avgPriceUp, avgPriceDown: Computed using the calcAvgPrice function for ascending and descending levels, respectively.
Plotting Colors:
User-customizable through input parameters (colorPriceA, colorPriceB, colorPriceC, colorAvgPriceUp, colorPriceX, colorPriceY, colorPriceZ, colorAvgPriceDown).
Styling:
All lines are plotted with minimal thickness (linewidth=1) for a clean visualization.
Overall, the indicator empowers traders to analyze potential support and resistance levels and understand average price movements based on their specified parameters. The flexibility of color customization adds a layer of personalization to suit individual preferences.
Option Buying Pivot and SMA 3 Pivot crossoverThis script is designed as a visual aid for options trading specifically for option buying, providing information about potential entry points, Option levels, and trade outcomes. Here's a summary of the key elements:
1. Pivot Point and True Range:*
- The script calculates the current candle's pivot point, representing an average of high, low, and close prices from the previous candle.
- True range, a measure of volatility, is determined using the high, low, and close prices of the last two candles.
2. Option Levels:
- Downside (PutValue - Red colour line) and upside (CallValue - Green Colour line) are calculated based on the current pivot point and true range.
PutValue = currentCandlePivot + currentCandleTrueRange
CallValue = currentCandlePivot - currentCandleTrueRange
3. Simple Moving Average (SMA) of Pivot Point:
- A 3-period SMA is applied to the pivot point to smooth out fluctuations.
4. Trade Entry Logic:
- Long entry is signalled when the current pivot point is above the SMA. (longEntry = currentCandlePivot > smaPivot)
- At the time of long entry BUY THE CALL OPTION OR SELL THE PUT OPTION near the CallValue Green line
- Short entry is signalled when the current pivot point is below the SMA. (shortEntry = currentCandlePivot < smaPivot)
- At the time of Short entry BUY THE PUT OPTION OR SELL THE CALL OPTION near the PutValue Red line
The indicator having option to change the background of the candle as a green for long; and change the background of the candle as red for short. Also, Having the option to plot as label.
5. Win and Loss Logic:
- Winning conditions are assessed based on the close price relative to CallValue (for Long) and PutValue (for Short).
- Losing conditions are determined similarly.
- winLong = close > CallValue and longEntry
- winShort = close < PutValue and shortEntry
-lossLong = close < CallValue and longEntry
-lossShort = close > PutValue and shortEntry
The indicator having option to change the background of the candle as a green for win; and change the background of the candle as red for loss. Also, Having the option to plot as label.
6. Background Coloring and Plots:
- The script uses background colors to highlight Long, Short, Win, and Loss scenarios.
- Shapes and labels are plotted on the chart to visually represent entry points, stop-loss levels, and trade outcomes.
The overall purpose is to provide traders with a clear visual representation of potential trading opportunities and outcomes, helping them make informed decisions in the options market.
Breakout Detector (Previous MTF High Low Levels) [LuxAlgo]The Breakout Detector (Previous MTF High Low Levels) indicator highlights breakouts of previous high/low levels from a higher timeframe.
The indicator is able to: display take-profit/stop-loss levels based on a user selected Win/Loss ratio, detect false breakouts, and display a dashboard with various useful statistics.
Do note that previous high/low levels are subject to backpainting, that is they are drawn retrospectively in their corresponding location. Other elements in the script are not subject to backpainting.
🔶 USAGE
Breakouts occur when the price closes above a previous Higher Timeframe (HTF) High or below a previous HTF Low.
On the advent of a breakout, the closing price acts as an entry level at which a Take Profit (TP) and Stop Loss (SL) are placed. When a TP or SL level is reached, the SL/TP box border is highlighted.
When there is a breakout in the opposite direction of an active breakout, previous breakout levels stop being updated. Not reaching an SL/TP level will result in a partial loss/win,
which will result in the box being highlighted with a dotted border (default). This can also be set as a dashed or solid border.
Detection of False Breakouts (default on) can be helpful to avoid false positives, these can also be indicative of potential trend reversals.
This indicator contains visualization when a new HTF interval begins (thick vertical grey line) and a dashboard for reviewing the breakout results (both defaults enabled; and can be disabled).
As seen in the example above, the active, open breakout is colored green/red.
You can enable the setting ' Cancel TP/SL at the end of HTF ', which will stop updating previous TP/SL levels on the occurrence of a new HTF interval.
🔶 DETAILS
🔹 Principles
Every time a new timeframe period starts, the previous high and low are detected of the higher timeframe. On that bar only there won't be a breakout detection.
A breakout is confirmed when the close price breaks the previous HTF high/low
A breakout in the same direction as the active breakout is ignored.
A breakout in the opposite direction stops previous breakout levels from being updated.
Take Profit/Stop Loss, partially or not, will be highlighted in an easily interpretable manner.
🔹 Set Higher Timeframe
There are 2 options for choosing a higher timeframe:
• Choose a specific higher timeframe (in this example, Weekly higher TF on a 4h chart)
• Choose a multiple of the current timeframe (in this example, 75 minutes TF on a 15 min chart - 15 x 5)
Do mind, that when using this option, non-standard TFs can give less desired timeframe changes.
🔹 Setting Win/Loss Levels
The Stop Loss (SL) / Take Profit (TP) setting has 2 options:
W%:L% : A fixed percentage is chosen, for TP and SL.
W:L : In this case L (Loss-part) is set through Loss Settings , W (Win-part) is calculated by multiplying L , for example W : L = 2 : 1, W will be twice as large as the L .
🔹 Loss Settings
The last drawing at the right is still active (colored green/red)
The Loss part can be:
A multiple of the Average True Range (ATR) of the last 200 bars.
A multiple of the Range Cumulative Mean (RCM).
The Latest Swing (with Length setting)
Range Cumulative Mean is the sum of the Candle Range (high - low) divided by its bar index.
🔹 False Breakouts
A False Breakout is confirmed when the price of the bar immediately after the breakout bar returns above/below the breakout level.
🔹 Dashboard
🔶 ALERTS
This publication provides several alerts
Bullish/Bearish Breakout: A new Breakout.
Bullish/Bearish False Breakout: False Breakout detected, 1 bar after the Breakout.
Bullish/Bearish TP: When the TP/profit level has been reached.
Bullish/Bearish Fail: When the SL/stop-loss level has been reached.
Note that when a new Breakout causes the previous Breakout to stop being updated, only an alert is provided of the new Breakout.
🔶 SETTINGS
🔹 Set Higher Timeframe
Option : HTF/Mult
HTF : When HTF is chosen as Option , set the Higher Timeframe (higher than current TF)
Mult : When Mult is chosen as Option , set the multiple of current TF (for example 3, curr. TF 15min -> 45min)
🔹 Set Win/Loss Level
SL/TP : W:L or W%:L%: Set the Win/Loss Ratio (Take Profit/Stop Loss)
• W : L : Set the Ratio of Win (TP) against Loss (SL) . The L level is set at Loss Settings
• W% : L% : Set a fixed percentage of breakout price as SL/TP
🔹 Loss Settings
When W : L is chosen as SL/TP Option, this sets the Loss part (L)
Base :
• RCM : Range Cumulative Mean
• ATR : Average True Range of last 200 bars
• Last Swing : Last Swing Low when bullish breakout, last Swing High when bearish breakout
Multiple : x times RCM/ATR
Swing Length : Sets the 'left' period ('right' period is always 1)
Colours : colour of TP/SL box and border
Borders : Style border when breakout levels stop being updated, but TP/SL is not reached. (Default dotted dot , other option is dashed dsh or solid sol )
🔹 Extra
Show Timeframe Change : Show a grey vertical line when a new Higher Timeframe interval begins
Detect False Outbreak
Cancel TP/SL at end of HTF
🔹 Show Dashboard
Location: Location of the dashboard (Top Right or Bottom Right/Left)
Size: Text size (Tiny, Small, Normal)
See USAGE/DETAILS for more information
Market Pivot Levels [Past & Live]Market Levels provide a robust view of daily pivot points of markets such as high/low/close with both past and live values shown at the same time using the recently updated system of polylines of pinescript.
The main need for this script arose from not being able to use plots for daily points because plots are inherently once drawn can't be erased and because we can't plot stuff for previous bars after values are determined we can't use them reliably. And while we can use traditional lines, because we would have extremely high amount of lines and we would have to keep removing the previous ones it wouldn't be that effective way for us. So we try to do it with the new method of polylines .
Features of this script:
- Daily High/Low Points
- Yesterday High/Low/Close Points
- Pre-Market High-Low points.
Now let's preview some of the important points of code and see how we achieve this:
With the code below we make sure no matter which chart we are using we are getting the extended hours version of sessions so our calculations are made safely for viewing pre-market conditions.
// Let's get ticker extended no matter what the current chart is
tc = ticker.new(syminfo.prefix, syminfo.ticker, session.extended)
Coding our own function to calculate high's and low's because inbuilt pinescript function cannot take series and we send this function to retrieve our high's and lows.
// On the fly function to calculate daily highlows instead of tv inbuilt because tv's length cannot take series
f_highlow(int last) =>
bardiff = last
float _low = low, float _high = high
for i = bardiff to 0 by 1
if high > _high
_high := high
if low < _low
_low := low
With doing calculations at the bars of day ending points we can retrieve the correct points and values and push them for our polylines array so it can be used in best way possible.
// Daily change points
changeD = timeframe.change("D")
// When new day starts fill polyline arrays with previous day values for polylines to draw on chart
// We also update prevtime values with current ones after we pushed to the arrays
if changeD
f_arrFill(cpArrHigh, cpArrLow, prevArrh, prevArrl, prevArrc, prevMarh, prevMarl)
valHolder.unshift(valueHold.new(_high, _low, _high, _close, _low, time, pr_h, pr_l))
The rest of the code is annotated and commented. You can let me know in comments if you have any questions. Happy trading.
IchiBot - [SigmaStreet]
The IchiBot Indicator has been used to develop automated trading systems. It leverages the open-source Ichimoku framework provided by Trading View, to enable users to creatively generate over 1 trillion different combinations of trading conditions with the use of multiple timeframes to create unique “signal labels” that can be used to create custom strategies or provide in depth market analysis. At the end of this description, I have provided an example of input settings for a simple scalping strategy that I have back tested on US30 on the 5 minute timeframe.
Overview of the Settings:
The visuals section includes an option to show or hide certain parts of the indicator and change the size of the signal labels plotted on the chart.
Next to the “Signal color on baseline/candles” section, you can choose if you want to see additional signals generations from the most previous plotted label on a color changing baseline, or color changing candles. A color change from gray to blue/red indicate that the conditions from the most previously plotted signal label have been met again.
The next 5 sections are all related to the strategy portion of the indicator, used to aid in the back testing process. These sections are titled “Stop loss”, “Take Profit”, “Trail Stop”, “Trade Settings” and “Trade Schedule”.
The Stop Loss section includes an option to choose between value of “pts”, “atr” (average true range) or “None”. The stop loss value in “pts” is simply a specified number of points or pips from the current entry price of a trade that are input in the “SL” section. If the stop loss type is “atr” the “SL” section is not used and the value is calculated and displaced from the current entry price of a trade based on the atr period multiplied by the atr multiplier.
The take profit section is based on the same logic as the stop loss.
The Trail Stop section includes an option to choose between values “pts” or “None”. If the Trail Stop value is “pts”, a trailing stop loss is activated if a trade moves a point value into profit that exceeds the value of the “Trail Activation”. If the Trail Offset type is “pts”, the trailing stop loss is placed a point value away from the current price that is equal to the “Trail Offset” value.
The trade settings section has two options to either prevent or allow trade reversals and prevent or allow only 1 trade per signal label.
If the “Don’t allow trade reversals” is on, then a currently active trade can not be cancelled by an opposite trade signal. It can only be cancelled by the exit logic selected in the above sections. If the “One trade per signal” is selected, the strategy will only enter a trade if the most recent signal label is different from the last signal label where a trade was entered, or if the most recent signal label is in the opposite direction of the most recent signal label where a trade was entered.
The trade schedule section includes an option to only generate signal labels during the specified time. You can choose between 24/7 which will generate signals without any time restriction, or you can choose a custom time which is based on the America / New York time zone.
The timeframe settings section includes an option to choose “single” or “multiple” timeframes, as well as an option to show every signal label combination (“all”), or only the signal labels with the highest numerical value (“absolute”).
If you select “single” next to “timeframe”, the indicator will show you labels based on trade conditions met from only 1 selected timeframe. If you select “multiple” next to “timeframe”, the indicator is designed to return signal labels based on trade conditions that have been met on at least 2 different timeframes.
If you select “multiple” and “use current timeframe”, the indicator will include labels that always include a minimum of 2 timeframes where 1 timeframe is always the current timeframe. If you unselect the “use current timeframe”, the indicator will include labels with a minimum of 2 timeframes.
If you select “multiple” next to “timeframe” and “all” next to “Show all/absolute labels”, the indicator will show you every possible combination of labels that vary from trade conditions met on a minimum of 2 timeframes, to the maximum number of timeframes selected.
If you select “multiple” next to “timeframe” and “absolute” next to “Show all/absolute labels”, the indicator will only show you labels where the numerical value is equivalent to the maximum number of timeframes selected.
Each signal label provides a number which refers to the number of timeframes used to generate the label, offering insights briefly. Hover over a label to reveal detailed tooltip information that details the exact timeframes used to generate each label.
You can choose all from “Show all/absolute labels” to see every possible combination of trade signals or “absolute” to only see labels that have the highest possible numerical value. Absolute means that every condition selected from every timeframe was calculated to be true at the same time on the same candle.
The next 8 sections are “Current timeframe trade conditions”, “1-minute timeframe trade conditions”, “5-minute timeframe trade conditions”, “15-minute timeframe trade conditions”, “30-minute timeframe trade conditions”, “1-hour timeframe trade conditions”, “4-hour timeframe trade conditions”, “Daily timeframe trade conditions”.
These sections include the same 10 trade conditions, that can be used independently, or in combination with each other. This brings the total number of trade conditions to 70.
The final section includes a standard option to adjust the current Ichimoku values.
Understanding the Calculations:
The term “future” refers to a value that is calculated 26 candles to the right of the most recent closing price.
The term “current” refers to a value that is calculated on the most recent closing price.
The term “past” refers to a value that is calculated 26 candles to the left of the most recent closing price.
Bullish is referred to as “blue” and bearish is referred to as “red”.
Buy Signals:
1. The current closing price is greater than the current cloud value.
2. The future cloud is blue.
3. The current closing price is greater than the current conversion line.
4. The current conversion line is greater than the current baseline.
5. The lagging span is greater than the closing price of the last 25 candles.
6. The lagging span is greater than the past cloud.
7. The lagging span is greater than the past conversion line and the past baseline.
8. The current conversion line is greater than the current cloud.
9. The current baseline is greater than the current cloud.
10. The value of the current cloud to the future cloud is completely blue.
Sell Signals:
1. The current closing price is less than the current cloud value.
2. The future cloud is red.
3. The current closing price is less than the current conversion line.
4. The current conversion line is less than the current baseline.
5. The lagging span is less than the closing price of the last 25 candles.
6. The lagging span is less than the past cloud.
7. The lagging span is less than the past conversion line and the past baseline.
8. The current conversion line is less than the current cloud.
9. The current baseline is less than the current cloud.
10. The value of the current cloud to the future cloud is completely red.
The script enables users to access the value of these 10 trade conditions across the 7 major time frames (1-minute, 5-minute, 15-minute, 30-minute, 1-hour, 4-hour, Daily, and the current charts time frame) by using the official non repainting request security function provided by Trading View:
f_secSecurity(_src, _res, _exp) =>
request.security(_src, _res, _exp )
This indicator provides up to 70 variables (10 variables X 7 timeframes) that can be used separately, or in combination to generate signal labels.
Enhance your visual analysis with a color-changing baseline and candle colors that adapt to signal shifts, offering an immediate understanding of market trends. The base line will change from gray to blue/red which will reference the most previously plotted signal label. This change in color indicate that the conditions from the most recently plotted signal label have been met once again. Please refer to the example below.
Adjustments to the Ichimoku Indicator:
The script uses a slightly refined version of the Ichimoku indicator to calculate 10 different “trade conditions”. Each trade condition can create 1 bullish signal label and 1 bearish signal label. The calculations are primarily based on “greater than and less than logic” which is standard for signal generation.
In the original Ichimoku calculations, the “Lagging Span” has a default value of 26 periods. In the actual calculations, this input with the title “Lagging Span” is referred to as the “displacement”. When the lagging span is plotted on the chart, it is plotted with an offset value of offset = -displacement + 1 which technically plots the lagging span 25 candles to the left the most recent candle (if you count the most recent closing price as 0 and not 1). The clouds are plotted with an offset of offset = displacement -1 which technically plots the clouds 25 candles to the right of the most recent candle.
I have adjusted the logic of the Ichimoku indicator so the lagging span is still plotted 25 candles to the left of the most recently confirmed candle close, but the cloud is plotted 26 candles to the right of the most recent confirmed candle close.
This seemingly small adjustment of one candle cannot simply be adjusted in the settings of the original Ichimoku indicator since the calculations of the cloud and lagging span displacements are directly affected by the same value (displacement = 26, also known as the “lagging span”). My script is adjusted to make calculations where the lagging span is 25 candles to the left of the most recent candle, and the cloud is displaced 26 candles to the right of the most recent candle.
For example, my scripts logic to detect if the current closing price is over the current cloud is (close > leadLead1 and close > leadLine2 and leadLine1 > leadLine2 . By using a lookback of , the logic assumes that the displaced value is 26 bars to the right of the most recent candle. My script also reflects this logic in the plotted values of the cloud where the offset values are offset = displacement. This adjustment is made without affecting any other part of the Ichimoku indicators calculations, only the displacement of the cloud which directly affects the logic of trade conditioins. This change is a deliberate and necessary function of this script’s logic to generate trade conditions and signal labels.
I’ve removed the conversion line and the lagging span and introduced a 26-period pivot high/low to provide a less cluttered chart. The pivot high/low looks 26 periods to the left and only 1 period to the right. The lagging span and conversion line logic is still built into the framework of the trading signals. If you choose to enable the lagging span, or conversion line.
trading approach, and always test your strategies thoroughly.
The function to generate the "Signal Labels" calculates every single possible combination of the 7 different timeframes which is a total of 127 combinations for bullish signal labels, and 127 combinations for bearish signal labels. This function also provides the necessary criteria for the strategy entry conditions, based on the dynamically calculated values derived from the signal labels themselves. For example: "buy signal on 1 minute and 5 minute timeframe" is considered 1 combination, and "Buy signal on current, 5 minute, 15 minute, 30 minute, 1 hour, 4 hour and daily timeframe" is also considered 1 combination. There are a total of 254 combinations between buy and sell signal labels along with 254 individual variables with their own unique tool tip description. The signal label function alone spans over 1340 lines of code (minus spaces and comments) to specifically account for every possible variable combination. This unique and original function also calculates the signal label "value" which is the number you see on the signal label. This function adjusts the amount of labels plotted, the value and description of all labels based on the timeframe settings "single"/"multiple", the use of "use current timeframe" setting, and the "trade schedule". This signal label function has been a landmark piece of code for me in my endeavor to create and optimize my strategies based on its ability to provide an in depth analysis of the timeframes used when generating signal labels. This function is main reason that this script has been published closed source.
Back tested results.
The current results are from US30 (Dow Jones Industrial Average CFD) on the 5-minute timeframe using regular candles. The inputs are as follows:
Stop loss = 5000 pts
No take profit.
Trail activation = 100 pts
Trail offset = 100 pts
Don’t allow trade reversals
Trade 24/7
Timeframe = multiple
Show absolute signals
Use current timeframe, lag span over/under candles
Use 30m timeframe, all cloud is bull/bear
Initial capital = $10,000 USD, 1 contract, $0.07 per contract, slippage = 3 ticks, use bar magnifier = on
Timeframe = June 1st, 2023 – November 10th, 2023, risk = 5% (greatest loosing trade = $500.44)
BUY/SELL RSI FLIUX v1.0The "BUY/SELL RSI FLUX v1.0" indicator is designed to provide buy and sell signals based on the RSI (Relative Strength Index) and price action in relation to support and resistance levels. It overlays directly on the price chart and includes the following components:
- Support and Resistance Levels: Determined over a specified number of bars (lengthSR), these levels represent potential barriers where price action may stall or reverse.
- ATR (Average True Range): Used to measure market volatility. While it's calculated in the script, it's not visualized on the chart as per the latest modification.
- RSI: The RSI is calculated over a defined period (lengthRSI) and is used to identify overbought or oversold conditions. Buy signals are generated when the RSI is below the oversold threshold (rsiOversold) and the price is above the support level. Conversely, sell signals occur when the RSI is above the overbought threshold (rsiOverbought), the price is below the resistance level, and additionally, the price is below a long-term moving average, which acts as a trend filter.
- Long-Term Moving Average: This moving average is plotted to help identify the prevailing market trend. Sell signals are filtered based on the price's position in relation to this moving average.
- Buy/Sell Signals: Visual representations in the form of shapes are plotted below (for buy) or above (for sell) the price bars to indicate potential entry points.
By combining these elements, the indicator aims to provide high-probability trading signals that align with both the market's momentum and trend.
Pivot PointsDescription:
The Pivot Point indicator is designed to identify potential entry and exit points based on pivot points and manually tracks the average entry price and position size without executing actual trades, allowing for a visual simulation of pyramiding strategies.
Inputs for Customization:
i_leverage: User-defined leverage for trades.
i_takeProfit: Percentage for taking profit, adjusted by leverage.
i_dca: Percentage for dollar-cost averaging (DCA) when the price is a certain percentage below the entry, adjusted by leverage.
i_pivotFactor: Factor used to calculate the entry price from the pivot points.
i_pivotLength: The length of the lookback period to calculate the highest and lowest pivot points.
Usage Tips:
This indicator can be use by itself to provide entry and exit signals based on pivot points that will be generated from the provided `Pivot Factor`. An input of 1 will be the same as no factor.
This indicator can also be used as an input source for other indicators to facilitate other ideas.
SPX Daily Probability Predictor_MFCDescription:
The SPX Daily Probability Predictor is a powerful trading indicator designed exclusively for TradingView, providing traders with valuable insights into the potential movement of the S&P 500 index (SPX) on a daily basis. This indicator utilizes a sophisticated calculation method based on historical price movements, including gaps, to estimate the probability of the index's future direction.
Key Features:
Daily Probability Calculation:
The indicator calculates the daily probability of the SPX movement by analyzing the standard deviation of historical price changes. This statistical approach offers a comprehensive understanding of the market's volatility and aids traders in making more informed decisions.
Historical Movement Inclusion:
Unlike traditional indicators that only consider the closing prices, the SPX Daily Probability Predictor goes a step further by incorporating the full spectrum of daily movements, including gaps. This inclusive approach provides a more accurate representation of market dynamics, enhancing the reliability of the probability predictions.
Real-Time Analysis:
Stay ahead of the market with real-time analysis that adapts to the current trading session. The SPX Daily Probability Predictor dynamically adjusts its calculations throughout the trading day, ensuring that traders receive the most up-to-date and relevant information for their decision-making process.
Customizable Parameters:
Tailor the indicator to your trading preferences with customizable parameters. Adjust the lookback period or fine-tune other settings to align the probability predictions with your individual trading strategy.
By incorporating historical price movements, including gaps, and employing statistical analysis to calculate daily probabilities, the SPX Daily Probability Predictor equips traders with a valuable tool for anticipating potential market directions. Whether you are a seasoned investor or a newcomer to the world of trading, this indicator provides actionable insights that can contribute to more informed decision-making in the dynamic environment of the stock market.
Upcoming Enhancements:
Please note that while the SPX Daily Probability Predictor currently offers a robust set of features for daily market analysis, we are committed to continuous improvement and the development of additional functionalities. In future updates, users can look forward to exciting enhancements, including the capability to forecast future probabilities of market movements. This forward-looking feature will provide traders with a valuable glimpse into potential trends, aiding in more proactive decision-making.
Furthermore, we are actively working on expanding the indicator's scope to accommodate different time frames. Soon, traders will have the option to obtain probability data not only on a daily basis but also for monthly or weekly intervals. This extended flexibility allows for a more comprehensive analysis, catering to various trading styles and preferences.
As we strive to create a versatile and powerful tool for the TradingView community, we welcome user feedback and suggestions for additional features. Your insights play a crucial role in shaping the future evolution of the SPX Daily Probability Predictor, ensuring it remains a valuable asset in the dynamic landscape of financial markets. Stay tuned for updates as we continue to enhance and refine this innovative trading indicator.
Daily - Smart Money Demand & Supply Zones - RBR RBD DBD DBR Are you looking to level up your trading game and spot potential turning points in the stock market? Introducing the Smart Money Demand and Supply Zones indicator, a powerful tool designed to identify opportunities created by the Smart money.
The Smart Money Demand and Supply Zones indicator is built upon the principles of Rally Base Rally (RBR), Rally Base Drop (RBD), Drop Base Rally (DBR), Drop Base Drop (DBD).
🔍 Key Details 🔍
The "Smart Money" concept refers to large institutional investors and professional traders who possess significant financial resources and expertise. The importance of smart money lies in their influence on market trends and price movements. Their actions and positions often serve as signals for retail traders and investors to make informed decisions.
Formation of Smart Money: Smart money is attracted to areas in the market where they can find favourable risk-to-reward opportunities.
1. Rally Base Rally (RBR) Zones: These zones occur after a rally (upward price movement), followed by a period of consolidation (base formation), and then another rally. Smart money often forms positions here as it suggests a strong uptrend continuation.
2. Rally Base Drop (RBD) Zones: In this case, there is a rally, followed by a base formation, but instead of another rally, the price drops. Smart money may position themselves here in anticipation of a potential trend reversal.
3. Drop Base Rally (DBR) Zones: These zones form when there is a drop in price, followed by a base formation, and then a rally. Smart money may take positions here, expecting a trend reversal to the upside.
4. Drop Base Drop (DBD) Zones: In this scenario, the price drops, then forms a base, but subsequently continues to drop. Smart money might take bearish positions here, anticipating further downward movement.
🚀 Pending Orders from Smart Money Zones: 🚀
When the price approaches these smart money zones, institutional investors often place remaining pending orders to enter the market.
By identifying RBR/DBR zones as potential buying opportunities and RBD/DBD zones as potential selling opportunities on price charts, retail traders can align their trades with smart money activities. Implementing proper risk management and confirming signals enhances the likelihood of successful trades by following the footsteps of institutional investors.
💡 Key Features of the Indicator 💡
This indicator includes the following features:
Customizable Zone Length: Adjust the number of base candles in a zone to suit your preferences and strategy.
Candle Body Size Customization: Personalize the body size of candles for fine-tuning visual representation.
Base Candle Selection: Choose between the body of the candle or narrow range candles as the base candle for zone plotting.
Colour Customization For Candles: Customize Drop, Base, Rally, and Zone colours to match your visual preferences.
Number of Zones: This feature is flexible, allowing you to customize the quantity of zones displayed on the chart for improved visibility.
Zone Colours: You have the option to personalize the colours for both fresh and tested zones based on your preferences.
Zone Strength Customization: Adjust candle sensitivity for better control.
Swing High and Swing Low: Enable or disable support and demand lines based on Swing High and Swing Low.
Wick of Candle: Customize zone plotting using the body or wicks of candles for flexible analysis.
Previous Zones: You can choose to display or disable previous zones on the chart that have been deleted and utilized before. This option helps you maintain a clutter-free chart while retaining valuable historical information.
Moving Averages: Utilize four (4) customizable Moving Averages to enhance analysis from any time frame.
💎 Employing a Top-Down Approach and Multiple Time Frame Analysis: 💎
Let's delve into the concept of adopting a top-down approach combined with multiple time frame analysis in trading scenarios. It is consistently recommended to trade with the trend because, as the saying goes, "the trend is your friend." If you identify a demand zone on the chart but the overall trend is downward, it's crucial to confirm the stock's trend in higher timeframes. Avoid purchasing from the demand zone in such a scenario as you would be going against the trend. To consider buying from the demand zone, ensure that the overall trend is upward by checking the higher timeframe.
Similarly, if the higher timeframe trend is upward but the price is approaching a higher timeframe supply zone, refrain from buying in the lower timeframe. If the price reaches a higher timeframe supply zone, there is a likelihood that the price will face rejection from this zone.
If the price is significantly extended from the EMA 20 on a higher timeframe, for instance, if you plan to trade on a 30-minute timeframe and the price is considerably extended from the daily EMA 20, consider trading from zones that are closer to the daily EMA 20. When the price is extended from the higher timeframe EMA 20, it implies that the price is expensive, and there may be a tendency for it to return to the EMA 20. Therefore, it is advisable to trade from zones that are closer to the higher timeframe EMA 20 and avoid zones that are extended from the higher timeframe EMA 20.
For instance, imagine you're considering purchasing a stock that has reached a demand zone known as Rally Base Rally (RBR). If you identify a corresponding demand zone in a higher time frame located at the same position, and concurrently observe that the intermediate time frame indicates an upward trend, your potential for a successful trade is enhanced.
Conversely, if you spot a buying zone in a lower time frame, but notice a supply zone in the higher time frame at that exact position, the likelihood of a profitable trade decreases significantly. In such cases, it's prudent to steer clear of the lower time frame zone. This emphasizes the critical significance of employing a top-down approach or conducting a multiple time frame analysis.
Note: By Doing top down approach you can easily follow the footprints of smart money in the stock market or any other market by using this indicator and make well-informed trading decisions.
Remember, don't make decisions based only on one time frame. Check the overall trend of the stock and look at buying and selling points on bigger time scales. If you only use one time scale, your chances of making successful trades will be lower.
💎 To execute these comprehensive analyses and optimize your trading outcomes, you can make use of my indicator called "Demand & Supply Zone Scoring: Rally Base & Drop Concept."💎
This indicator is thoughtfully crafted to assess the strength of trade setups based on demand and supply zones through a scoring mechanism. It serves as your guide for correct top-down and multiple time frame analysis, eliminating the possibility of overlooking any strategic parameters. To gain deeper insights, you can learn more about how to use this indicator in its description.
Lastly, Thank you for your support, your likes & comments." Feel free to ask if you have questions.
Let's conquer the markets together! 🚀
Smart Money Demand & Supply Zones - RBR RBD DBD DBR by AfnanAre you looking to level up your trading game and spot potential turning points in the stock market? Introducing the Smart Money Demand and Supply Zones indicator, a powerful tool designed to identify opportunities created by the Smart money.
The Smart Money Demand and Supply Zones indicator is built upon the principles of Rally Base Rally (RBR), Rally Base Drop (RBD), Drop Base Rally (DBR), Drop Base Drop (DBD).
🔍 Key Details 🔍
The "Smart Money" concept refers to large institutional investors and professional traders who possess significant financial resources and expertise. The importance of smart money lies in their influence on market trends and price movements. Their actions and positions often serve as signals for retail traders and investors to make informed decisions.
Formation of Smart Money: Smart money is attracted to areas in the market where they can find favourable risk-to-reward opportunities.
1. Rally Base Rally (RBR) Zones: These zones occur after a rally (upward price movement), followed by a period of consolidation (base formation), and then another rally. Smart money often forms positions here as it suggests a strong uptrend continuation.
2. Rally Base Drop (RBD) Zones: In this case, there is a rally, followed by a base formation, but instead of another rally, the price drops. Smart money may position themselves here in anticipation of a potential trend reversal.
3. Drop Base Rally (DBR) Zones: These zones form when there is a drop in price, followed by a base formation, and then a rally. Smart money may take positions here, expecting a trend reversal to the upside.
4. Drop Base Drop (DBD) Zones: In this scenario, the price drops, then forms a base, but subsequently continues to drop. Smart money might take bearish positions here, anticipating further downward movement.
🚀 Pending Orders from Smart Money Zones: 🚀
When the price approaches these smart money zones, institutional investors often place remaining pending orders to enter the market.
By identifying RBR/DBR zones as potential buying opportunities and RBD/DBD zones as potential selling opportunities on price charts, retail traders can align their trades with smart money activities. Implementing proper risk management and confirming signals enhances the likelihood of successful trades by following the footsteps of institutional investors.
💡 Key Features of the Indicator 💡
This indicator includes the following features:
Customizable Zone Length: Adjust the number of base candles in a zone to suit your preferences and strategy.
Candle Body Size Customization: Personalize the body size of candles for fine-tuning visual representation.
Alert Feature: The alert feature can notify you when the price reaches a demand or supply zone, with the ability to customize the risk-to-reward parameters.
Base Candle Selection: Choose between the body of the candle or narrow range candles as the base candle for zone plotting.
Colour Customization For Candles: Customize Drop, Base, Rally, and Zone colours to match your visual preferences.
Number of Zones: This feature is flexible, allowing you to customize the quantity of zones displayed on the chart for improved visibility.
Zone Colours: You have the option to personalize the colours for both fresh and tested zones based on your preferences.
Zone Strength Customization: Adjust candle sensitivity for better control.
Swing High and Swing Low: Enable or disable support and demand lines based on Swing High and Swing Low.
Wick of Candle: Customize zone plotting using the body or wicks of candles for flexible analysis.
Previous Zones: You can choose to display or disable previous zones on the chart that have been deleted and utilized before. This option helps you maintain a clutter-free chart while retaining valuable historical information.
Moving Averages: Utilize four (4) customizable Moving Averages to enhance analysis from any time frame.
💎 Employing a Top-Down Approach and Multiple Time Frame Analysis: 💎
Let's delve into the concept of adopting a top-down approach combined with multiple time frame analysis in trading scenarios. It is consistently recommended to trade with the trend because, as the saying goes, "the trend is your friend." If you identify a demand zone on the chart but the overall trend is downward, it's crucial to confirm the stock's trend in higher timeframes. Avoid purchasing from the demand zone in such a scenario as you would be going against the trend. To consider buying from the demand zone, ensure that the overall trend is upward by checking the higher timeframe.
Similarly, if the higher timeframe trend is upward but the price is approaching a higher timeframe supply zone, refrain from buying in the lower timeframe. If the price reaches a higher timeframe supply zone, there is a likelihood that the price will face rejection from this zone.
If the price is significantly extended from the EMA 20 on a higher timeframe, for instance, if you plan to trade on a 30-minute timeframe and the price is considerably extended from the daily EMA 20, consider trading from zones that are closer to the daily EMA 20. When the price is extended from the higher timeframe EMA 20, it implies that the price is expensive, and there may be a tendency for it to return to the EMA 20. Therefore, it is advisable to trade from zones that are closer to the higher timeframe EMA 20 and avoid zones that are extended from the higher timeframe EMA 20.
For instance, imagine you're considering purchasing a stock that has reached a demand zone known as Rally Base Rally (RBR). If you identify a corresponding demand zone in a higher time frame located at the same position, and concurrently observe that the intermediate time frame indicates an upward trend, your potential for a successful trade is enhanced.
Conversely, if you spot a buying zone in a lower time frame, but notice a supply zone in the higher time frame at that exact position, the likelihood of a profitable trade decreases significantly. In such cases, it's prudent to steer clear of the lower time frame zone. This emphasizes the critical significance of employing a top-down approach or conducting a multiple time frame analysis.
Note: By Doing top down approach you can easily follow the footprints of smart money in the stock market or any other market by using this indicator and make well-informed trading decisions.
Remember, don't make decisions based only on one time frame. Check the overall trend of the stock and look at buying and selling points on bigger time scales. If you only use one time scale, your chances of making successful trades will be lower.
💎 To execute these comprehensive analyses and optimize your trading outcomes, you can make use of my indicator called "Demand & Supply Zone Scoring: Rally Base & Drop Concept."💎
This indicator is thoughtfully crafted to assess the strength of trade setups based on demand and supply zones through a scoring mechanism. It serves as your guide for correct top-down and multiple time frame analysis, eliminating the possibility of overlooking any strategic parameters. To gain deeper insights, you can learn more about how to use this indicator in its description.
Lastly, Thank you for your support, your likes & comments." Feel free to ask if you have questions.
Let's conquer the markets together! 🚀
Bar Retracement Do you love Fibonacci ratios/levels? Have you ever thought to apply them to individual bars? If you are not familiar with these ratios and their significance, you can read about them here: www.investopedia.com
This simple indicator applies Fibonacci levels on the previous bar. This enables the quick determination of how far the current bar retraced relative to the precious one. Key levels are highlighted in yellow, orange, and red. You can choose to set an alert for "Large Retracements". This can be very useful for ending trades and avoiding full price reversals. There are other insights that can be gleaned as well.
Happy trading...
Session Fibonacci Levels [QuantVue]The "Session Fibonacci Levels" indicator is a powerful tool designed for traders who aim to use Fibonacci retracement and extension levels in their trading strategy.
The indicator combines Fibonacci levels with customized trading sessions, allowing traders to observe and utilize Fibonacci levels that are automatically calculated for each defined session.
This approach offers a dynamic and session-relevant perspective on potential support and resistance levels, which can be crucial for intraday trading strategies.
🔹The indicator calculates Fibonacci retracement and extension levels based on the high and low prices of a specified trading session, dynamically adjusting to the location of the high and low bar.
If the low of the session occurs before the high, the fib levels are measured from low to high.
If the low of the session occurs after the high, the fib levels are measured from high to low.
🔹Users can set their time zone and define trading sessions, allowing for flexibility and applicability across global markets. This is particularly beneficial for traders who focus on specific market hours like the London or New York sessions.
Important sessions:
New York (8:00am - 5:00pm EST)
London (3:00am - 12:00pm EST)
Asia (7:00pm - 4:00am EST)
Custom session (user defined session in indicator settings)
🔹The indicator dynamically updates Fibonacci levels as new highs and lows are made within the session, keeping the analysis current. Additionally, it provides alerts when prices hit key Fibonacci levels, aiding in timely decision-making.
How to Use:
Configure the time zone and session time
Once the session begins, the indicator will begin highlighting the session range
When the session ends, Fibonacci levels based on the high and low of the session will be drawn
Use these levels to identify potential support and resistance areas
High and low of last D, W, 4W and quaterThis script shows you the Highs and Lows from multiple candels from some different timeframes. They are the 1D, 1W, 4W (a month basically), and 3M (a quater). The indicator offery you many customization option to make it look how you like it best
Liquidations Meter [LuxAlgo]The Liquidation Meter aims to gauge the momentum of the bar, identify the strength of the bulls and bears, and more importantly identify probable exhaustion/reversals by measuring probable liquidations.
🔶 USAGE
This tool includes many features related to the concept of liquidation. The two core ones are the liquidation meter and liquidation price calculator, highlighted below.
🔹 Liquidation Meter
The liquidation meter presents liquidations on the price chart by measuring the highest leverage value of longs and shorts that have been potentially liquidated on the last chart bar, hence allowing traders to:
gauge the momentum of the bar.
identify the strength of the bulls and bears.
identify probable reversal/exhaustion points.
Liquidation of low-leveraged positions can be indicative of exhaustion.
🔹 Liquidation Price Calculator
A liquidation price calculator might come in handy when you need to calculate at what price level your leveraged position in Crypto, Forex, Stocks, or any other asset class gets liquidated to add a protective stop to mitigate risk. Monitoring an open position gets easier if the trader can calculate the total risk in order for them to choose the right amount of margin and leverage.
Liquidation price is the distance from the trader's entry price to the price where trader's leveraged position gets liquidated due to a loss. As the leverage is increased, the distance from trader's entry price to the liquidation price shrinks.
While you have one or several trades open you can quickly check their liquidation levels and determine which one of the trades is closest to their liquidation price.
If you are a day trader that uses leverage and you want to know which trade has the best outlook you can calculate the liquidation price to see which one of the trades looks best.
🔹 Dashboard
The bar statistics option enables measuring and presenting trading activity, volatility, and probable liquidations for the last chart bar.
🔶 DETAILS
It's important to note that liquidation price calculator tool uses a formula to calculate the liquidation price based on the entry price + leverage ratio.
Other factors such as leveraged fees, position size, and other interest payments have been excluded since they are variables that don’t directly affect the level of liquidation of a leveraged position.
The calculator also assumes that traders are using an isolated margin for one single position and does not take into consideration the additional margin they might have in their account.
🔹Liquidation price formula
the liquidation distance in percentage = 100 / leverage ratio
the liquidation distance in price = current asset price x the liquidation distance in percentage
the liquidation price (longs) = current asset price – the liquidation distance in price
the liquidation price (shorts) = current asset price + the liquidation distance in price
or simply
the liquidation price (longs) = entry price * (1 – 1 / leverage ratio)
the liquidation price (shorts) = entry price * (1 + 1 / leverage ratio)
Example:
Let’s say that you are trading a leverage ratio of 1:20. The first step is to calculate the distance to your liquidation point in percentage.
the liquidation distance in percentage = 100 / 20 = 5%
Now you know that your liquidation price is 5% away from your entry price. Let's calculate 5% below and above the entry price of the asset you are currently trading. As an example, we assume that you are trading bitcoin which is currently priced at $35000.
the liquidation distance in price = $35000 x 0.05 = $1750
Finally, calculate liquidation prices.
the liquidation price (longs) = $35000 – $1750 = $33250
the liquidation price (short) = $35000 + $1750 = $36750
In this example, short liquidation price is $36750 and long liquidation price is $33250.
🔹How leverage ratio affects the liquidation price
The entry price is the starting point of the calculation and it is from here that the liquidation price is calculated, where the leverage ratio has a direct impact on the liquidation price since the more you borrow the less “wiggle-room” your trade has.
An increase in leverage will subsequently reduce the distance to full liquidation. On the contrary, choosing a lower leverage ratio will give the position more room to move on.
🔶 SETTINGS
🔹Liquidations Meter
Base Price: The option where to set the reference/base price.
🔹Liquidation Price Calculator
Liquidation Price Calculator: Toggles the visibility of the calculator. Details and assumptions made during the calculations are stated in the tooltip of the option.
Entry Price: The option where to set the entry price, a value of 0 will use the current closing price. Details are given in the tooltip of the option.
Leverage: The option where to set the leverage value.
Show Calculated Liquidation Prices on the Chart: Toggles the visibility of the liquidation prices on the price chart.
🔹Dashboard
Show Bar Statistics: Toggles the visibility of the last bar statistics.
🔹Others
Liquidations Meter Text Size: Liquidations Meter text size.
Liquidations Meter Offset: Liquidations Meter offset.
Dashboard/Calculator Placement: Dashboard/calculator position on the chart.
Dashboard/Calculator Text Size: Dashboard text size.
🔶 RELATED SCRIPTS
Here are some of the scripts that are related to the liquidation and liquidity concept, for more and other conceptual scripts you are kindly invited to visit LuxAlgo-Scripts .
Liquidation-Levels
Liquidations-Real-Time
Buyside-Sellside-Liquidity
Market Structure (Breakers) [LuxAlgo]The Market Structure (Breakers) indicator aims to detect "Breaker Market Structures", an original concept inspired by breaker blocks, and extend on the original concept of market structures by extending existing MS levels, providing supports/resistances as a result.
Various graphical elements are included that highlight the interactions between price and Breaker structures.
🔶 USAGE
Breaker structures occur when a market structure is confirmed (price breaking a previous swing level). The broken swing point is extended by a dotted line which can be used as potential support or resistance.
After a market structure, the price can eventually reverse and break one or multiple breaker structures at the same time, allowing for the detection of new trends in the price.
A market structure closer to the top/bottom of a trend can return Breaker structures breakouts more indicative of potential reversals.
Breakers MS breakouts can also be useful as exits for entries done using market market structures.
The script additionally highlights support/resistance events by highlighting candle borders, with a border using a green color indicating support events while a red color is indicative of a resistance event.
🔹 Breaker Structure Lifespan
The "lifespan" of Breaker structures, that is the amount of time the script will extend/evaluate them is determined by various user settings.
The Maximum Breaks setting determines the maximum amount of breaks a breaker structure can withstand before it is broken.
For example, a maximum amount of breaks of 3 for a bearish breaker structure would require the price to cross under that precise breaker structure level three times. Using higher values of this setting will also highlight more Breakers MS.
The Breaker Maximum Duration setting on the other hand determines how many bars a breaker structure can be evaluated without being broken. If a breaker structure is not broken after this amount of bars then it will stop being evaluated and will be removed.
🔶 SETTINGS
Swings Period: Period used for the swing detection, with higher values returning longer term markter structures.
Maximum Breaks: Amount of break required for a breaker block to be considered broken.
Breaker Maximum Duration: Maximum duration of a breaker block (in bars).