TCLC(TraderChitra Learning Class)-Option ChainThis indicator plots the Option chain data of the following instruments and columns..
It plots 11 rows ,
5 Rows above the input strike price
1 Row for the input strike price
5 Rows below the input strike price
Instruments :
1. NIFTY
2. BANKNIFTY
3. FINNIFTY
4. MIDCPNifty
Columns :
1. StrikePrice
2.CMP
3.Volume
4.VWAP
5.Diff (Open-Close)
Traders need to change the expiry date to check the premium of the corresponding instruments...
There are few key things,
1. Rows in yellow are marked as ATM strike price
2. Cell values in red / green indicates the prices are trading above / below the VWAP
The prices are expected to be bullish when cmp trades above VWAP and we can gauge the trend
The column Volume provides the details in which strike price more traders are actively traded..
The far month contracts can also be changed in the settings and it helps the swing/positional traders
The Strike price can be modified to check the appropriate strikes
Educational
Partial Profit Calculator [TFO]This indicator was built to help calculate the outcome of trades that utilize multiple profit targets and/or multiple entries.
In its simplest form, we can have a single entry and a single profit target. As shown below in this long trade example, the indicator will draw risk and reward boxes (red and green, respectively) with several annotations. On the left-hand side, all entries will be displayed (in this case there is only one entry, "E1"). On the bottom, the "SL" label indicates the trade's stop loss placement. On the top, all target prices are displayed (in this case there is only one target, "TP1"). Lastly, on the right-hand side a label will display the total R that is to be expected from a winning trade, where R is one's unit of risk.
In the following example, we have two target prices - one at 18600 and one at 18700. You can input as many target prices as you'd like, separated by commas, i.e. "18600,18700" in this example. Make sure the values are separated by commas only, and not spaces, new lines, etc. As a result, we can see that the indicator draws where our profit targets would be with respect to our entry, E1. The indicator assumes that equal parts of the trade position are taken off at each target price. In this example on Nasdaq futures (NQ1!), since we have 2 target prices, this would be equivalent to assuming that we take exactly half the trade position off at TP1, and the remaining half of the position at TP2.
If we wanted to take more of the position off at a certain target, we could simply duplicate the target price. Here I set the target prices to "18600,18600,18700" to enforce that two thirds of the position be taken off at TP1 and TP2, while the remaining third gets taken off at TP3.
We can also show outcome annotations to describe how much R is generated from each possible trade outcome. Using the below chart as an example, the stop loss indicates a -1R loss. The total R from this trade criteria is 1.33 R, and each target price shows how much R is being generated if one were to take off an equal part of the position at said target prices. In this case, we would generate 0.17 R from taking one third of the position off at TP1, another 0.5 R from taking one third of the position off at TP2, and another 0.67 R from taking the remaining one third of the position off at TP3, all adding up to the total R indicated on the right-hand side label.
Using multiple entries works the same way as using multiple target prices, where the input should indicate each entry price separated by commas. In this example I've used "18550,18450" to achieve an average price of 18500, as indicated by the "E_avg" label that appears when more than one entry price is utilized. We can also opt to display risk as dollars instead of R values, where you can input your desired risk per trade, and all values are shown as dollar amounts instead of R multiples, as shown below with a risk per trade of $100.
This is meant to be an educational tool for trades that utilize multiple profit targets and/or entries. Hope you like it!
Custom Text DisplayThe "Custom Text Display" indicator allows users to display customizable text in a fixed position in the bottom-right corner of their chart. Each text entry can have its own color, which can be set in the indicator's settings. Follow these steps to set up and use the indicator effectively:
Adding the Indicator to Your Chart:
Apply the "Custom Text Display" indicator to your chart from the indicators list.
Configuring Text and Colors:
Open the settings for the indicator.
Enter the desired text for each of the five text fields labeled "Text 1", "Text 2", etc.
Choose a color for each text entry using the color pickers labeled "Color 1", "Color 2", etc.
Selecting the Active Text:
In the indicator settings, find the "Select Active Text" dropdown menu.
This menu offers six options: "0" (None), "1" (Text 1), "2" (Text 2), "3" (Text 3), "4" (Text 4), and "5" (Text 5).
Select the number corresponding to the text you want to activate. Only one text can be active at a time.
Viewing the Active Text on the Chart:
The selected active text will be displayed in the bottom-right corner of the chart with the corresponding background color.
If no text is selected (option "0"), no text will be displayed.
Volatility Adaptive Signal Tracker (VAST)The Adaptive Trend Following Buy/Sell Signals Pine Script is designed to help traders identify and capitalize on market trends using an adaptive trend-following strategy. This script focuses on generating reliable buy and sell signals by analyzing market trends and volatility. It simplifies the trading process by providing clear signals without plotting additional lines, making it easy to use and interpret.
Key Features:
Adaptive Trend Following:
The script employs an adaptive trend-following approach that leverages market volatility to generate buy and sell signals. This method is effective in both trending and volatile markets.
Inputs and Customization:
The script includes customizable parameters for the Simple Moving Average (SMA) length, the Average True Range (ATR) length, and the ATR multiplier. These inputs allow traders to adjust the sensitivity of the signals to match their trading style and market conditions.
Signal Generation:
Buy Signal: Generated when the closing price crosses above the upper adaptive band, indicating a potential upward trend.
Sell Signal: Generated when the closing price crosses below the lower adaptive band, indicating a potential downward trend.
Visual Signals:
The script uses plotshape to mark buy signals with green labels below the bars and sell signals with red labels above the bars. This clear visual representation helps traders quickly identify trading opportunities.
Alert Conditions:
The script sets up alert conditions for both buy and sell signals. Traders can use these alerts to receive notifications when a signal is generated, ensuring they do not miss any trading opportunities.
How It Works:
SMA Calculation: The script calculates the Simple Moving Average (SMA) over a specified period, which helps in identifying the general trend direction.
ATR Calculation: The Average True Range (ATR) is calculated to measure market volatility.
Adaptive Bands: Upper and lower adaptive bands are created by adding and subtracting a multiple of the ATR to the SMA, respectively.
Signal Logic: Buy signals are generated when the closing price crosses above the upper band, while sell signals are generated when the closing price crosses below the lower band.
Example Use Case:
A trader looking to capitalize on medium-term trends in the Nifty futures market can use this script to receive timely buy and sell signals. By customizing the SMA length and ATR parameters, the trader can fine-tune the script to match their trading strategy, ensuring they enter and exit trades at optimal points.
Benefits:
Simplicity: The script provides clear buy and sell signals without cluttering the chart with additional lines or indicators.
Adaptability: Customizable parameters allow traders to adapt the script to various market conditions and trading styles.
Alerts: Built-in alert conditions ensure traders receive timely notifications, helping them to act quickly on trading signals.
How to Use:
Open TradingView: Go to the TradingView website and log in.
Create a New Chart: Click on the “Chart” button to open a new chart.
Open the Pine Script Editor: Click on the “Pine Editor” tab at the bottom of the chart.
Create a New Script: Delete any default code in the Pine Script editor and paste the provided script.
Add to Chart: Click on the “Add to Chart” button to compile and add the script to your chart.
Save the Script: Click “Save” and name the script.
Set Alerts: Right-click on the chart, select “Add Alert,” and choose the appropriate condition to set alerts for buy and sell signals.
Moving Average Ratio [InvestorUnknown]Overview
The "Moving Average Ratio" (MAR) indicator is a versatile tool designed for valuation, mean-reversion, and long-term trend analysis. This indicator provides multiple display modes to cater to different analytical needs, allowing traders and investors to gain deeper insights into the market dynamics.
Features
1. Moving Average Ratio (MAR):
Calculates the ratio of the chosen source (close, open, ohlc4, hl2 …) to a longer-term moving average of choice (SMA, EMA, HMA, WMA, DEMA)
Useful for identifying overbought or oversold conditions, aiding in mean-reversion strategies and valuation of assets.
For some high beta asset classes, like cryptocurrencies, you might want to use logarithmic scale for the raw MAR, below you can see the visual difference of using Linear and Logarithmic scale on BTC
2. MAR Z-Score:
Computes the Z-Score of the MAR to standardize the ratio over chosen time period, making it easier to identify extreme values relative to the historical mean.
Helps in detecting significant deviations from the mean, which can indicate potential reversal points and buying/selling opportunities
3. MAR Trend Analysis:
Uses a combination of short-term (default 1, raw MAR) and long-term moving averages of the MAR to identify trend changes.
Provides a visual representation of bullish and bearish trends based on moving average crossings.
Using Logarithmic scale can improve the visuals for some asset classes.
4. MAR Momentum:
Measures the momentum of the MAR by calculating the difference over a specified period.
Useful for detecting changes in the market momentum and potential trend reversals.
5. MAR Rate of Change (ROC):
Calculates the rate of change of the MAR to assess the speed and direction of price movements.
Helps in identifying accelerating or decelerating trends.
MAR Momentum and Rate of Change are very similar, the only difference is that the Momentum is expressed in units of the MAR change and ROC is expressed as % change of MAR over chosen time period.
Customizable Settings
General Settings:
Display Mode: Select the display mode from MAR, MAR Z-Score, MAR Trend, MAR Momentum, or MAR ROC.
Color Bars: Option to color the bars based on the current display mode.
Wait for Bar Close: Toggle to wait for the bar to close before updating the MAR value.
MAR Settings:
Length: Period for the moving average calculation.
Source: Data source for the moving average calculation.
Moving Average Type: Select the type of moving average (SMA, EMA, WMA, HMA, DEMA).
Z-Score Settings:
Z-Score Length: Period for the Z-Score calculation.
Trend Analysis Settings:
Moving Average Type: Select the type of moving average for trend analysis (SMA, EMA).
Longer Moving Average: Period for the longer moving average.
Shorter Moving Average: Period for the shorter moving average.
Momentum Settings:
Momentum Length: Period for the momentum calculation.
Rate of Change Settings:
ROC Length: Period for the rate of change calculation.
Calculation and Plotting
Moving Average Ratio (MAR):
Calculates the ratio of the price to the selected moving average type and length.
Plots the MAR with a gradient color based on its Z-Score, aiding in visual identification of extreme values.
// Moving Average Ratio (MAR)
ma_main = switch ma_main_type
"SMA" => ta.sma(src, len)
"EMA" => ta.ema(src, len)
"WMA" => ta.wma(src, len)
"HMA" => ta.hma(src, len)
"DEMA" => ta.dema(src, len)
mar = (waitforclose ? src : src) / ma_main
z_col = color.from_gradient(z, -2.5, 2.5, color.green, color.red)
plot(disp_mode.mar ? mar : na, color = z_col, histbase = 1, style = plot.style_columns)
barcolor(color_bars ? (disp_mode.mar ? (z_col) : na) : na)
MAR Z-Score:
Computes the Z-Score of the MAR and plots it with a color gradient indicating the magnitude of deviation from the mean.
// MAR Z-Score
mean = ta.sma(math.log(mar), z_len)
stdev = ta.stdev(math.log(mar),z_len)
z = (math.log(mar) - mean) / stdev
plot(disp_mode.mar_z ? z : na, color = z_col, histbase = 0, style = plot.style_columns)
plot(disp_mode.mar_z ? 1 : na, color = color.new(color.red,70))
plot(disp_mode.mar_z ? 2 : na, color = color.new(color.red,50))
plot(disp_mode.mar_z ? 3 : na, color = color.new(color.red,30))
plot(disp_mode.mar_z ? -1 : na, color = color.new(color.green,70))
plot(disp_mode.mar_z ? -2 : na, color = color.new(color.green,50))
plot(disp_mode.mar_z ? -3 : na, color = color.new(color.green,30))
barcolor(color_bars ? (disp_mode.mar_z ? (z_col) : na) : na)
MAR Trend:
Plots the MAR along with its short-term and long-term moving averages.
Uses color changes to indicate bullish or bearish trends based on moving average crossings.
// MAR Trend - Moving Average Crossing
mar_ma_long = switch ma_trend_type
"SMA" => ta.sma(mar, len_trend_long)
"EMA" => ta.ema(mar, len_trend_long)
mar_ma_short = switch ma_trend_type
"SMA" => ta.sma(mar, len_trend_short)
"EMA" => ta.ema(mar, len_trend_short)
plot(disp_mode.mar_t ? mar : na, color = mar_ma_long < mar_ma_short ? color.new(color.green,50) : color.new(color.red,50), histbase = 1, style = plot.style_columns)
plot(disp_mode.mar_t ? mar_ma_long : na, color = mar_ma_long < mar_ma_short ? color.green : color.red, linewidth = 4)
plot(disp_mode.mar_t ? mar_ma_short : na, color = mar_ma_long < mar_ma_short ? color.green : color.red, linewidth = 2)
barcolor(color_bars ? (disp_mode.mar_t ? (mar_ma_long < mar_ma_short ? color.green : color.red) : na) : na)
MAR Momentum:
Plots the momentum of the MAR, coloring the bars to indicate increasing or decreasing momentum.
// MAR Momentum
mar_mom = mar - mar
// MAR Momentum
mom_col = mar_mom > 0 ? (mar_mom > mar_mom ? color.new(color.green,0): color.new(color.green,30)) : (mar_mom < mar_mom ? color.new(color.red,0): color.new(color.red,30))
plot(disp_mode.mar_m ? mar_mom : na, color = mom_col, histbase = 0, style = plot.style_columns)
MAR Rate of Change (ROC):
Plots the ROC of the MAR, using color changes to show the direction and strength of the rate of change.
// MAR Rate of Change
mar_roc = ta.roc(mar,len_roc)
// MAR ROC
roc_col = mar_roc > 0 ? (mar_roc > mar_roc ? color.new(color.green,0): color.new(color.green,30)) : (mar_roc < mar_roc ? color.new(color.red,0): color.new(color.red,30))
plot(disp_mode.mar_r ? mar_roc : na, color = roc_col, histbase = 0, style = plot.style_columns)
Summary:
This multi-purpose indicator provides a comprehensive toolset for various trading strategies, including valuation, mean-reversion, and trend analysis. By offering multiple display modes and customizable settings, it allows users to tailor the indicator to their specific analytical needs and market conditions.
ArbitrageDashboardv3310824This indicator allows you to monitor the spread (difference in exchange rates) between two assets in real-time for up to 12 trading pairs simultaneously.
⚙️ How does the indicator work?
In the settings menu, you can select two trading pairs, such as BTCUSDT on Binance and BTCUSDT on Bybit. The script then fetches prices from both exchanges and compares them, calculating the percentage difference (spread). This process is repeated for all 12 trading pairs added in the settings. The script works only with the assets and exchanges available on TradingView.
⚡️ How to use it?
When the spread is negative, it means the asset's price on the first exchange is lower than on the second. By buying on the first exchange and selling on the second, you can make a profit (taking into account the exchange fees). When the spread is positive, the opposite is true. The buy prices and exchanges are shown in a green Buy row, while sell prices and exchanges are displayed in a red Sell row. If the spread is zero, prices are the same on both exchanges, and no arbitrage opportunity exists. For better accuracy, use the smallest timeframe available in your TradingView subscription, such as minute or second intervals.
🕒 Arbitrage Situation Counter
For each trading pair, the table below the Buy row shows the number of arbitrage situations within a specified timeframe. An arbitrage situation occurs when the spread exceeds the Signal Threshold Level set by the user. Each time this happens, the counter increases by one. It only counts situations that occurred within the selected timeframe, such as the past hour for a 1-hour period. You can track arbitrage situations for up to three different periods simultaneously, ranging from 5 minutes to 24 hours. This counter helps evaluate the potential for arbitrage in the selected trading pairs. If a pair shows only 1-2 arbitrage situations per hour, it might be better to look for another pair.
🔔 Setting Up Alerts
In the script settings, you can set the Spread Signal Threshold. When the spread reaches this level, the table for that asset will be highlighted. This threshold also acts as a signal for setting up alerts. To set alerts, go to the Alerts tab in the TradingView menu on the right, click "Create Alert", and select this indicator under "Condition". You can then name the alert and finish the setup by clicking "Create".
We, the authors, have long been involved in cryptocurrency arbitrage and created this script for our own trading, but you can use it for any assets and markets as you see fit.
We also offer lighter versions of the indicator that track the spread for one or three trading pairs. These versions also display the spread chart, which can be useful for historical analysis. If the full indicator is too resource-intensive for your device, try these lighter versions:
🧩 Arbitrage Spread v1 : 1 pair + 1 chart
🧩 Arbitrage Spread v2 : 3 pairs + 3 charts
If your hardware can handle it, you can use the 12-pair version as a dashboard and add one of the versions with a spread chart for a detailed view of one or three pairs.
--
Этот индикатор позволяет в реальном времени отслеживать изменение спреда (разницы в цене) между двумя активами для 12 торговых пар одновременно.
⚙️ Как работает индикатор?
В меню настроек индикатора пользователь выбирает две торговые пары, например BTCUSDT на бирже Binance и BTCUSDT на бирже Bybit. Скрипт получает цены с обеих бирж и сравнивает их, рассчитывая процентное отклонение (спред). Этот процесс выполняется для всех 12 торговых пар, указанных в настройках. Скрипт работает только с теми активами и биржами, которые доступны на TradingView.
⚡️ Как использовать?
Когда спред отрицательный, это означает, что цена на первый актив ниже, чем на второй. В таком случае можно купить актив на первой бирже и продать на второй, получив прибыль (не забывая учитывать биржевые комиссии). Когда спред положительный, ситуация обратная. Биржи и цены для покупки отображаются в зеленой строке Buy, а для продажи – в красной строке Sell. При нулевом спреде цены на обеих биржах одинаковы, и арбитражная ситуация отсутствует.
Для повышения точности индикатора используйте минимально доступный таймфрейм на TradingView – минутный или секундный.
🕒 Счетчик арбитражных ситуаций
По каждой торговой паре в таблице под строкой Buy отображается количество арбитражных ситуаций за определенный промежуток времени. Арбитражная ситуация возникает, когда спред превышает установленный пользователем сигнальный уровень (Signal Threshold Level). При каждом превышении этого уровня счетчик увеличивается на единицу. Счетчик учитывает арбитражные ситуации за определенный период, например, за последний час для 1-часового периода (1h). Можно отслеживать количество арбитражных ситуаций одновременно для трех временных периодов от 5 минут до суток.
Счетчик помогает оценить перспективность арбитража выбранных пар. Если за час на паре было всего 1-2 арбитражные ситуации, возможно, лучше поискать другую пару.
🔔 Настройка оповещений
В настройках скрипта можно задать пороговое значение спреда (Spread Signal Threshold). Когда спред достигнет этого уровня, таблица для данного актива будет подсвечена. Этот уровень также служит сигналом для настройки оповещений.
Для настройки оповещений откройте вкладку «Оповещения» в меню TradingView справа. Нажмите кнопку «Создать оповещение». В открывшемся окне в строке «Условие» выберите данный индикатор. Затем задайте название и завершите настройку, нажав кнопку «Создать».
Мы, авторы этого скрипта, давно занимаемся арбитражем криптовалют и создали его для себя, но вы можете использовать его для любых активов и на любых рынках по своему усмотрению.
У нас также есть более простая версия индикатора, которая отслеживает спред для одной или трех торговых пар. В этих версиях можно просматривать график самого спреда, что полезно для оценки его динамики. Если этот индикатор кажется вам или вашему устройству слишком тяжелым, вы можете воспользоваться облегченными версиями:
🧩 Arbitrage Spread v1 : 1 пара + 1 график
🧩 Arbitrage Spread v2 : 3 пары + 3 графика
Если ваше оборудование позволяет, вы можете добавить несколько индикаторов на экран. Например, использовать версию с 12 парами как дашборд, а одну из версий с графиком спреда для более детального анализа по одному или трем инструментам.
Strategy CheckListStrategy CheckList
Overview
The Strategy CheckList is a customizable TradingView indicator designed to help traders maintain consistency and discipline in their trading strategies. By providing a visual checklist directly on the chart, this tool ensures that traders can quickly review and confirm their strategy criteria before making trading decisions.
Key Features
- Customizable checklist with up to 6 items
- Adjustable position on the chart (top-right or bottom-right)
- Configurable background and text colors
- Selectable font sizes for optimal visibility
- Interactive checkboxes for each list item
How It Works
1. Users can input up to 6 checklist items representing key aspects of their trading strategy.
2. Each item can be toggled on or off using a checkbox.
3. The checklist is displayed as a table overlay on the chart, allowing for quick reference without obstructing the view of price action.
4. The position, colors, and font size of the checklist can be easily customized to suit individual preferences and chart setups.
Use Cases
- Pre-trade checklist: Ensure all strategy conditions are met before entering a trade
- Risk management: Include reminders about position sizing, stop-loss placement, etc.
- Strategy adherence: Keep key rules visible to avoid impulsive decisions
- Performance improvement: Track adherence to your trading plan over time
Customization Options
- Background color
- Text color
- Font size (small, normal, large, huge)
- Position on chart (top-right, bottom-right)
- Individual checklist items and their checked/unchecked status
Benefits
- Improves trading discipline
- Reduces emotional decision-making
- Enhances strategy consistency
- Serves as a quick reference for complex strategies
- Adaptable to various trading styles and timeframes
This Strategy CheckList indicator is an invaluable tool for traders looking to enhance their decision-making process and maintain consistency in their trading approach. By keeping crucial strategy elements visible and interactive, it promotes disciplined trading and can potentially improve overall trading performance.
Portfolio Index Generator [By MUQWISHI]▋ INTRODUCTION:
The “Portfolio Index Generator” simplifies the process of building a custom portfolio management index, allowing investors to input a list of preferred holdings from global securities and customize the initial investment weight of each security. Furthermore, it includes an option for rebalancing by adjusting the weights of assets to maintain a desired level of asset allocation. The tool serves as a comprehensive approach for tracking portfolio performance, conducting research, and analyzing specific aspects of portfolio investment. The output includes an index value, a table of holdings, and chart plotting, providing a deeper understanding of the portfolio's historical movement.
_______________________
▋ OVERVIEW:
The image can be taken as an example of building a custom portfolio index. I created this index and named it “My Portfolio Performance”, which comprises several global companies and crypto assets.
_______________________
▋ OUTPUTS:
The output can be divided into 4 sections:
1. Portfolio Index Title (Name & Value).
2. Portfolio Specifications.
3. Portfolio Holdings.
4. Portfolio Index Chart.
1. Portfolio Index Title, displays the index name at the top, and at the bottom, it shows the index value, along with the chart timeframe, e.g., daily change in points and percentage.
2. Portfolio Specifications, displays the essential information on portfolio performance, including the investment date range, initial capital, returns, assets, and equity.
3. Portfolio Holdings, a list of the holding securities inside a table that contains the ticker, average entry price, last price, return percentage of the portfolio's initial capital, and customized weighted percentage of the portfolio. Additionally, a tooltip appears when the user passes the cursor over a ticker's cell, showing brief information about the company, such as the company's name, exchange market, country, sector, and industry.
4. Index Chart, display a plot of the historical movement of the index in the form of a bar, candle, or line chart.
_______________________
▋ INDICATOR SETTINGS:
Section(1): Style Settings
(1) Naming the index.
(2) Table location on the chart and cell size.
(3) Sorting Holdings Table. By securities’ {Return(%) Portfolio, Weight(%) Portfolio, or Ticker Alphabetical} order.
(4) Choose the type of index: {Equity or Return (%)}, and the plot type for the index: {Candle, Bar, or Line}.
(5) Positive/Negative colors.
(6) Table Colors (Title, Cell, and Text).
(7) To show/hide any indicator’s components.
Section(2): Performance Settings
(1) Calculation window period: from DateTime to DateTime.
(2) Initial Capital and specifying currency.
(3) Option to enable portfolio rebalancing in {Monthly, Quarterly, or Yearly} intervals.
Section(3): Portfolio Holdings
(1) Enable and count security in the investment portfolio.
(2) Initial weight of security. For example, if the initial capital is $100,000 and the weight of XYZ stock is 4%, the initial value of the shares would be $4,000.
(3) Select and add up to 30 symbols that interested in.
Please let me know if you have any questions.
OrderBlock Trend (CISD)OrderBlock Trend (CISD) Indicator
Overview:
The "OrderBlock Trend (CISD)" AKA: change in state of delivery by ICT inner circle trader this indicator is designed to help traders identify and visualize market trends based on higher timeframe candle behavior. This script leverages the concept of order blocks, which are price levels where significant buying or selling activity has occurred, to signal potential trend reversals or continuations. By analyzing bullish and bearish order blocks on a higher timeframe, the indicator provides visual cues and statistical insights into the market's current trend dynamics.
Key Features:
Higher Timeframe Analysis: The indicator uses a higher timeframe (e.g., Daily) to assess the trend direction based on the open and close prices of candles. This approach helps in identifying more significant and reliable trend changes, filtering out noise from lower timeframes.
Bullish and Bearish Order Blocks: The script detects the first bullish or bearish candle on the selected higher timeframe and uses these candles as reference points (order blocks) to determine the trend direction. A bullish trend is indicated when the current price is above the last bearish order block's open price, and a bearish trend is indicated when the price is below the last bullish order block's open price.
Visual Trend Indication: The indicator visually represents the trend using background colors and plot shapes:
A green background and a square shape above the bars indicate a bullish trend.
A red background and a square shape above the bars indicate a bearish trend.
Candle Count and Statistics: The script keeps track of the number of up and down candles during bullish and bearish trends, providing percentages of up and down candles in each trend. This data is displayed in a table, giving traders a quick overview of market sentiment during each trend phase.
User Customization: The higher timeframe can be adjusted according to the trader's preference, allowing flexibility in trend analysis based on different time horizons.
Concepts and Calculations:
The "OrderBlock Trend (CISD)" indicator is based on the concept of order blocks, a key area where institutional traders are believed to place large orders, creating significant support or resistance levels. By identifying these blocks on a higher timeframe, the indicator aims to highlight potential trend reversals or continuations. The use of higher timeframe data helps filter out minor fluctuations and focus on more meaningful price movements.
The candle count and percentage calculations provide additional context, allowing traders to understand the proportion of bullish or bearish candles within each trend. This information can be useful for assessing the strength and consistency of a trend.
How to Use:
Select the Higher Timeframe: Choose the higher timeframe (e.g., Daily) that best suits your trading strategy. The default setting is "D" (Daily), but it can be adjusted to other timeframes as needed.
Interpret the Trend Signals:
A green background indicates a bullish trend, while a red background indicates a bearish trend. The corresponding square shapes above the bars reinforce these signals.
Use the information on the proportion of up and down candles during each trend to gauge the trend's strength and consistency.
Trading Decisions: The indicator can be used in conjunction with other technical analysis tools and indicators to make informed trading decisions. It is particularly useful for identifying trend reversals and potential entry or exit points based on the behavior of higher timeframe order blocks.
Customization and Optimization: Experiment with different higher timeframes and settings to optimize the indicator for your specific trading style and preferences.
Conclusion:
The "OrderBlock Trend (CISD)" indicator offers a comprehensive approach to trend analysis, combining the power of higher timeframe order blocks with clear visual cues and statistical insights. By understanding the underlying concepts and utilizing the provided features, traders can enhance their trend detection and decision-making processes in the markets.
Disclaimer:
This indicator is intended for educational purposes and should be used in conjunction with other analysis methods. Always perform your own research and risk management before making trading decisions.
Some known bugs when you switch to lower timeframe while using daily timeframe data it didn't use the daily candle close to establish the trend change but your current time frame If some of you know how to fix it that would be great if you help me to I would try my best to fix this in the future :) credit to ChatGPT 4o
Support and Resistance Pivot Points/Lines [Mauserrifle]Support and Resistance Pivot Points/Lines by Mauserrifle. A personal take on drawing support and resistance pivot lines. This indicator was born as the core of bot strategies I am trying to build. I think this indicator with its feature called “Cooldown rounding” can be useful to others to manually scalp or analyze charts. I did not find other indicators to do the same so I hope you find it useful.
A summary of the features:
It will draw high/low pivot lines based on a maximum of eight higher timeframes
You can set up how many days the lines are valid and appear per timeframe. The default period days are based on a 2m chart strategy. Consider higher values for day charts.
The lines will be drawn from the moment when they are KNOWN, which helps analyzing historical charts. You can change this behavior to make them draw from the pivot (looking at future data on historic data)
The pivot point lines can be rounded by multiple methods: round, ceil/floor, roundn (decimal) and round_to_mintick. This general rounding feature is disabled by default because, in my opinion, a much more useful one can be used which I call “Cooldown rounding” described in the next point.
Cooldown rounding: Round lows and highs for a cooldown period to keep the previous pivot line instead of adding a new line when they match the rounded value within the cooldown period. The existing line will be extended. This feature is useful because it makes sure the initial line is added to the exact high/low pivot level but any future lines within the rounding will just extend the existing line. Consider using roundn on some intraday charts such as SPY 2m.
You can set a maximum minutes for the cooldown. The default is 3 years which is just based on some charting techniques for scalping 2m. It will just enable the cooldown rounding permanently on the intraday (due max bar limit) and with a limit on daily. Tweak it to your needs.
It is possible to always add new pivot lines when a new high is higher or low is lower compared to previous line. Thus ignoring the rounding logic. Consider disabling it on intraday charts such as SPY 2m.
NOTE:
Only configured timeframes EQUAL/ABOVE your chart timeframe will activate
The default period days are optimized for a 2m intraday trading strategy. Consider higher values for day charts.
Max lines rendered is set to 500
Line calculation is limited by the max bars of the chart and date range
Repainting may happen on intraday when for example using a 2m chart timeframe with pivots on 15m+ (as documented by tradingview). Rendered days 7+ will also cause repainting issues on 2m charts. See tradingview support docs: 43000478429. For scalping manually using already known lines this shouldn't be a problem I think but be aware!
The default settings have been set so every chart timeframe will show lines without further configuration.
Keep an eye on the data window how many lines are rendered. Make sure you never exceed 500. Anything above will cause earlier lines to disappear which could be a problem when you use it to analyze historical data.
I hope you find this useful!
DISCLAIMER
Trading is risky & most day traders lose money. This indicator is purely for informational & educational purposes only. Past performance does not guarantee future results.
Auto Fib GOLDEN TARGET Golden Target Auto Fib Indicator
Unlock the power of automatic Fibonacci analysis with the Golden Target Auto Fib Indicator. Designed for traders who want to effortlessly incorporate Fibonacci retracement levels into their strategy, this indicator dynamically calculates and plots key Fibonacci levels based on recent price action.
Key Features:
Automatic Fibonacci Levels: Automatically determines the critical Fibonacci retracement levels using the most recent high and low over a user-defined period.
Customizable Length: Adjust the period over which the Fibonacci levels are calculated to match your trading style and market conditions.
Dynamic Plotting: Fibonacci levels are plotted in real-time, reflecting current market conditions and potential support and resistance areas.
Color-Coded Levels: Distinguishes between different Fibonacci levels with distinct colors, making it easy to identify significant price points at a glance.
Target Labels (Optional): Optionally display labels next to the Fibonacci levels to help identify potential target zones and better visualize the key levels.
How It Works:
The Golden Target Auto Fib Indicator calculates Fibonacci retracement levels based on the highest high and lowest low over a specified length. The levels plotted include key Fibonacci ratios: 23.6%, 38.2%, 61.8%, and the 100% extension, providing valuable insights into potential support and resistance areas as well as price targets.
Usage:
Adjust Settings: Set the Length parameter to define the period over which Fibonacci levels are calculated.
Analyze Levels: Observe the plotted Fibonacci levels and their color-coded lines to identify potential price retracement zones and target areas.
Incorporate Into Strategy: Use these levels in conjunction with your trading strategy to make more informed decisions on entry and exit points.
Whether you're a day trader or a swing trader, the Golden Target Auto Fib Indicator simplifies Fibonacci analysis and integrates seamlessly into your TradingView charts, helping you make more precise trading decisions.
Get started today and enhance your technical analysis with the Golden Target Auto Fib Indicator!
Feel free to adjust the description according to the specific features or customization options of your indicator.
Auto Fib GOLDEN ENTRY WITH PROFIT ZONE TARGETAuto Fib "GOLDEN ENTRY ZONE WITH TARGET PROFIT TAKING" Indicator Review
Overview
The Auto Fib "GOLDEN ENTRY ZONE WITH TARGET PROFIT TAKING" is a sophisticated TradingView indicator designed to enhance Fibonacci analysis by combining entry signals with predefined profit-taking targets. This tool automates the identification of Fibonacci retracement levels and integrates target profit zones, aiming to streamline the trading process and improve overall trading efficiency.
Features
Automatic Fibonacci Levels: This feature automatically plots Fibonacci retracement levels based on recent price swings, removing the need for manual level setting. This ensures consistency and accuracy in identifying key support and resistance levels.
Golden Entry Zone: The indicator highlights the "Golden Entry Zone," a critical area around significant Fibonacci levels such as the 38.2% and 61.8% retracement levels. This zone helps traders identify potential entry points where the price is likely to reverse or find support.
Target Profit Taking Zones: In addition to identifying entry points, the indicator sets predefined profit-taking targets. These targets are derived from Fibonacci extension levels and are visually marked on the chart, guiding traders on where to consider exiting their positions for optimal gains.
Customizable Settings: Users can tailor the indicator’s settings to fit their trading style, including adjusting Fibonacci levels, entry zone parameters, and profit-taking targets. This flexibility ensures that the indicator aligns with various trading strategies and preferences.
Visual Enhancements: The indicator features clear and customizable visual elements, including color-coded entry zones and profit targets. This visual clarity helps traders quickly interpret and act on the signals provided.
Alerts and Notifications: Traders can set up alerts to be notified when the price approaches the "Golden Entry Zone" or reaches the profit-taking targets. This functionality ensures that traders can act swiftly and capitalize on trading opportunities.
Pros
Streamlined Fibonacci Analysis: By automating Fibonacci level plotting, the indicator eliminates manual errors and saves time, allowing traders to focus on strategy execution.
Enhanced Entry and Exit Points: The combination of the "Golden Entry Zone" and predefined profit-taking targets provides a comprehensive approach to trading, helping traders identify both optimal entry points and strategic exit levels.
Customizable and Flexible: The ability to adjust settings allows traders to adapt the indicator to various market conditions and personal trading styles, making it a versatile tool.
Visual Clarity: The clear graphical representation of entry zones and profit targets improves decision-making and reduces the likelihood of missing key trading opportunities.
Cons
Market Conditions Dependence: The effectiveness of the indicator may vary depending on market volatility and trends. In highly dynamic markets, the predefined profit targets may need adjustments or additional analysis.
Lagging Nature: As with any tool based on historical data, there can be a lag in signal accuracy. Traders should use the indicator in conjunction with other analysis methods to validate signals.
Potential Over-Reliance: Relying solely on the indicator without considering broader market conditions or additional technical factors may lead to suboptimal trading decisions.
Conclusion
The Auto Fib "GOLDEN ENTRY ZONE WITH TARGET PROFIT TAKING" indicator is a powerful tool for traders who utilize Fibonacci retracement and extension levels. By automating the identification of entry points and integrating profit-taking targets, it simplifies the trading process and helps traders make more informed decisions. While the indicator offers significant advantages in terms of ease of use and visual clarity, it is important to use it as part of a broader trading strategy and to consider additional market factors.
For traders looking to enhance their Fibonacci analysis and streamline their trading approach, the Auto Fib "GOLDEN ENTRY ZONE WITH TARGET PROFIT TAKING" provides a valuable and effective solution.
Feel free to modify or expand upon this review based on your specific experiences or additional features of the indicator!
1000SATS and ORDI Market Cap RatioSure! Here is a detailed description and usage guide for your TradingView indicator:
### Indicator Description
**Title**: 1000SATS/ORDI Market Cap Ratio
**Description**: The "1000SATS/ORDI Market Cap Ratio" indicator calculates and visualizes the market capitalization ratio between 1000SATS and ORDI. This indicator allows traders and investors to analyze the relative market strength and valuation trends of 1000SATS compared to ORDI over time. By tracking this ratio, users can gain insights into market dynamics and potential trading opportunities between these two assets.
### Indicator Usage
**Purpose**:
- To compare the market capitalizations of 1000SATS and ORDI.
- To identify potential undervaluation or overvaluation of 1000SATS relative to ORDI.
- To assist in making informed trading and investment decisions based on market cap trends.
**How to Use**:
1. **Add the Indicator to Your Chart**:
- Open TradingView and navigate to your chart.
- Click on the "Indicators" button at the top of the chart.
- Select "Pine Editor" and paste the provided script.
- Click "Add to Chart" to apply the indicator.
2. **Interpret the Ratio**:
- The indicator will plot a line representing the ratio of the market capitalization of 1000SATS to ORDI.
- A rising ratio indicates that the market cap of 1000SATS is increasing relative to ORDI, suggesting stronger market performance or higher valuation of 1000SATS.
- A falling ratio indicates that the market cap of 1000SATS is decreasing relative to ORDI, suggesting weaker market performance or lower valuation of 1000SATS.
3. **Analyze Trends**:
- Use the indicator to spot trends and potential reversal points in the market cap ratio.
- Combine the ratio analysis with other technical indicators and chart patterns to enhance your trading strategy.
4. **Set Alerts**:
- Set custom alerts on the ratio to notify you of significant changes or specific thresholds being reached, enabling timely decision-making.
**Example**:
- If the ratio is consistently rising, it may indicate a good opportunity to consider 1000SATS as a stronger investment relative to ORDI.
- Conversely, if the ratio is falling, it may be a signal to reevaluate the strength of 1000SATS compared to ORDI.
**Note**: Always conduct thorough analysis and consider other market factors before making trading decisions based on this indicator.
### Script
```pinescript
//@version=4
study("1000SATS and ORDI Market Cap Ratio", shorttitle="1000SATS/ORDI Ratio", overlay=true)
// Define the circulating supply for ORDI and 1000SATS
ORDI_supply = 21000000 // Circulating supply of ORDI
SATS_1000_supply = 2100000000000 // Circulating supply of 1000SATS
// Fetch the price data for ORDI
ordi_price = security("BINANCE:ORDIUSDT", timeframe.period, close)
// Fetch the price data for 1000SATS
sats_1000_price = security("BINANCE:1000SATSUSDT", timeframe.period, close)
// Calculate the market capitalizations
ordi_market_cap = ordi_price * ORDI_supply
sats_1000_market_cap = sats_1000_price * SATS_1000_supply
// Calculate the market cap ratio
ratio = sats_1000_market_cap / ordi_market_cap
// Plot the ratio
plot(ratio, title="1000SATS/ORDI Market Cap Ratio", color=color.blue, linewidth=2)
```
This description and usage guide should help users understand the purpose and functionality of your indicator, as well as how to effectively apply it in their trading activities on TradingView.
MultiTFlevels with Volume Display1. Overview
This indicator is intended for use on trading platforms like TradingView and provides the following features:
Volume Profile Analysis:
Shows cumulative volume delta (CVD) and displays buying and selling volumes.
Historical OHLC Levels:
Plots historical open, high, low, and close levels for various timeframes (e.g., daily, weekly, monthly).
Customizable Settings:
Allows users to toggle different elements and customize display options.
2. Inputs
Timeframe Display Toggles:
Users can choose to display OHLC levels from different timeframes such as previous month, week, day, 4H, 1H, 30M, 15M, and 5M.
CVD Display Toggle: Option to show or hide the Cumulative Volume Delta (CVD).
Line and Label Customization:
leftOffset and rightOffset: Define how far lines are extended left and right from the current bar.
colorMonth, colorWeek, etc.: Customize colors for different timeframe OHLC levels.
labelOffset and rightOffset: Control the positioning of volume labels.
3. Key Features
Cumulative Volume Delta (CVD)
Calculation:
Computes the cumulative volume delta by adding or subtracting the volume based on whether the close price is higher or lower than the open price.
Display:
Shows a label on the chart indicating the current CVD value and whether the market is leaning towards buying or selling.
Historical OHLC Levels
Data Retrieval:
Uses the request.security function to fetch OHLC data from different timeframes (e.g., monthly, weekly, daily).
Plotting:
Draws lines and labels on the chart to represent open, high, low, and close levels for each selected timeframe.
Buying and Selling Volumes
Calculation:
Calculates buying and selling volumes based on whether the close price is higher or lower than the open price.
Display:
Shows labels on the chart for buying and selling volumes.
4. Functions
getOHLC(timeframe)
Retrieves open, high, low, and close values from the specified timeframe.
plotOHLC(show, open, high, low, close, col, prefix)
Draws OHLC lines and labels on the chart for the given timeframe and color.
5. Usage
Chart Overlay: The indicator is overlaid on the main chart (i.e., it appears directly on the price chart).
Historical Analysis:
Useful for analyzing historical price levels and volume dynamics across different timeframes.
Volume Insights:
Helps traders understand the cumulative volume behavior and market sentiment through the CVD and volume labels.
In essence, this indicator provides a comprehensive view of historical price levels across multiple timeframes and the dynamics of market volume through CVD and volume labels. It can be particularly useful for traders looking to combine price action with volume analysis for a more in-depth market assessment.
Important Levels by Sandun Kolambage
### Pine Script Indicator: Important Levels by Sandun Kolambage
#### Description
Introducing our new pivot point and high/low indicator for TradingView! This indicator is designed to help traders identify key levels of support and resistance across different timeframes, from daily to yearly. By analyzing historical data and market trends, our indicator displays the most important pivot points and high/low levels, giving you a better understanding of market dynamics and potential trading opportunities.
Whether you're a day trader, swing trader, or long-term investor, our indicator can help you optimize your trading strategy and achieve your financial goals. Install our indicator on TradingView today and start taking advantage of these important levels!
#### Key Features
- **Daily, Weekly, Monthly, and Yearly Levels:** Automatically plots the open, high, low, and close prices for different timeframes to help traders identify significant levels.
- **Pivot Points:** Calculates and displays pivot points for weekly, monthly, and yearly timeframes, providing additional support and resistance levels.
- **Customizable Line Styles:** Offers options to customize the appearance of the lines (solid, dashed, or dotted) for better visualization.
- **Conditional Coloring:** Uses color coding to highlight the relationship between different timeframe closes, making it easy to spot important levels.
#### How It Works
1. **Daily, Weekly, Monthly, and Yearly Levels:**
- The indicator uses `request.security` to fetch and display open, high, low, and close prices for daily, weekly, monthly, and yearly timeframes.
- Lines are plotted at these key levels with colors indicating their relationship to closes of other timeframes.
2. **Pivot Points:**
- Pivot points are calculated using the formula \((High + Low + Close) / 3\).
- These pivot points are plotted on the chart and labeled clearly to indicate potential support and resistance areas.
3. **Customizable Line Styles:**
- Users can select from solid, dashed, or dotted lines to represent the key levels and pivot points for better clarity and personal preference.
4. **Conditional Coloring:**
- The indicator applies conditional coloring to the lines based on the comparison of current close prices across different timeframes. Yellow indicates lower closes, and red indicates higher closes, making it easy to identify important price levels quickly.
#### Usage Instructions
1. **Enable Key Levels:**
- Toggle the "Daily Weekly Monthly High/Low" option to display or hide the respective levels.
- Select your preferred line style (solid, dashed, dotted) for better visibility.
2. **Display Pivot Points:**
- Toggle the "Pivot" option to show or hide the weekly, monthly, and yearly pivot points on the chart.
3. **Interpret Color Coding:**
- Yellow lines indicate levels where the close price is lower compared to a specific timeframe close.
- Red lines indicate levels where the close price is higher compared to a specific timeframe close.
- Specific colors for yearly levels and pivots are used to distinguish them clearly on the chart.
By following these guidelines, traders can effectively use this indicator to identify critical price levels and make informed trading decisions.
Power Law Volatility by G. Santostasi Introduction
This TradingView indicator is designed to provide a comprehensive analysis of Bitcoin's price movements using the concept of power laws. The indicator leverages the mathematical properties of power laws to predict returns and highlight significant deviations from expected trends. By applying the power law model to Bitcoin's price data, we aim to capture the diminishing returns over time and provide valuable insights to traders and analysts.
Theoretical Foundation
The foundation of this indicator is based on the power law, which describes a relationship between two quantities where one quantity varies as a power of another. Specifically, in the context of Bitcoin prices, we observe that returns follow a power law relationship with time.
Mathematically, if the power law holds true, the price P at time 𝑡 can be expressed as:
log(𝑃)=𝑚log(𝑡)+c where m is the slope of the power law and c is the y-intercept.
To understand the returns, we consider two points in time,
𝑡1and 𝑡2, with corresponding prices 𝑃 and 𝑃2. The returns can be derived as follows:
log(𝑃2)−log(𝑃1)=𝑚(log(𝑡2)−log(𝑡1))
This simplifies to:
log(𝑃2/𝑃1)=𝑚log(𝑡2/𝑡1)
For daily data, we let 𝑡2=𝑡1+1resulting in:
log(𝑅)=𝑚log(𝑡+1/𝑡)
where 𝑅 represents the returns, 𝑡 is the number of days from the Genesis Block, and
𝑚 is the slope of the power law.
Observations and Data Analysis
Using historical Bitcoin price data, we observe that returns decrease over time, which is indicative of diminishing returns. To validate this observation, we averaged real returns over a two-month period and compared them with the theoretical results derived from the power law:
𝑚log(𝑡2/𝑡1)
The comparison shows that the averaged real returns align closely with the theoretical predictions, reinforcing the validity of the power law model.
This alignment indicates that the power law is not merely an arbitrary straight line but a model that accurately captures the decay of returns over time. The scaling property of the power law holds at all scales, providing a robust framework for analyzing Bitcoin's price dynamics.
Indicator Components
The indicator comprises several components to visualize the power law's implications and provide actionable insights:
Theoretical Power Law Trend:
Plots the theoretical result from the power law model.
Shows the expected returns based on the power law relationship.
Real Returns:
Plots the real returns averaged over a user-defined Simple Moving Average (SMA) or Exponential Moving Average (EMA).
Provides a comparison between actual market performance and theoretical predictions.
When the real volatility is above the theoretical one derived from the power law the indicator identifies times when the price is overvalued.
Standard Deviations:
Calculates standard deviations on a moving window basis.
Plots deviations from the theoretical power law trend, highlighting significant discrepancies.
Color-Coded Thresholds:
Highlights points that deviate significantly from the expected trend.
Red indicates returns above the upper threshold (indicating potential overperformance or overvaluation).
Green indicates returns below the lower threshold (indicating potential underperformance or undervaluation).
Practical Usage
Traders and analysts can use this indicator to:
Identify periods where Bitcoin's returns deviate significantly from the expected power law trend.
Make informed trading decisions based on the likelihood of mean reversion to the theoretical trend.
Understand the long-term diminishing returns trend and adjust investment strategies accordingly.
Conclusion
This TradingView indicator leverages the power law to provide a detailed and theoretically grounded analysis of Bitcoin's price movements. By comparing real returns with theoretical predictions, the indicator offers valuable insights into market behavior and highlights significant deviations. The use of color-coded thresholds further enhances the utility of the indicator, making it an essential tool for traders and analysts seeking to understand and capitalize on Bitcoin's price dynamics
Auto Risk Manager
Auto Risk Manager
**Description:**
The "Auto Risk Manager" indicator is designed to assist traders in managing their risk and reward levels efficiently. This indicator is particularly beneficial for traders who want to automate their risk management process, ensuring they adhere to their trading plan without constantly monitoring the charts. It is tailored to help both novice and experienced traders by providing clear visual cues and automated calculations for stop loss and take profit levels.
**Purpose:**
The primary purpose of the Auto Risk Manager is to simplify and automate the process of setting stop loss and take profit levels based on user-defined risk parameters. By leveraging this tool, traders can ensure that they are consistently managing their trades according to their risk tolerance and trading strategy. This indicator helps traders avoid emotional decision-making, which can often lead to suboptimal trading outcomes.
**Functionality:**
The Auto Risk Manager provides the following key features:
1. **Trade Direction:** Allows the trader to specify the direction of the trade (Buy or Sell).
2. **Stop Loss and Take Profit Points:** Users can manually input their desired stop loss and take profit points.
3. **Risk Management:** Traders can enable risk management to automatically calculate stop loss and take profit levels based on their account balance, risk percentage, and desired risk-to-reward ratio.
4. **Visual Representation:** The indicator plots the entry price, stop loss, and take profit levels on the chart, providing a clear visual representation of the trade setup.
5. **Alerts:** The indicator generates alerts when the price hits the stop loss or take profit levels, ensuring that traders are promptly notified of important trade events.
6. **Customization:** Users can customize the appearance of the lines and labels, and choose to show or hide previous points.
**How It Works:**
- **Input Parameters:**
- **Trade Direction:** Select "Buy" or "Sell" to specify the trade direction.
- **Stop Loss and Take Profit Points:** Manually input the points for stop loss and take profit, or leave them blank to use the calculated values.
- **Use Risk Management:** Enable or disable the risk management feature.
- **Risk-to-Reward Ratio:** Specify the desired risk-to-reward ratio.
- **Account Balance:** Input the total account balance.
- **Risk Percentage:** Specify the percentage of the account balance to risk on each trade.
- **Visual Options:** Customize the colors of the entry, stop loss, and take profit lines, and choose to show or hide these lines and their corresponding labels.
- **Calculations:**
- If risk management is enabled, the indicator calculates the stop loss points based on the risk amount (account balance * risk percentage) and the current price. The take profit points are then calculated using the specified risk-to-reward ratio.
- If risk management is disabled, the indicator uses the manually input stop loss and take profit points.
- **Visual Representation:**
- The indicator plots the entry price as a horizontal line on the chart.
- The stop loss and take profit levels are plotted as horizontal lines above or below the entry price, depending on the trade direction.
- Labels showing the exact stop loss and take profit prices are also displayed, providing clear and immediate information.
- **Alerts:**
- The indicator sets up alerts to notify the trader when the price hits the stop loss or take profit levels. These alerts can be configured to trigger once per bar close, ensuring timely notifications.
**How It Helps Traders:**
The Auto Risk Manager simplifies the risk management process by automating the calculation and visualization of critical trade levels. This helps traders to:
- Maintain consistent risk management practices.
- Avoid emotional decision-making by predefining risk and reward levels.
- Save time by automating the calculation of stop loss and take profit levels.
- Stay informed with timely alerts for important trade events.
- Customize the visual representation of trade levels to suit their preferences.
**Instructions for Use:**
1. **Add the Indicator:** Add the "Auto Risk Manager" indicator to your TradingView chart.
2. **Configure Inputs:**
- Select the trade direction (Buy or Sell).
- Enter stop loss and take profit points if you want to use manual values.
- Enable risk management and configure the risk-to-reward ratio, account balance, and risk percentage if you want automatic calculations.
- Customize the visual settings as desired.
3. **Review Trade Levels:** The entry, stop loss, and take profit levels will be plotted on the chart. Review these levels to ensure they align with your trading strategy.
4. **Monitor Alerts:** Set up alerts to receive notifications when the price hits the stop loss or take profit levels.
5. **Execute Trades:** Use the plotted levels to guide your trade entries and exits, ensuring you adhere to your predefined risk management strategy.
The Auto Risk Manager is a powerful tool for traders looking to enhance their trading discipline and efficiency. By automating the risk management process, this indicator allows traders to focus on other aspects of their trading strategy while ensuring consistent adherence to their risk tolerance.
MNQ/NQ Rotations [Tiestobob]### Indicator Description: MNQ/NQ Rotations
TO BE USED ONLY ON THE CONTINOUS CONTRACTS NQ1! and MNQ1! It will not work on others or the forward contracts of these.
#### Overview
The MNQ/NQ Rotations indicator is designed for traders of Nasdaq futures (MNQ and NQ) to visualize key price levels where typical market rotations occur. This indicator identifies and highlights the xxx.20 and xxx.80 levels based on empirical data and trading experience, allowing traders to recognize potential support and resistance points during trading sessions.
#### Key Features
- **Timeframe Selection**: The indicator allows users to specify a timeframe for identifying breakout candles, ensuring flexibility across different trading strategies.
- **Active Trading Range**: Users can define an active trading range, focusing the analysis on specific hours when the market is most active.
- **Visual Representation**: The indicator paints horizontal lines at key price levels (xxx.20 and xxx.80), extending them across a user-defined length to aid in visual analysis.
- **Customization**: Users can customize the color of the lines to match their charting preferences.
#### Inputs
- **Timeframe (`tf`)**: Defines the timeframe to select the breakout candle (default: 1 minute).
- **Active Trading Range (`session`)**: Specifies the time range for identifying breakout candles (default: 08:00-12:00).
- **Line Color (`line_color`)**: Allows customization of the line color (default: purple).
#### Logic
1. **Session Validation**: The indicator checks if the current bar falls within the specified active trading range.
2. **Price Point Calculation**: For each candle close, the indicator calculates the nearest xxx.20 and xxx.80 levels.
3. **Line Drawing**: Horizontal lines are drawn at these key levels, extending a specified length forward to highlight potential rotation points.
#### Use Cases
- **Support and Resistance Identification**: By highlighting the xxx.20 and xxx.80 levels, traders can easily spot areas where the market is likely to reverse or consolidate.
- **Breakout Trading**: Traders can use the indicator to identify breakout levels and set appropriate entry points.
- **Risk Management**: The visual cues provided by the indicator can help traders set more effective stop-loss and take-profit levels.
#### Example
A trader using a 1-minute timeframe with an active trading range from 08:00 to 12:00 will see horizontal lines painted at the nearest xxx.20 and xxx.80 levels for each candle close during this period. These lines serve as visual markers for typical rotation points, aiding in decision-making and trade planning.
#### Conclusion
The MNQ/NQ Rotations indicator is a powerful tool for traders looking to enhance their market analysis of Nasdaq futures. By focusing on empirically derived rotation levels, this indicator provides clear visual cues for identifying key price levels, supporting more informed trading decisions.
HTF TriangleHTF Triangle by ZeroHeroTrading aims at detecting ascending and descending triangles using higher time frame data, without repainting nor misalignment issues.
It addresses user requests for combining Ascending Triangle and Descending Triangle into one indicator.
Ascending triangles are defined by an horizontal upper trend line and a rising lower trend line. It is a chart pattern used in technical analysis to predict the continuation of an uptrend.
Descending triangles are defined by a falling upper trend line and an horizontal lower trend line. It is a chart pattern used in technical analysis to predict the continuation of a downtrend.
This indicator can be useful if you, like me, believe that higher time frames can offer a broader perspective and provide clearer signals, smoothing out market noise and showing longer-term trends.
You can change the indicator settings as you see fit to tighten or loosen the detection, and achieve the best results for your use case.
Features
It draws the detected ascending and descending triangles on the chart.
It supports alerting when a detection occurs.
It allows for selecting ascending and/or descending triangle detection.
It allows for setting the higher time frame to run the detection on.
It allows for setting the minimum number of consecutive valid higher time frame bars to fit the pattern criteria.
It allows for setting a high/low factor detection criteria to apply on higher time frame bars high/low as a proportion of the distance between the reference bar high/low and open/close.
It allows for turning on an adjustment of the triangle using highest/lowest values within valid higher time frame bars.
Settings
Ascending checkbox: Turns on/off ascending triangle detection. Default is on.
Descending checkbox: Turns on/off descending triangle detection. Default is on.
Higher Time Frame dropdown: Selects higher time frame to run the detection on. It must be higher than, and a multiple of, the chart's timeframe. Default is 5 minutes.
Valid Bars Minimum field: Sets minimum number of consecutive valid higher time frame bars to fit the pattern criteria. Default is 3. Minimum is 1.
High/Low Factor checkbox: Turns on/off high/low factor detection criteria. Default is on.
High/Low Factor field: Sets high/low factor to apply on higher time frame bars high/low as a proportion of the distance between the reference bar high/low and open/close. Default is 0. Minimum is 0. Maximum is 1.
Adjust Triangle checkbox: Turns on/off triangle adjustment using highest/lowest values within valid higher time frame bars. Default is on.
Detection Algorithm Notes
The detection algorithm recursively selects a higher time frame bar as reference. Then it looks at the consecutive higher time frame bars (as per the requested number of minimum valid bars) as follows:
Ascending Triangle
Low must be higher than previous bar.
Open/close max value must be lower than (or equal to) reference bar high.
When high/low factor criteria is turned on, high must be higher than (or equal to) reference bar open/close max value plus high/low factor proportion of the distance between reference bar high and open/close max value.
Descending Triangle
High must be lower than previous bar.
Open/close min value must be higher than (or equal to) reference bar low.
When high/low factor criteria is turned on, low must be lower than (or equal to) reference bar open/close min value minus high/low factor proportion of the distance between reference bar low and open/close min value.
VWAP with RSIVWAP with RSI Indicator
Overview
The VWAP with RSI Indicator is a powerful tool that combines the Volume Weighted Average Price (VWAP) with the Relative Strength Index (RSI) to provide traders with comprehensive insights into price trends, volume-weighted price levels, and market momentum. This dual-indicator setup enhances your trading strategy by offering a clearer understanding of the market conditions, potential entry and exit points, and trend reversals.
Key Features
VWAP (Volume Weighted Average Price):
Calculation: The VWAP is calculated using the high, low, and close prices, weighted by trading volume over a specified period.
Purpose: VWAP provides an average price that reflects the trading volume at different price levels, helping traders identify the true average price over a given period.
Visualization: The VWAP line is plotted in blue on the price chart, indicating the volume-weighted average price.
RSI (Relative Strength Index):
Calculation: RSI is based on the average gains and losses over a specified period (default is 14 periods) and ranges from 0 to 100.
Purpose: RSI measures the speed and change of price movements, identifying overbought or oversold conditions in the market.
Overbought/Oversold Levels:
Overbought: RSI above 70 (red line).
Oversold: RSI below 30 (green line).
Midline: RSI at 50 (gray dashed line).
Visualization: The RSI line changes color based on its value (purple for normal, red for overbought, green for oversold) and is plotted below the price chart.
Background Fill for RSI:
Overbought Area: Shaded red when RSI is above 70.
Oversold Area: Shaded green when RSI is below 30.
Bullish and Bearish Divergence Detection:
Bullish Divergence: Occurs when price forms a lower low, but RSI forms a higher low, indicating potential upward reversal.
Visualization: Bullish divergence points are marked with a green line and labeled "Bull."
Bearish Divergence: Occurs when price forms a higher high, but RSI forms a lower high, indicating potential downward reversal.
Visualization: Bearish divergence points are marked with a red line and labeled "Bear."
Alerts: Conditions for bullish and bearish divergences trigger alerts.
Settings
VWAP Settings:
hideonDWM: Option to hide VWAP on daily or higher timeframes.
src: Source for VWAP calculation (default is hlc3 - (high + low + close)/3).
offset: Offset for plotting the VWAP.
RSI Settings:
rsiLengthInput: Period length for RSI calculation (default is 14).
rsiSourceInput: Source for RSI calculation (default is close price).
maTypeInput: Type of moving average applied to RSI (options: SMA, EMA).
maLengthInput: Length of the moving average applied to RSI.
How to Use
Trend Identification: Use VWAP to identify the average price level and market trend. If the price is above VWAP, it suggests an uptrend, and if below, it suggests a downtrend.
Overbought/Oversold Conditions: Use RSI to identify potential reversal points. RSI above 70 indicates overbought conditions, and below 30 indicates oversold conditions.
Divergence: Look for bullish or bearish divergences between price and RSI to anticipate potential trend reversals.
Conclusion
By combining VWAP and RSI, this indicator provides a robust framework for analyzing market conditions, identifying trends, and making more informed trading decisions. Enhance your trading strategy today with the VWAP with RSI Indicator!
Global Market Cap of all measuable assets# Comprehensive Global Market Cap Overview
This indicator provides a dynamic, real-time estimate of the total global market value across multiple asset classes and economic sectors. It aims to give traders and analysts a broad perspective on the state of global markets and wealth.
## Features:
- Real-time data for major market segments including stocks, bonds, real estate, cryptocurrencies, and commodities
- Estimates for hard-to-quantify sectors like derivatives, private equity, and OTC markets
- Includes often-overlooked categories such as cash deposits, insurance markets, and natural resources
- Static estimates for art/collectibles and intellectual property
- Total global value calculation and breakdown by category
- Easy-to-read table display of all categories
## Categories Tracked:
1. Global Stock Market
2. Global Bond Market
3. Real Estate
4. Cryptocurrencies
5. Commodities
6. Derivatives Market
7. Private Equity and Venture Capital
8. Cash and Bank Deposits
9. Insurance Markets
10. Sovereign Wealth Funds
11. OTC Markets
12. Natural Resources
13. Art and Collectibles
14. Intellectual Property
## Data Sources:
- Uses popular ETFs and indices as proxies for global markets where possible
- Incorporates data from specific company stocks to represent certain markets (e.g., CME for derivatives, OTCM for OTC markets)
- Utilizes FRED data for bank deposits
- Includes static estimates for categories without reliable real-time data sources
## Notes:
- All values are approximate and should be used for general perspective rather than precise financial analysis
- Some categories use scaled proxy data, which may not perfectly represent global totals
- Static estimates are used where real-time data is unavailable and should be updated periodically
- The total global value includes human capital but this is not displayed in the table due to its speculative nature
This indicator is designed to provide a comprehensive overview of global market value, going beyond traditional market capitalization metrics. It's ideal for traders, researchers, and anyone interested in gaining a broader understanding of global wealth distribution across various sectors.
Please note that due to the complexity of global markets and limitations in data availability, all figures should be considered estimates and used as part of a broader analysis rather than as definitive values.
CofG Oscillator w/ Added Normalizations/TransformationsThis indicator is a unique study in normalization/transformation techniques, which are applied to the CG (center of gravity) Oscillator, a popular oscillator made by John Ehlers.
The idea to transform the data from this oscillator originated from observing the original indicator, which exhibited numerous whips. Curious about the potential outcomes, I began experimenting with various normalization/transformation methods and discovered a plethora of interesting results.
The indicator offers 10 different types of normalization/transformation, each with its own set of benefits and drawbacks. My personal favorites are the Quantile Transformation , which converts the dataset into one that is mostly normally distributed, and the Z-Score , which I have found tends to provide better signaling than the original indicator.
I've also included the option of showing the mean, median, and mode of the data over the period specified by the transformation period. Using this will allow you to gather additional insights into how these transformations effect the distribution of the data series.
I've also included some notes on what each transformation does, how it is useful, where it fails, and what I've found to be the best inputs for it (though I'd encourage you to play around with it yourself).
Types of Normalization/Transformation:
1. Z-Score
Overview: Standardizes the data by subtracting the mean and dividing by the standard deviation.
Benefits: Centers the data around 0 with a standard deviation of 1, reducing the impact of outliers.
Disadvantages: Works best on data that is normally distributed
Notes: Best used with a mid-longer transformation period.
2. Min-Max
Overview: Scales the data to fit within a specified range, typically 0 to 1.
Benefits: Simple and fast to compute, preserves the relationships among data points.
Disadvantages: Sensitive to outliers, which can skew the normalization.
Notes: Best used with mid-longer transformation period.
3. Decimal Scaling
Overview: Normalizes data by moving the decimal point of values.
Benefits: Simple and straightforward, useful for data with varying scales.
Disadvantages: Not commonly used, less intuitive, less advantageous.
Notes: Best used with a mid-longer transformation period.
4. Mean Normalization
Overview: Subtracts the mean and divides by the range (max - min).
Benefits: Centers data around 0, making it easier to compare different datasets.
Disadvantages: Can be affected by outliers, which influence the range.
Notes: Best used with a mid-longer transformation period.
5. Log Transformation
Overview: Applies the logarithm function to compress the data range.
Benefits: Reduces skewness, making the data more normally distributed.
Disadvantages: Only applicable to positive data, breaks on zero and negative values.
Notes: Works with varied transformation period.
6. Max Abs Scaler
Overview: Scales each feature by its maximum absolute value.
Benefits: Retains sparsity and is robust to large outliers.
Disadvantages: Only shifts data to the range , which might not always be desirable.
Notes: Best used with a mid-longer transformation period.
7. Robust Scaler
Overview: Uses the median and the interquartile range for scaling.
Benefits: Robust to outliers, does not shift data as much as other methods.
Disadvantages: May not perform well with small datasets.
Notes: Best used with a longer transformation period.
8. Feature Scaling to Unit Norm
Overview: Scales data such that the norm (magnitude) of each feature is 1.
Benefits: Useful for models that rely on the magnitude of feature vectors.
Disadvantages: Sensitive to outliers, which can disproportionately affect the norm. Not normally used in this context, though it provides some interesting transformations.
Notes: Best used with a shorter transformation period.
9. Logistic Function
Overview: Applies the logistic function to squash data into the range .
Benefits: Smoothly compresses extreme values, handling skewed distributions well.
Disadvantages: May not preserve the relative distances between data points as effectively.
Notes: Best used with a shorter transformation period. This feature is actually two layered, we first put it through the mean normalization to ensure that it's generally centered around 0.
10. Quantile Transformation
Overview: Maps data to a uniform or normal distribution using quantiles.
Benefits: Makes data follow a specified distribution, useful for non-linear scaling.
Disadvantages: Can distort relationships between features, computationally expensive.
Notes: Best used with a very long transformation period.
Conclusion
Feel free to explore these normalization/transformation techniques to see how they impact the performance of the CG Oscillator. Each method offers unique insights and benefits, making this study a valuable tool for traders, especially those with a passion for data analysis.
ICSM (Impulse-Correction & SCOB Mapper) [WinWorld]DESCRIPTION
ICSM (Impulse-Correction SCOB Mapper) is the indicator that analyzes the price movement and identifies valid impulses, corrections and SCOBs. It is a powerful tool that can be used with any type of technical analysis because it's flexible, informative, easy to use and it does substantially improve trader's awareness of the most liquid zones of interest.
SETTINGS
General | Visuals
Colour theme — defines the colour theme of the ICSM.
SCOB | Visuals
Show SCOB — enables/disables SCOB;
Mark SCOB with — represents a list of style options for SCOB representation;
SCOB colour — defines the colour of the SCOB;
ICM | Visuals
Show ICM lines — enables/disables ICM (Impulse-Correction Mapper) lines;
Show IC trend — enables/disables visualization of impulse-correction trend via coloured divider at the bottom of the chart;
Line colour — defines the colour of the ICM lines;
Line style — defines the style of the ICM lines;
Alerts
ICM — enables/disables alert for breaking ICM lines;
SCOB — enables/disables alert for SCOB creation;
ICM+SCOB — enables/disables alert for SCOB occurance at the end of the single impulse/correction, which grabs ICM line's liquidity.
ICM+SCOB (same candle) — enables/disables alert for SCOB occurance at the candle, which grabs ICM line's liquidity.
IMPORTANT CONCEPTS
In order to fully understand what ICSM can do, let's do a quick overview of the most important concepts that this indicator is built on.
By ICM we mean the liquidity grabbing of Impulse-Correction Mapper's lines (ICM lines; represented as dashed horizontal lines on the chart ). Saying shortly, liquidity grabs of ICM lines posses great opportunities for finding great entries.
SCOB (Single Candle Order Block) builds up by 3 simple rules:
Previous candle's liquidity is grabbed;
Current candle closes inside previous candle;
Imbalance occurs on the next candle.
SCOB is a quite useful zone of interest, from which the price usually reverses. You can also use SCOB as POI* on HTF** or as entry zone on LTF***.
* POI — Point Of Interest
* HTF — Higher TimeFrame
* LTF — Lower TimeFrame
"ICM+SCOB" is a short name that we use for event, at which price first grabs the liquidity from ICM line and then creates a SCOB at the same impulse/correction movement ( on the same ICM line, that does the liquidity grab ). Usually the SCOB that occurs after this event represents a highly liquid zone of interest , which should be considered when choosing entry level.
"ICM+SCOB (same candle)" is basically the same as "ICM+SCOB" event but with one major difference — the candle, which grabs the liquidity of ICM line, is also the candle at which the SCOB occurs, making such SCOB an even better zone of interest than a regular SCOB from ICM+SCOB event.
BIGGEST ADVANTAGES
ICSM precisely identifies impulses and corrections. Huge load of indicators on the TradingView does only show the simplest zones of interests, while ICSM uses our team's signature algorithms to precisely identify true impulses and corrections in the market, allowing traders to see both local and global price direction better and at the same time providing traders with the most liquid zones of interest;
ICSM shows points of interest and liquidity. The indicator identifies the nearest points of interest and zones, where the liquidity is concentrated, allowing you to find great entry and exit points for your trades;
ICSM has SCOB (Single Candle Order Block) detection function. ICM is packed with the extremely useful in SMC trading SCOB detetction feature, which allows you find even more solid points of interest;
ICSM has super minimalistic design, which contains only the things you really need. Your chart will not be overloaded with unnecessary information. You will only see clear points of interest, liquidity and price movement.
WHY SHOULD YOU USE IT?
As was said above, ICSM allows you to see the most profitable points and zones of interest, which professional SMC traders consider as one of the best in the market, because they are historically the areas from which the price bounces the most, allowing the smartest traders to get quick an clean profits with low drawdown.
In the ICSM indicator these zones are SCOB and ICM line liquidity grabs. By using these zones of interest to find entry points, you increase the chance to open a trade at the most lucrative price and reduce trading risks.
Considering what was said above, this indicator can help traders reduce drawdown risks and increase potential profits simply by showing the most liquid zones of interest, which are perfect for opening a trading position.
Here are some of the examples of how you leverage ICSM in your trading process:
Example of the short trade:
Price shows overall short trend. Trend liquidity is being formed.
Price grabs liduiqity from three ICM lines in a row and then creates a long SCOB at the end of 3rd liquidity grab.
SCOB, which occured at the end of ICM line, represents much stronger zone of interest than a regular SCOB. In this case it represents a zone, which we will use to find an entry.
The entry for the trade will be SCOB candle's low, stop-loss target should be put above SCOB candle's high. Our take-profit target is trend liquidity. See the screenshot above for better understanding.
▼ Now let's see the long trade example. ▼
Example of the long trade:
Price creates trend liquidity by showing equal highs ( EQH ).
Price grabs liduiqity from four ICM lines in a row and then creates a long SCOB at the end of 4th liquidity grab.
Again: SCOB, which occured at the end of ICM line, represents much stronger zone of interest than a regular SCOB. In this case it represents a zone, which we will use to find an entry.
The entry for the trade will be SCOB candle's high, stop-loss target should be put below SCOB candle's low. Our take-profit target is EQH. See the screenshot above for better understanding.
ALERTS
ICSM provides simple and easy alert customization, allwoing to choose only the alerts you want to receive. You can choose from the following alert options:
ICM — impulse or correction liquidity grab;
SCOB — SCOB is formed, wether or not the liquidity is grabbed from the impulse or correction;
SCOB+ICM — SCOB is formed after grabbing the liquidity of the ICM line;
SCOB+ICM (same candle) — SCOB is formed in the liquidity area of the impulse or correction.
HOW CAN I GET THE MOST OUT OF IT?
ICSM displays only the first liquidity of an impulse or correction, which matches the IDM (Inducement) in the Advanced SMC strategy . This strategy is completely covered in the World Class SMC indicator and is available for free for PDF in three parts.
You can also ICSM with any other strategy, because ICSM is a very flexible indicator and will help anyone improve their trading by making one aware of the high-quality liquidity on the chart.
Let's see how you can leverage ICSM with our World Class SMC indicator and other different strategies:
Example of the long & short trades with World Class SMC.
Long (1-3):
Price reached previous OB-EXT . This is the first sign for the potential price reversal;
ICM+SCOB happened after price reached OB-EXT;
After that, you can need to look for an entry on LTF. If you don't know how to do it, you can refer to our education materials.
Short (4-6):
Price reached OB-IDM , which is also a great sign for a potential upcoming price reversal;
ICM+SCOB occured after liquidity grab of the previous SCOB. This fact does strengthen the probability of the potential upcoming price reversal;
Now you need to switch to LTF and find an entry there.
Example of the short trade with simple Fibonacci retracement strategy.
Price grabs the liquidity of the ICM lines three times in a row, forming SCOB after the 3rd grab;
Price performs correctional move down without testing the SCOB, leaving no entry opportunity by our initial strategy, so we can add another strategy — Fibonacci retracement from 0.618 level — to our analysis in order to find an entry ;
We use Fibonacci grid with our initial strategy to find the best POI, that will align with the trend direction and will eventually become our entry point.
SUMMARY
ICSM is a unique indicator that indentifies zones and points of interests with high-quiality liquidity and can be both a stand-alone tool and can be integrated into any other strategy to increase the efficiency of analysis, accuracy of trading entries and reduce trading risks.
If you want to learn the SMC strategies that our team uses in our products, you can refer to our educational materials.
We hope that you will find a great use of ICSM and it will help you improve your perfomance as a trader. Best of luck, traders!
— with love, WinWorld Team