[ETNX] BTC CME TradersOVERVIEW
This indicator displays how many traders have Long and Short positions opened on CME Bitcoin Futures and Options. The short traders have negative values only for display purposes. Therefore, if the short value is displayed as -56, that means that there are 56 traders that have short positions opened. The total of traders is the sum of short and long traders. The data is provided from the CFTC Commitments of Traders Reports. These reports are given weekly. Therefore, this indicator works better on weekly timeframes.
The COT reports are separated into 5 categories:
Dealer/Intermediary - These participants are typically described as the “sell side” of the market. Though they may not predominately sell futures, they design and sell various financial assets to clients. They tend to have matched books or offset their risk across markets and clients. Futures contracts are part of the pricing and balancing of risk associated with the products they sell and their activities. These include large banks (U.S. and non-U.S.) and dealers in securities, swaps, and other derivatives.
Asset Manager/Institutional - These are institutional investors, including pension funds, endowments, insurance companies, mutual funds, and portfolio/investment managers whose clients are predominantly institutional.
Leveraged Funds - These are typically hedge funds and various types of money managers, including registered commodity trading advisors (CTAs); registered commodity pool operators (CPOs), or unregistered funds identified by CFTC. The strategies may involve taking outright positions or arbitrage within and across markets. The traders may be engaged in managing and conducting proprietary futures trading and trading on behalf of speculative clients.
Other Reportables - Reportable traders not placed into one of the first three categories are placed into the “other reportables” category. The traders in this category mostly use markets to hedge business risk, whether that risk is related to foreign exchange, equities, or interest rates. This category includes corporate treasuries, central banks, smaller banks, mortgage originators, credit unions and any other reportable traders not assigned to the other three categories.
Non Reportable
INPUT DISPLAY
The Open Interest can be displayed in three ways:
Futures - The Futures Short and Long Positions Opened
Options - The Options Short and Long Positions Opened
Futures & Options - The Futures & Options Short and Long Positions Opened
Options
[ETNX] BTC CME OI RatioOVERVIEW
This indicator displays the Ratio between the Long and Short positions opened on CME Bitcoin Futures and Options. The data is provided from the CFTC Commitments of Traders Reports. These reports are given weekly. Therefore, this indicator works better on weekly timeframes.
The COT reports are separated into 5 categories:
Dealer/Intermediary - These participants are typically described as the “sell side” of the market. Though they may not predominately sell futures, they design and sell various financial assets to clients. They tend to have matched books or offset their risk across markets and clients. Futures contracts are part of the pricing and balancing of risk associated with the products they sell and their activities. These include large banks (U.S. and non-U.S.) and dealers in securities, swaps, and other derivatives.
Asset Manager/Institutional - These are institutional investors, including pension funds, endowments, insurance companies, mutual funds, and portfolio/investment managers whose clients are predominantly institutional.
Leveraged Funds - These are typically hedge funds and various types of money managers, including registered commodity trading advisors (CTAs); registered commodity pool operators (CPOs) or unregistered funds identified by CFTC. The strategies may involve taking outright positions or arbitrage within and across markets. The traders may be engaged in managing and conducting proprietary futures trading and trading on behalf of speculative clients.
Other Reportables - Reportable traders not placed into one of the first three categories are placed into the “other reportables” category. The traders in this category mostly use markets to hedge business risk, whether that risk is related to foreign exchange, equities, or interest rates. This category includes corporate treasuries, central banks, smaller banks, mortgage originators, credit unions and any other reportable traders not assigned to the other three categories.
Non Reportable
IMPORTANT
The SPREADS are excluded. “Spreading” is a computed amount equal to offsetting long and short positions held by a trader. The computed amount of spreading is calculated as the amount of offsetting futures in different calendar months or offsetting futures and options in the same or different calendar months. Any residual long or short position is reported in the long or short column. Inter-market spreads are not considered.
INPUT INCLUDE Non-Reportable
This ratio excludes by default the Non-Reportable category. If this input is enabled, the ratio between Longs and Shorts should flatten.
INPUT DISPLAY
The Open Interest can be displayed in three ways:
Futures - The Futures Short and Long Positions Opened
Options - The Options Short and Long Positions Opened
Futures & Options - The Futures & Options Short and Long Positions Opened
[ETNX] BTC CME OIOVERVIEW
This indicator displays the Open Interest based on CME Bitcoin Futures & Options. The data is provided from the CFTC Commitments of Traders Reports. These reports are given weekly. Therefore, this indicator works better on W timeframes.
INPUTS
The Open Interest can be displayed in three ways:
Contracts - How many contracts are opened on CME
BTC - How many BTC the contracts worth
Billions USD - How much is worth in USD based on the CME BTC Price
Expected Move by Option's Implied Volatility High Liquidity
This script plots boxes to reflect weekly, monthly and yearly expected moves based on "At The Money" put and call option's implied volatility.
Symbols in range: This script will display Expected Move data for Symbols with high option liquidity.
Weekly Updates: Each weekend, the script is updated with fresh expected move data, a job that takes place every Saturday following the close of the markets on Friday.
In the provided script, several boxes are created and plotted on a price chart to represent the expected price moves for various timeframes.
These boxes serve as visual indicators to help traders and analysts understand the expected price volatility.
Definition of Expected Move: Expected Move refers to the anticipated range within which the price of an underlying asset is expected to move over a specific time frame, based on the current implied volatility of its options. Calculation: Expected Move is typically calculated by taking the current stock price and applying a multiple of the implied volatility. The most commonly used multiple is the one-standard-deviation move, which encompasses approximately 68% of potential price outcomes.
Example: Suppose a stock is trading at $100, and the implied volatility of its options is 20%. The one-standard-deviation expected move would be $100 * 0.20 = $20.
This suggests that there is a 68% probability that the stock's price will stay within a range of $80 to $120 over the specified time frame. Usage: Traders and investors use the expected move as a guideline for setting trading strategies and managing risk. It helps them gauge the potential price swings and make informed decisions about buying or selling options.There is a 68% chance that the underlying asset stock or ETF price will be within the boxed area at option expiry. The data on this script is updating weekly at the close of Friday, calculating the implied volatility for the week/month/year based on the "at the money" put and call options with the relevant expiry. This script will display Expected Move data for Symbols within the range of JBL-NOTE in alphabetical order.
In summary, implied volatility reflects market expectations about future price volatility, especially in the context of options. Expected Move is a practical application of implied volatility, helping traders estimate the likely price range for an asset over a given period. Both concepts play a vital role in assessing risk and devising trading strategies in the options and stock markets.
Expected Move by Option's Implied Volatility Symbols: B - CLF
This script plots boxes to reflect weekly, monthly and yearly expected moves based on "At The Money" put and call option's implied volatility.
Symbols in range: This script will display Expected Move data for Symbols within the range of B - CLF in alphabetical order.
Weekly Updates: Each weekend, the script is updated with fresh expected move data, a job that takes place every Saturday following the close of the markets on Friday.
In the provided script, several boxes are created and plotted on a price chart to represent the expected price moves for various timeframes.
These boxes serve as visual indicators to help traders and analysts understand the expected price volatility.
Definition of Expected Move: Expected Move refers to the anticipated range within which the price of an underlying asset is expected to move over a specific time frame, based on the current implied volatility of its options. Calculation: Expected Move is typically calculated by taking the current stock price and applying a multiple of the implied volatility. The most commonly used multiple is the one-standard-deviation move, which encompasses approximately 68% of potential price outcomes.
Example: Suppose a stock is trading at $100, and the implied volatility of its options is 20%. The one-standard-deviation expected move would be $100 * 0.20 = $20.
This suggests that there is a 68% probability that the stock's price will stay within a range of $80 to $120 over the specified time frame. Usage: Traders and investors use the expected move as a guideline for setting trading strategies and managing risk. It helps them gauge the potential price swings and make informed decisions about buying or selling options. There is a 68% chance that the underlying asset stock or ETF price will be within the boxed area at option expiry. The data on this script is updating weekly at the close of Friday, calculating the implied volatility for the week/month/year based on the "at the money" put and call options with the relevant expiry.
In summary, implied volatility reflects market expectations about future price volatility, especially in the context of options. Expected Move is a practical application of implied volatility, helping traders estimate the likely price range for an asset over a given period. Both concepts play a vital role in assessing risk and devising trading strategies in the options and stock markets.
Open-Close Difference Signalopen close signal This code will plot an upward triangle shape at the low of the candle when either the difference between open and close or the difference between close and open is above 45 points. This can be considered a buy signal. Adjust the threshold value as needed using the script's settings on TradingView.
Expected Move by Option's Implied Volatility Symbols: A - AZZ
This script plots boxes to reflect weekly, monthly and yearly expected moves based on "At The Money" put and call option's implied volatility.
Symbols in range: This script will display Expected Move data for Symbols within the range of A - AZZ in alphabetical order.
Weekly Updates: Each weekend, the script is updated with fresh expected move data, a job that takes place every Saturday following the close of the markets on Friday.
In the provided script, several boxes are created and plotted on a price chart to represent the expected price moves for various timeframes.
These boxes serve as visual indicators to help traders and analysts understand the expected price volatility.
Definition of Expected Move: Expected Move refers to the anticipated range within which the price of an underlying asset is expected to move over a specific time frame, based on the current implied volatility of its options. Calculation: Expected Move is typically calculated by taking the current stock price and applying a multiple of the implied volatility. The most commonly used multiple is the one-standard-deviation move, which encompasses approximately 68% of potential price outcomes.
Example: Suppose a stock is trading at $100, and the implied volatility of its options is 20%. The one-standard-deviation expected move would be $100 * 0.20 = $20.
This suggests that there is a 68% probability that the stock's price will stay within a range of $80 to $120 over the specified time frame. Usage: Traders and investors use the expected move as a guideline for setting trading strategies and managing risk. It helps them gauge the potential price swings and make informed decisions about buying or selling options. There is a 68% chance that the underlying asset stock or ETF price will be within the boxed area at option expiry. The data on this script is updating weekly at the close of Friday, calculating the implied volatility for the week/month/year based on the "at the money" put and call options with the relevant expiry.
In summary, implied volatility reflects market expectations about future price volatility, especially in the context of options. Expected Move is a practical application of implied volatility, helping traders estimate the likely price range for an asset over a given period. Both concepts play a vital role in assessing risk and devising trading strategies in the options and stock markets.
Session highlighter [Digit23]This Pine Script indicator, crafted by Digit23, serves as a session highlighter to enrich your TradingView trading experience. It offers a visual representation of a specified trading session, aiding traders in identifying and concentrating on pivotal time intervals.
Key Features:
User-Defined Session: Tailor the trading session by setting specific start and end times, allowing traders to align the indicator with their preferred timeframes.
Day of Week Filter: Optionally, refine the highlighted session by selecting a specific day of the week, providing flexibility to accommodate diverse trading strategies.
Visual Clarity: The indicator employs a customizable background color during the defined trading session, ensuring quick recognition and differentiation of the highlighted timeframe.
How to Use:
Session Configuration: Adjust the start and end times to define your preferred trading session.
Day of Week Filter (Optional): Fine-tune the indicator by specifying a particular day of the week to apply the session highlight.
Visual Enhancement: The indicator visually highlights the specified trading session, offering a clear and intuitive representation on your TradingView chart.
Compatibility:
This indicator seamlessly integrates with all markets and timeframes available on TradingView, providing versatility for traders across different instruments.
Note:
Use this indicator alongside other technical analysis tools for a comprehensive trading strategy.
This indicator is shared for educational and informational purposes only. Trading involves risk, and it's crucial to conduct thorough research and analysis before making trading decisions.
Disclaimer: This script is provided for educational and informational purposes only. Trading involves risk, and it is essential to conduct thorough research and analysis before making trading decisions.
Spot-Vol CorrelationSpot-Vol Correlation Script Guide
Purpose:
This TradingView script measures the correlation between percentage changes in the spot price (e.g., for SPY, an ETF that tracks the S&P 500 index) and the changes in volatility (e.g., as indicated by the VIX, the Volatility Index). Its primary objective is to discern whether the relationship between spot price and volatility behaves as expected ("normal" condition) or diverges from the expected pattern ("abnormal" condition).
Normal vs. Abnormal Correlation:
Normal Correlation: Historically, the VIX (or volatility) and the spot price of major indices like the S&P 500 have an inverse relationship. When the spot price of the index goes up, the VIX tends to go down, indicating lower volatility. Conversely, when the index drops, the VIX generally rises, signaling increased volatility.
Abnormal Correlation: There are instances when this inverse relationship doesn't hold, and both the spot price and the VIX move in the same direction. This is considered an "abnormal" condition and might indicate unusual market dynamics, potential uncertainty, or impending shifts in market sentiment.
Using the Script:
Inputs:
First Symbol: This is set by default to VIX, representing volatility. However, users can input any other volatility metric they prefer.
Second Symbol: This is set to SPY by default, representing the spot price of the S&P 500 index. Like the first symbol, users can substitute SPY with any other asset or index of their choice.
Length of Calculation Period: Users can define the lookback period for the correlation calculation. By default, it's set to 10 periods (e.g., days for a daily chart).
Upper & Lower Bounds of Normal Zone: These parameters define the range of correlation values that are considered "normal" or expected. By default, this is set between -0.60 and -1.00.
Visuals:
Correlation Line: The main line plot shows the correlation coefficient between the two input symbols. When this line is within the "normal zone", it indicates that the spot price and volatility are inversely correlated. If it's outside this zone, the correlation is considered "abnormal".
Green Color: Indicates a period when the spot price and VIX are behaving as traditionally expected (i.e., one rises while the other falls).
Red Color: Denotes a period when the spot price and VIX are both moving in the same direction, which is an abnormal condition.
Shaded Area (Normal Zone): The area between the user-defined upper and lower bounds is shaded in green, highlighting the range of "normal" correlation values.
Interpretation:
Monitor the color and position of the correlation line relative to the shaded area:
If the line is green and within the shaded area, the market dynamics are as traditionally expected.
If the line is red or outside the shaded area, users should exercise caution as this indicates a divergence from typical behavior, which can precede significant market moves or heightened uncertainty.
Advanced Market Opening Gap DetectorThe Advanced Market Opening Gap Detector (AMOGD) is a Pine Script indicator designed to help you identify market gaps at the opening of a new trading day. Gaps are areas on a chart where the price of a security moves sharply up or down with little or no trading in between. They are significant as they may indicate a change in market sentiment. This indicator highlights the size and direction of the opening gap, allowing you to potentially adjust your strategies accordingly.
By setting a minimum gap size, you can filter out smaller, less significant gaps, focusing only on larger gaps which may have more substantial implications. You can define the minimum gap size in points or pips, providing flexibility based on your trading preferences and the asset being traded.
How-to Use:
Apply the AMOGD indicator to your TradingView chart.
Configure the minimum gap size and unit (points or pips) based on your preference using the settings panel.
At the opening of each new trading day, the indicator will check for a gap between the previous close and the opening price.
If a valid gap is detected (i.e., the gap size meets or exceeds the minimum gap size specified), the indicator will:
Draw lines to indicate the opening price and previous close.
Display a label indicating the size of the gap.
Highlight the gap on the chart for better visibility.
Importance:
Market gaps can be pivotal points indicating a possible new trend or a continuation of the current trend. Being able to identify and analyze these gaps is crucial for making informed trading decisions. The AMOGD indicator automates the process of identifying and visualizing opening market gaps, saving traders time and allowing for quick assessment of market conditions at the start of each trading day. By setting a minimum gap size, traders can also filter out less significant price movements, allowing them to focus on potentially trend-changing gaps. This tool can be a valuable addition to a trader's toolkit, aiding in the analysis and interpretation of market behavior at the open, which is often a very volatile and crucial period in the trading day.
DISCLAIMER! RISK WARNING!
PAST PERFORMANCE IS NOT NECESSARILY INDICATIVE OF FUTURE RESULTS. TRADERS SHOULD NOT BASE THEIR DECISION ON INVESTING IN ANY TRADING PROGRAM SOLELY ON THE PAST PERFORMANCE PRESENTED, ADDITIONALLY, IN MAKING AN INVESTMENT DECISION, TRADERS MUST ALSO RELY ON THEIR OWN EXAMINATION OF THE PERSON OR ENTITY MAKING THE TRADING DECISIONS.
[BCT] Option Pricing via Markov Chain Monte Carlo SimulationOverview:
This script offers a toolkit for quantitative options trading, using Monte Carlo simulations based on actual historical returns to model potential future price paths for underlying assets. A range of metrics related to options trading are also provided.
Monte Carlo Simulations:
The script employs Monte Carlo simulations to model future price paths based on the historical returns of the underlying asset. These simulated paths are represented as parabolas at the 2-sigma, 25th percentile, and median levels for quick reference.
Methodologies:
For calculating options prices at At-the-Money (or any user-selected strike), two methodologies are used:
Simple Averaging: Takes the mean of the simulated asset price paths.
Kernel Density Estimation (KDE): Applied to the simulated asset price paths to produce a smoothed estimate of its probability density function, thereby aiding in a more nuanced option price calculation.
Bootstrap Resampling:
Bootstrap resampling is specifically applied to the simulated asset price paths to generate an estimate of the standard deviation of the options prices. Note that while bootstrap methods are employed, they serve as statistical tools and do not guarantee statistical reliability.
Metrics Displayed:
Model-Estimated At-the-Money (or selected strike) Straddle Price
Model-Estimated At-the-Money (or selected strike) Call Price
Model-Estimated At-the-Money (or selected strike) Put Price
Model-Estimated Standard deviation for Option Prices from simulated price paths
Underlying Monte Carlo Simulation Results (represented as parabolas at the 2 sigma, 25 percentile and median)
This is not financial advice. Use at your own risk.
Disclaimer: Options trading carries a high level of risk and may not be suitable for all investors. This script is intended to serve as an educational tool and should not be considered financial advice. While designed to aid in decision-making, the script's indicators are not guarantees of performance or outcomes. Always conduct your own due diligence before making trading decisions.
Auto Trailing stoploss By InvestYourAsset💥The Auto Trailing Stop-Loss indicator is a technical indicator that uses the ATR (Average True Range) to calculate a trailing stop-loss for both long and short positions.
💥The signals according to the indicator allows traders to exit from the position before its too late! The indicator can be used to determine when to enter and exit trades.
💥To use the indicator, you simply need to set the input parameters to suit your trading style and risk tolerance. The default values for the parameters are:
p: The ATR period (14)
q: The stop period (20)
x: The multiplier used to calculate the initial high and initial low (1.5)
Calculations:
📈Calculates the ATR using the specified period you can modify ATR period according to your trading style.
📈Calculates the initial high and low stop levels based on the highest high and lowest low over the user defined ATR period.
📈Calculates short and long stoploss levels using the initial high and low stops.
💥Once you have set the input parameters according to your trading style whether you are a day trader or a swing trader, the indicator will plot the short stoploss, long stoploss, and stoploss hit signals on your chart.
💥You can use the indicator to enter and exit trades in a various ways.
For example,
🚀 you could enter a long trade when the price crosses above both red and green lines plotted on the chart. (or when price crosses over both short stoploss and long stoploss.) You could also use the indicator to secure your profits by moving your stop-loss up as the price moves in your favor.
Here is an example of how you could use the indicator to enter and exit trades:
🚀Enter a long trade when the price crosses above the red line or short stoploss.
✅keep Moving your stop-loss upward with the long stoploss or green line.
✅Exit the trade when the price crosses below the long stoploss or green line.
💥You can also use the indicator to protect your existing trades. For example, if you are already in a long trade, you could move your stop-loss up to the short stop when the price moves up 10%. This will help you to protect your profits in case the price starts to move against you.
💥💥some additional tips for using the Auto Trailing Stop-Loss indicator:
✅Use the indicator in conjunction with other technical indicators or your own trading strategy to generate entry and exit signals.
✅Backtest your trading strategy before using it live to make sure that it is profitable.
✅Use the indicator to protect your profits by moving your stop-loss up as the price moves in your favor.
✅ Always follow risk management rules and manage your position sizing according to your risk appetite.
✅ Be aware of the overall trend direction. If the trend is up, you should be looking for bullish reversals or continuations. If the trend is down, you should be looking for bearish reversals or continuations.
This script essentially provides a visual representation of a trading strategy that automatically adjusts stop-loss levels based on market volatility (ATR). It also includes signals for entering long or short positions and visually highlights these signals on the chart.
📣📣Follow us for timely updates regarding future indicators and give it a like if you appreciate the work.📣📣
Highlight Day of WeekA simple indicator that highlights certain days of the week by changing the background color of the chart to a specified color. Each day can be highlighted its own respective color.
This can be used to visually search for patterns based on day of the week.
01 Position CalculatorI present to your attention a calculator for calculating the volume per position.
This calculator is tested on cryptocurrency trading and MOEX liquid shares!
This calculator is suitable for beginners to make it easier to study trading and not get confused at the very beginning with volume calculations, I also use it for virtual trading, a position is drawn on the chart in real time, which shows the amount of loss or profit, that is, with the help of it I I practice different strategies without losing real money on experiments.
All calculations are made at your risk.
You need to indicate what your working deposit is, what percentage of it you are willing to risk per day, the number of your losing trades for one trading session, after which you will stop trading for that day, the amount of risk will be divided by the number of unprofitable trades.
The principle of operation is as simple as possible, you need to indicate three lines on the chart 1 - time line: it is needed so that a position on the chart can be drawn from it. 2 – Entry line for entering a position: the price at which you want to buy an asset. 3 – stop loss line “SL”: the price upon reaching which your losing trade will be closed. If the 3-stop loss line is placed below the 2-Entry line, then a long position will be calculated, if the stop loss line is above the Entry line, then a short position will be calculated. take profit "TP" is calculated automatically according to your settings in the menu.
And so on in order through the menu from top to bottom.
1. Rounding the volume to a whole number: if you select “round”, then the volume of the acquired asset (shares, coins, etc.) will be rounded to a whole number, but be careful if your deposit is $100, and the cost of 1 unit of the asset is more than $1000, then the calculator will give error. MOEX shares are traded only in whole lots, so rounding occurs automatically.
2. Automatic calculation of SL in 1 ATR of the selected TF (auto/manual) (ATR...): if you select auto and specify, for example, ATR 1h, then your “SL” will be calculated automatically and set at a distance from Entry of 1 ATR of the hourly time frame (this is the average price change over 1 hour)
3. Cryptocurrency deposit commission, MOEX deposit commission: I made two different deposits on purpose so as not to change the settings each time, depending on the schedule you choose, MOEX or cryptocurrency, the required deposit and commission will be automatically taken into account.
4. Slippage: this is the percentage of slippage on closing a position at a stop loss.
5. Daily drawdown % (...): this is the percentage of your trading deposit that you are willing to risk for one trading session, the amount at risk.
6. Ratio rice /profit 1/ (...): you need to indicate the SL/TP ratio, based on this your income per trade is calculated and the distance to TP is outlined on the graph.
7. Number of losing trades (...): this is the number of your trades per trading session after receiving which you will end trading for that day, the amount of risk will be divided by the number of losing trades.
8. Position: you can enter the start date of the position and Entry and SL prices
9. ATR – specify the number of last candles to calculate the average price movement of the selected time frame
Now, as for the tables located by default on the left and right at the bottom of the screen, I made windows with descriptions; when you hover the cursor over a cell, a description pops up.
RU
Этот калькулятор проверен, на торговле криптовалюты и ликвидных акциях MOEX!
Этот калькулятор подойдет начинающим, чтоб облегчить изучение торговли и не запутаться в самом начале с расчётами объемов, так же я использую его для виртуальной торговли, на графике в реальном времени рисуется позиция, на которой видно суму убытка или прибыли, то есть с помощью него я отрабатываю разные стратегии, не теряя реальные деньги на эксперименты.
Все расчеты делаются от вашего риска.
Вам необходимо указать какой ваш рабочий депозит, каким процентом от него вы готовы рискнуть на день, количество ваших убыточных сделок на одну торговую сессию, после которых вы прекратите торговлю на этот день, сумма риска будет поделена на количество убыточных сделок.
Принцип работы максимально прост, вам нужно указать на графике три линии 1 - линия время: она нужна чтоб от нее рисовался позиция на графике. 2 –линия Entry входа в позицию: цена по которой вы хотите купить актив. 3 – линия stop loss «SL»: цена при достижении которой закроется ваша убыточная сделка. Если линию 3-stop loss разместить под линией 2-Entry то будет рассчитываться длинная позиция, ели лини stop loss будет над линией Entry то будет рассчитываться короткая позиция. take profit «TP» рассчитывается автоматически согласно вашим настройкам в меню.
И так по порядку по меню с верху в низ.
1. Округление объема до целого: если выбрать «round -округлить», то объем приобретаемого актива (акции, монеты и другого) будет округлен до целого числа, но будьте внимательны если ваш депозит 100$, а стоимость 1 единицы актива более 1000$ то калькулятор выдаст ошибку. Акции MOEX торгуются только целыми лотами потому округление происходит автоматически.
2. Авто расчёт SL в 1 ATR выбранного TF (auto/manual) (ATR…): если выбрать auto и указать, к примеру ATR 1h, то ваш «SL», будет рассчитан автоматически и выставлен на расстоянии от Entry в 1 ATR часового time frame (это усредненное изменение цены за 1 час)
3. Депозит крипто валюты комиссия, депозит MOEX комиссия: сделал специально два разных депозита чтоб каждый раз не менять настройки, в зависимости от выбранного вами графика, MOEX или криптовалюта, будет автоматически браться в расчет нужный депозит и комиссия.
4. Проскальзывание: это процент на проскальзывание закрытия позиции по stop loss.
5. Просадка на день % (…): это процент от вашего торгового депозита, которым вы готовы рискнуть на одну торговую сессию, сумма риска надень.
6. Соотношение рис /прибыль 1/ (…): вам нужно указать соотношение SL/TP на основе этого рассчитывается ваш доход на сделку и на графике обрисовывается расстояние до TP.
7. Количество убыточных сделок (…): это количество ваших сделок на торговую сессию после получения, которых вы закончите торговлю на этот день, сумма риска надень будет поделена на количество убыточных сделок.
8. Позиция: можно вписать дату начала позиции и цены Entry и SL
9. ATR – укажите количество последних свечей для расчета среднего движения цены выбранного time frame
Теперь что касается таблиц расположенных по умолчанию с лева и справа в низу экрана, я сделал окна с описаниями, при наведении курсора на ячейку всплывает описание.
SizeblockPrice change indicator in the form of diagonal rows.
The calculation is based on the percentage or tick deviation of the price movement (indicated in the "Deviation" parameter), which is displayed on the chart in the form of rows.
The row consists of the base middle line, upper and lower limits:
The middle line is the basis for the upper and lower limits of the current row.
The upper and lower limits are deviations from the base middle line of the current row.
The base middle line is equal to the upper or lower limits of the previous row (if the price changes rapidly in one time interval, then the base middle line of the current row is greater than the upper limit of the previous row or less than the lower limit of the previous row by an equal number of deviations depending on the direction of price movement). At the beginning of the calculation, the base middle line is equal to the initial value of the first row.
The "Quantity" parameter determines the deviation for the upper or lower limits depending on the direction of the price movement, and the "U-turn" parameter determines the deviation for changing the direction of the price movement.
The rule for constructing a new row:
The "Source" parameter accepts, depending on the choice, the price of high, low values or the closing price from the time interval of the chart.
When the price reaches the upper or lower limits of the row and goes beyond them, a new row is formed with the same parameters for deviation of the upper and lower limits from the base middle line, depending on the direction of price movement.
By adjusting certain deviations, you can clearly see the local trend and reversal points on the chart.
A useful tool for tracking price direction.
Thanks for your attention!
MeanReversion - LogReturn/Vola ZScoreShows the z-Score of log-return (blue line) and volatility (black line). In statistics, the z-score is the number of standard deviations by which a value of a raw score is above or below the mean value.
This indicator aggregates z-score based on two indicators:
MeanReversion by Logarithmic Returns
MeanReversion by Volatility
Change the time period in bars for longer or shorter time frames. At a daily chart 252 mean on trading year, 21 mean one trading month.
Seasonal Trend by LogReturnSeasonal trend in terms of stocks refers to typical and recurring patterns in stock prices that happen at a specific time of the year. There are many theories and beliefs regarding seasonal trends in the financial markets, and some traders use these patterns to guide their investment decisions.
This indicator calculates the trend by "Daily" logarithmic returns of the past years.
So, you should use this indicator with a "Daily" mainchart.
Note: If you select more years in the past than data is available, the line turns red.
Tetra Trendline Indicator 2.0This script is designed to help traders visualize and identify potential overbought and oversold conditions in a financial instrument's price chart using four customizable trendlines. It also provides the option to set alerts for these conditions. Users can adjust the input parameters to tailor the indicator's behavior to their trading preferences.
Input Parameters: The script allows users to configure various input parameters to customize the behavior of the indicator. These parameters include:
showTrendlineX: Boolean inputs to control whether to show each of the four trendlines (Trendline 1, Trendline 2, Trendline 3, and Trendline 4).
trendlineColorX: Color inputs to specify the color of each trendline.
trendlineWidthX: Numeric inputs to set the width of each trendline.
trendlineLengthX: Numeric inputs to determine the length of each trendline.
alertOnTrendlineXBreak: Boolean inputs to enable or disable alerts for each trendline when they are breached.
Trendline Calculations: The script calculates the coordinates for each of the four trendlines. It does this by identifying the starting and ending points of each trendline based on user-defined parameters and the highest or lowest price levels within a specified length.
Plotting Trendlines: The script uses the plot function to display the calculated trendlines on the price chart. It also fills the area between the trendlines to visually emphasize the region.
Alert Conditions: The script defines alert conditions for each trendline. Alerts are triggered when certain price conditions are met:
Trendline 1: An alert is triggered when the price crosses above the Trendline 1 (indicating overbought conditions).
Trendline 2: An alert is triggered when the price crosses below the Trendline 2 (indicating oversold conditions).
Trendline 3: Similar to Trendline 1, an alert is triggered when the price crosses above Trendline 3 (overbought).
Trendline 4: Similar to Trendline 2, an alert is triggered when the price crosses below Trendline 4 (oversold).
BE - Strategy Builder ToolkitIndicator vs Toolkit:
This is definitely not an indicator, hence this doesn't do any kind of analysis nor provide meaningful outputs where you can take trading decisions out of it.
This is a Strategy Builder Toolkit which works like any other broker/3P applications, which helps traders to build their own custom/ predefined strategies, save / deploy them at their wish.
Idea Behind Developing this Toolkit: I am sure many of traders have overcome scenarios where, on break of x level he wants to initiate straddle else he wants to initiate Iron Condor. Some of them wants to deploy custom strategies only at certain time or at certian price levels.
It becomes pretty difficult to track markets when you are away from desk and if you dont adjust the strategy legs, you are incurring big drawdowns. There are many if's and buts to deploy strategies.
To overcome such challenges, i have built this toolkit.
Note: As this is just a toolkit, you should conduct your analysis to gauge the market direction outside the perview of this. Once you know the view / direction of the script. you can use this toolkit in action to
1. Deploy Strategy at (Desired levels| Desired time|Confired Levels|Confirmed Volumes)
2. Strategy can be Prebuilt / Custom Built
3.1 Set SL, Target for Directional view (Trail SL aswell)
3.2 Set Upside or Downside Target for Non Directional view (Trail SL aswell)
3.3 let the strategy play with out SL|Targets for consolidation view.
4. Adjust Legs by closing existing position and opening fresh position or place fresh adjustments
5. Book partial Profits with in the zone.
How the Toolkit is buit: Script uses text related functions to understand the custom input given in the indicator and coverts into a strategy and deployes them as a algo trading (Next Level Bot) with the additional parameter set for SL|Target|Entry levels.
Understanding the settings:
1. Strike Difference: is basically a value between each strike. eg: Banknifty : 100, Nifty & Finnifty: 50
2. 1 Lot Qty: Qty per Lot accepted by exchange|Broker. eg: BNF: 15, Nifty: 50, Finnifty: 40
3. Lot Multiplier: If you build strategy with 1 lot and if you set the Lot multiplier as 2 then strategy gets deployed with 2 lots. for eg. If i have saved strategy to buy BNF 1 ITM with 1Lot and have set lot multipier to 3 then at the time of deploying the trade it pushes as 3 lots (3 * 15Qty per lot = 45Qty) of 1 ITM strike.
4. Symbol Name: Select the Symbol Name here.
5. Current & Next Week Expiry Date: Specify the expiry Dates in the format as supported by your broker.
6. Broker Name, Exchange & Product Type: hope it is self explanatory.
IMPORTANT settings to understand:
7. Triggere Entry Post (optional): You have to specify when you want to deploy the strategy. For instance, if i want to deploy my strategy at 30 min after market open which is 9:45 am, then i have specify as 0945. Another instance where i want to close my strategy at 3 PM then you have to specify as 1500. Uncheck this option if you are not worried about the time of entry.
My personal Used Case: On the Expiry -1 Day at 0916 (9:16AM) i will buy 6 lots of 8OTM PE & CE and Sell 2 lots 7OTM, 2 lots of 6OTM and 2 lots of 5OTM and close the trade by 1100 (11AM).
8. Price Levels (Confirmed vs UnConfirmed) (Optional): Confirmed is basically price is sustained at|around the specified price level, where in UnConfirmed is basically the touch of the specified level.
for instance if i want to deploy straddle only if price is sustained at 100. then, i would specify GE with 100 in price input settings, and check thee Confirmed price box. Assuming if LTP is running at 98 and with the above settings it will only deploy the trade upon price is sustained at 100 level for 3 to 5 candles not at the touch of 100.
Uncheck this option if you are not worried about the Entry Price.
9. Confirmed Volume (Optional) (Long or Short): Basis your view|direction of the strategy. you can get additional confirmation. At the time of entry you want volume to be present towards the direction of the strategy. Uncheck this option if you are not worried about the volume or Volume doesn't exist for the chart loaded.
10. Alert Types: It consists of 3 Long & 3 Short directional (prebuilt) strategy along with Close Strategy, Close Specified Symbols Only & Design Custom Strategy Option.
10.1 : Slow Upmove - If you are having bullish view and predict that prices shall go slow and steady. This strategy can be deployed where you get the benifit of time decay as well while the delta play in favor of you. (viseversa for Slow DownMove)
10.2 : Fast Upmove - If you are having bullish view and predict that prices shall go fast. This strategy can be deployed where you get the smaller benifit of time decay as well while the delta play in favor of you. (viseversa for Fast DownMove)
10.3 : Vol Upmove (Volatality)- If you are having bullish view and predict market is tend to be volatile. This strategy can be deployed where you get the benifit of volatility as well while the delta play in favor of you. (viseversa for VolDownMove)
10.4 : Close Trade - You can use this option close the deployed strategy completely.
10.5 : Close Symbols - You can use this option close few of the symbols for the strategy deployed.
10.6 : Custom: Use this option to design you own custom strayegy with the syntax below:
Sample 1:
N|B|C2|3
N refers to Nextweek Expiry (if C is used then Current week expiry)
B refers to Buy (if S is used then Sell)
C refers to Call | CE (if P is used then PE or Put)
2 refers to 2OTM (for CE any Postitive number refers to as OTM and for PE it will be treated as ITM strikes & 0 refers to as ATM - viseversa for Negative Numbers)
3 refers to as 3 Lot
With the syntax of N|B|C2|3 - strategy will be deployed as "Buy 3 lots of 2 OTM Call of Next expiry"
Sample 2:
C|S|P-3|3|10|30
Above syntax means: SELL Current Expiry 3 Lots of 3 OTM Put Strike with 10 SL and 30 TGT
Sample 3:
C|S|C10|3|Default
Above syntax means: SELL Current Expiry 3 Lots of 10 OTM CALL Strike with 50% SL and 95% TGT
Sample 4:
C|B|C-2|3|40%|50%
Above syntax means: BUY Current Expiry 3 Lots of 2 ITM CALL Strike with 40% SL and 50% TGT
Sample 5: Long Straddle
C|B|C0|3
C|B|P0|3
Above syntax means: BUY Current Expiry 3 Lots of ATM CALL & PUT Strike
Sample 6: Iron Butterfly
C|B|C1|1
C|S|C0|1
C|S|P0|1
C|B|P-1|1
Above syntax means: Sell Current Expiry 1 Lots of ATM CALL & PUT Strike and BUY 1OTM Call & Put Strike
Sample 7: Diagonal Spread
C|S|C2|1
C|S|P-2|1
N|B|C3|1
N|B|P-3|1
Above syntax means: Sell Current Expiry 1 Lots of 2OTM CALL & PUT Strike and BUY 3OTM Call & Put Strike of Next Expiry.
To Understand how to deploy Strategy with defined Adjustments. For instance i want to deploy Iron Condor with Adjustments for BNF when the price is currently running at 45000.
C|B-|C3|1
C|S*|C2|1
C|B--|P-3|1
C|S**|P-2|1
At:2|C|S|C2|1
At:2|C|B|C3|1
At:-2|C|S|P-2|1
At:-2|C|B|P-3|1
On:2|*
On:-2|**
On:2|-
On:-2|--
With the above syntax: Intial trades are placed with
BUY BANKNIFTY45300CALL(Current Expiry) 1 Lot
BUY BANKNIFTY44700PUT(Current Expiry) 1 Lot
SELL BANKNIFTY45200CALL(Current Expiry) 1 Lot
SELL BANKNIFTY44800PUT(Current Expiry) 1 Lot
Toolkit tracks the price and holds the adjustments.
We may start to bleed on the sold leg (45200CALL) once the price crosses 45200. Hence if the price crosses 2 strike upside as specified with syntax " On:2|* " where * is a character tagged to Sold Call Leg. it closes the 45200 Call.
Similarly, " On:2|- " where - is character tagged to Brought Call Leg. it closes the 45300 Call, as soon as prices reaches 2 strike upside.
At:2|C|S|C2|1
At:2|C|B|C3|1
With the At Statements you can place the fresh adjustments legs. Above syntax refers to Once the price reaches 45200 it places below adjustment legs.
BUY BANKNIFTY45500CALL(Current Expiry) 1 Lot
SELL BANKNIFTY45400CALL(Current Expiry) 1 Lot
Note: Similarly If prices reaches downside with the On and At Sytax it places the necessary adjustment legs accordingly.
11. SL & TGT - You can specify SL, TGT or Upside & Dowside TGT during the entry conditions and Stratey shall be closed upon hitting either the SL or TGT accordingly.
12. On % Tgt & Lock % SL: This option is used for Prebuilt strategy where you can lock the Profit | Set Revised SL upon hitting specified TGT percentage.
13. Close Symbols: This option is used if you select Alert type as Close Symbols (Ref - 10.5 : Close Symbols) for specified list of symbols Alert shall be pushed to close the open positions of those symbols.
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorized for our documents, script / strategy, and the information published with them. This informational planning script / strategy is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. I am not responsible for any losses you may incur. Please invest wisely.
Happy to receive suggestions and feedback in order to improve the performance of the indicator better.
Strategy:Reversal-CatcherWhat
This is a plain and vanilla reversal based strategy for intraday (15m) timeframe on Futures prices of the assets.
Now what all it comprises of?
It finds out the dynamic support & resistance from Bollinger Band (20 period, 1.5 std dev).
It finds out the potential divergence of price deviation from 5 period exponential moving average (EMA).
If the previous candle (N-1) shows a divergence it confirms the reversal by checking the present candle (N) to be closed inside the Bollinger Band.
It confirms the momentum by checking RSI shows a crossover/crossunder to oversold (30) / overbought (70) region.
It also confirms whether the trend is up (then only reversal trade to short) or down (then only reversal trade to long). The trend is checked with EMA-21 and EMA-50.
Re-affirmation Condition : It re-affirms the position of two successive candles called as `hhLLong` and `hhLLShort` in the script.
Why
In Indian context, retail participants are pre-dominantly (yes- 80% of Indian daily volume) Options buyers mainly in weekly indices (Nifty, BankNifty, FinNifty, CNXMidcap, Sensex, Bankx .. well everyday is expiry now in India, except -- Thank God -- Saturday & Sunday).
And in Index Options the momentum plays a big role.
If one can catch a good reversal point the potential of high Risk-to-Reward trade (hence earn handsomely) is very likely (please note: there is no holy grail in trading. Nothing works 100%).
So this is the attempt to catch a reversal.
Re-affirmation of Reversal
hhLLong : It's a reversal point after an uptrend. It checks the relative positioning of current candle compared to that of previous candle. [The details are in the script. Check for variable hhLLong in script.
hhLLShort : It's a reversal point after a downtrend. It checks the relative positioning of current candle compared to that of previous candle. [The details are in the script. Check for variable hhLLShort in script.
Unique-ness
What's unique in it? Why we decided to publicly share this:
Already given the context of The Great Indian Options Buyers community. It should be helpful to them, we believe.
It takes Very Less Number of Trades with High Accuracy . Please check the result in NSE:NIFTY1! in 15m timeframe. 71% accuracy with roughly a trade in a month.
There is no point giving brokers' the brokerages taking 10 trades a day and ending not-so-good EoD. Better lets take less trades with better result possibility. .
Mention
There are many people uses this variation of Bolling Band, 5EMA
Many people use RSI, trends and relative positioning of candles.
--> We are grateful to all of them. It's really difficult to mention everyone's name. But all people somehow influence the thought process. Thanks for all of them.
Statutory Disclaimer
There is no silver bullet / holy grail in trading. Nothing works 100% time. One has to be careful about the loss (s)he can bear in case of the trade goes against.
We, as the author of this script, is not responsible for any trading or position decision one is taken based on the outcome of this.
It is our sole discretion to change, add, delete the portion or withdraw the whole script without any prior notice or intimation.
In Indian Context : We are not SEBI registered, will never be SEBI registered.
Earnings_MFCThe Earnings_MFC indicator displays statistical information of the price movement of the selected asset as follows:
TAGS: Label on each "earning day" with information on the movement that the price has made from the close of the day before the announcement to:
the opening of the next day (Close to Open - GAP)
the close of the next day (Close to Close - CTC)
HISTOGRAM: Histogram of the times the price has moved in each price band (number of configurable bands).
Each movement has been taken and represented in histogram format, so that visually you can see the number of times the price has exceeded a certain value. Within each band is numbered the number of times the price has reached that area
The histogram has two overlapping data:
....+ A main histogram (red/green stripes)
....+ A secondary histogram (black stripes)
....+ This is so that you can configure which data to see in each one: the GAP movement data or the CTC movement data
The maximum and minimum movement has been indicated (for the main histogram)
It has been indicated, both for positive and negative movements, which is their first (gray) and second (red/green) standard deviation (for the main histogram)
TABLE: A table is included with the following information (you can hide this table):
Summary of statistical data:
....+ Number of samples
....+ Maximum UP movement and average (for both CAP and CTC)
....+ Maximum DOWN movement and average (for both CAP and CTC)
....+ Maximum movement UP or DOWN and average (both for CAP and CTC)
List of all past Earnings (according to the history available in the chart) with their movements
HOW TO USE:
For Options traders it can come in handy to position themselves with Sell PUTs / Sell CALLs / Spreads or Iron Condors. Considering the probabilities of the movement (taking into account that past movements do not ensure future movements), this indicator can help in the decision making for sell strikes.
REMARKS:
Use only in Daily timeframe
Depending on the history of the asset (whether the user is PRO or not FREE) there will be more data
MACD HTF - Dynamic SmoothingEnhancing Your 1-Minute Trades with Dynamic HTF MACD Smoothing
Ever found yourself glued to a 1-minute chart, trying to catch every minor price movement, yet feeling like you're missing the bigger picture? Picture this: a solid MACD line on that chart, dynamically smoothed from a higher timeframe (HTF). This tool offers two significant benefits over other existing HTF MACD indicators:
User-Friendly Interface: No need to manually adjust input parameters every time you switch to a different timeframe.
Smooth Charting: Say goodbye to the zigzag lines that often result from plotting higher time frame resolutions on a lower time frame.
Understanding the MACD
The Moving Average Convergence Divergence (MACD) is one of the most widely used and trusted technical indicators in the trading community. Invented by Gerald Appel in the late 1970s, the MACD helps traders understand the relationship between two moving averages of a security's price. It consists of the MACD line (difference between a 12-period and 26-period Exponential Moving Average) and the Signal line (9-period EMA of the MACD line). When the MACD line crosses above the Signal line, it's viewed as a bullish signal, and vice versa. The difference between the two lines is represented as a histogram, providing insights into potential buy or sell opportunities.
Features of the Dynamic HTF MACD Smoothing Script
Time Frame Flexibility: Choose a higher timeframe to derive MACD values and apply dynamic smoothing to your current timeframe.
Multiple Moving Averages: The script supports various MA types like EMA, SMA, DEMA, TEMA, WMA and HMA.
Alerts: Get real-time alerts for MACD crossover and crossunder.
Customizability: From the type of moving average to its length, customize as per your strategy.
Visual Indicators: Clearly plots signals when MACD crossover or crossunder occurs for potential entries.
At last
A massive shoutout to all the wizards and generous contributors in the community! You inspire innovations and new tools, paving the path forward. Here's to a community where we learn and build together. Cheers to collective growth!
HTF Trend Filter - Dynamic SmoothingSummary of the HTF Trend Filter
The Higher Time Frame (HTF) Trend Filter is a cutting-edge tool crafted for traders who want to scan moving average trend lines time efficiently. At its core, it harnesses the power of dynamic smoothing to present a sleek moving average line regardless of the time frame you’re on. Here's a glimpse of the advantages you unlock with the HTF trend filter:
Dynamic Smoother: Ever been irked by jagged lines on your chart? With the dynamic smoother, those days are gone. The smoother streamlines HTF moving average line on your current lower time frame chart.
Time Efficiency: Time is of the essence in trading. With this tool, you can nimbly toggle between time charts without the hassle of readjusting input parameters, ensuring your screening process remains unhindered.
Features of the Script
Variety of Moving Averages: The script caters to different trading styles by offering a plethora of moving average types, ranging from the classic SMA and EMA to the innovative Hull and McGinley Dynamic MAs.
Dynamic Smoothing: This is the script's pièce de résistance. The dynamic smoothing factor is ingeniously derived by taking the ratio of minutes of the higher time frame to the current time frame. This ensures the moving average remains fluid and consistent across different time frames, eliminating the common pitfalls of jagged moving averages.
Reversal Indicators: It includes a reversal indicator. Green circles pinpoint the start of a potential uptrend, while red ones signify a potential downtrend.
Customizable Alerts: To ensure you never miss a beat, the script is equipped with customizable alert conditions.
Trading Idea
The essence of trading lies in confirming assumptions and validating trends. The HTF Trend Dynamic Smoother positions itself as a potential game-changer in this domain. One could consider using the HTF trend dynamic smoother as a supplementary confirmation tool alongside other primary indicators. For instance, if you're plotting a moving average on a lower time frame, toggling the HTF smoother can offer a broader perspective of the trend from a higher time frame. By ensuring alignment between these perspectives, you could potentially trade with increased confidence, reinforcing your lower time frame strategies with higher time frame confirmations. It's worth noting, however, that while this method can offer additional layers of information and validation, it doesn't replace due diligence. Every trade decision should be the culmination of thorough analysis, and no tool should be solely relied upon for decision-making.
Limitations
While the HTF Trend Filter is an exceptional tool, like all tools, it has its constraints. Lower Time Frame Dependency: For the indicator to function optimally, it's paramount to ensure that the time frame open is always lower (or equal) than the one selected in the input parameters. This limitation is crucial to remember as the dynamic smoother's accuracy hinges on this condition.
In conclusion, the HTF Trend Filter - Dynamic Smoothing is a remarkable blend of innovation and efficiency, tailored for traders who demand fast screening of higher time frame MA trends. Due to it simplistic design it gives a user-friendly experience. However, always remember the golden rule of trading: utilize tools as part of a comprehensive strategy, never in isolation.