Higher Time Frame Average True RangesPurpose: This script will help an options trader asses risk and determine good entry and exit strategies
Background Information: The true range is the greatest of: current high minus the current low; the absolute value of the current high minus the previous close; and the absolute value of the current low minus the previous close. The Average True Range (ATR) is a 14-day moving average of the true range. Traders use the ATR indicator to assess volatility in stocks and decide when to enter and exit trades. It is important to note the limitations of using True Range and ATR: These indications cannot tell you the direction of your options trade (call vs. put) and they cannot tell you whether a particular trend is about to reverse. However, it can be used to assess if volatility has peaked for a particular direction and time period.
How this script works: This indicator calculates true range for the daily (DTR), weekly (WTR), and monthly (MTR) time frames and compares it to the Average True Range (ATR) for each of those time frames (DATR, WATR, and MATR). The comparison is displayed into a colored table in the upper right-hand corner of the screen. When a daily, weekly, or monthly true range reaches 80% of its respective ATR, the row for that time frame will turn Orange indicating medium risk for staying in the trade. If the true range goes above 100% of the respective ATR, then the row will turn Red indicating high risk for staying in the trade. When the row for a time period turns red, volatility for the time period has likely peaked and traders should heavily consider taking profits. It is important to note these calculations start at different times for each time frame: Daily (Today’s Open), Weekly (Monday’s Open), Monthly (First of the Month’s Open). This means if it’s the 15th of the month then the Monthly True Range is being calculated for the trading days in the first half of the month (approximately 10 trade days).
The script also plots three sets of horizontal dotted lines to visually represent the ATR for each time period. Each set is generated by adding and subtracting the daily, weekly, and monthly ATRs from that time periods open price. For example, the weekly ATR is added and subtracted from Mondays open price to visually represent the true range for that week. The DATR is represented by red lines, the WATR is represented by the green lines, and the MATR is represented by the blue lines. These plots could also be used to assess risk as well.
How to use this script: Use the table to assess risk and determine potential exit strategies (Green=Low Risk, Orange=Medium Risk, Red=High Risk. Use the dotted lines to speculate what a stock’s price could be in a given time period (Daily=Red, Weekly=Green, and Monthly=Blue). And don’t forget the true range’s calculation and plots starts at the beginning of each time period!
Multitimeframe
TRENDsignalsindicator_MTF► DESCRIPTION
This indicator calculate works in 2 directions:
1) Calculate SMA & VWAP trends at a fixed value: so it values the price actions according the VWAP level to reach the perfect entrypoint
2) Set the value found at a different timeframe(4Hs if u use tradingview TF of 15 mins)
This combination is useful to identify the trend
To help the trader, I placed BUY/SELL signals on the second candle of the same color changed.
Furthermore, I placed:
- HH and LL of the day(green and red lines) and of the current Week(white lines): these lines help the traders to identify the relative supports and resistances
- line red and gray(with big arrows at the start of them): to identify others supports and resistance
► HOW TO USE IT:
1) Entry when a signal(buy/sell) appears or when candles change color: yellow is long, red is short
2) Evaluate where the candle is: for example, if you get a signal "buy", near the Weekly line LL, it's the perfect entry point. The same is if u get a "SELL" signal near the upper white line, it's the perfect moment to enter short.
3) Take profit: we suggest to take profit when RSI is overbought or oversold, that we've pointed thanks the following signals:
- colored circles
- small diamonds
- white circles
- Big white diamonds
► Legend:
BARCOLORS: Yellow is long and red is short moment
MINIARROW buy/sell alert u when the color of candls change
COLORED CIRCLES: indicates when Rsi is oversold or overbought. We identify them like good moment to take profit
BIG ARROW: Identify support and resistance level
SMALL DIAMOND: Use it Like TP. Possible small swing of price can happen
WHITE CIRCLE: Use it Like TP. Possible small swing of price can happen
BIG WHITE DIAMOND: Use it Like TP. Possible big swing of price can happen
So it's suggested to trade just near this supports and resistence using the right direction: when you have a reversal signal near one of the daily or weekly line, it's a good moment to entry
PLEASE COMMENT HERE BELOW ANY QUESTION ABOUT THIS STUDY
EVA - Daily Candle BoxThis is a very simple indicator who display few information about the LAST daily candle. ( it is possible to change the timeframe to have information about last week or last hour )
The green background zone is the channel between last daily candle close and last daily high.
The red background zone is the channel between last daily candle close and last daily low.
The middle line display the last daily candle close.
You can desactivate some display , and let just what you need.
If you have any idea to improve it , let me a message !
Multi period momentum (30m)I found that when there is oversold or overbought, there is always a good point to buy. Buyers can enter the market after oversold drops or overbought turns. It is recommended not to intervene when overbought or oversold is started, because this may be a deviation.
The basic logic of the strategy is to detect multi period and multi empty conditions. When the multiple or short forces reach an extreme value, we think there will be a good reversal. Based on this, we believe that the best use here is 30m cycle.
I will release the version of multiple cycles in the future. My favorite friends can pay attention to it.
1. Based on multi period resonance;
2. The total score of momentum coefficient is 36, and the lowest score is 0; If the coefficient score is greater than 18, it is a long trend; if the coefficient score is less than 18, it is a short trend. It is recommended to look long if the coefficient score is greater than 18 and short if the coefficient score is less than 10;
3. The closer the momentum coefficient is to the extreme value, the greater the possibility of inversion. Therefore, it can be considered that when it is greater than 30, empty orders can be placed, and when it is less than 5, multiple orders can be placed;
4. This index calculates the resonance coefficient in combination with multiple periods of 5m, 15m, 30m, 1h, 2h and 4h. The most suitable period is 30m, because this period is the middle value;
5. You can use the 30m cycle to look at the overall direction and the 5m cycle to find the exact trading opportunities.
International Open Market Hours by WAMRAInternational Market Hours for NY, London, Germany and Japan.
It will plot an "Open" value for use with other indicators.
Shift DashboardThe Shift Dashboard is a simple table that shows where current price is relative to the 8 EMA and 21 EMA, as part of the DCXTRA Shift Strategy.
If current price is below the 8 and 21 EMAs, the dashboard will provide a red sell signal.
If current price is above the 8 and 21 EMAs, the dashboard will provide a green buy signal.
If current price is between the 8 and 21 EMAs, the dashboard will leave a blank reading.
The dashboard shows buy or sell signals based on various timeframes.
If all timeframes are aligned with all buy or all sell signals, then the trader takes a long/short position at the appearance of a candlestick reversal pattern with price pushing off the 21EMA in the direction of indicated trend.
Volume 15m vs 1m*Up/Down Volume Indicator
This indicator plots the 15m volume (black line) on the 1m chart alongside the sum of 1m volume for 15m (blue line).
This indicator allows us to see the raw data that will generate the 15m volume before it occurs.
Next it seperates up period volume (green line) from down period volume (red line) so that we can see how much of each was responsible for the total volume.
The black line will dance for 15m at a time but if the blue line rises above the locked in section of the black line (to the left), then the next 15m volume will be higher than the last.
Also, if the green line is higher than the red, we know that up volume is driving of the increase.
*Volume Sum Indicator
This indicator allows us to track the volume trend even when volume is near zero.
This indicators sums the 15m volume for 13 periods to represent 200 minutes worth of volume.
Then it plots the sum of 1m up volume for 200 periods and the 1m down volume for 200 periods.
When green is over red, the volume is trending up.
Blue is the total 1m volume for 200 periods. It should act as a resistance line since it is unusual for 100% of volume to be up volume or down volume.
This indicator only works on the 1m chart. The higher timeframe must be set to 15m. If anyone knows how to make this indicator work on any timeframe that would be great!
Gap ZonesSharing a simple gap zone identifier, simply detects gap up/down areas and plots them for visual reference. Calculation uses new candle open compared to previous candle close and draws the zone, a mid point is plotted also as far too often it's significance is proven effective.
Works on any timeframe and market though I recommend utilizing timeframes such as weekly or daily for viewing at lower timeframes such as 5, 15 or 30 minutes.
Often price is observed reaching towards zone high/mid/low before rejection/bouncing. These gap zones can give quantitative basis for trade management.
Future features may include alerts based on price crossing up/down gap low, mid and highs. Feel free to message with any other suggestions.
Price Correction to fix data manipulation and mispricingPrice Correction corrects for index and security mispricing to the extent possible in TradingView on both daily and intraday charts. Price correction addresses mispricing issues for specific securities with known issues, or the user can build daily candles from intraday data instead of relying on exchange reported daily OHLC prices, which can include both legitimate special auction and off-exchange trades or illegitimate mispricing. The user can also detect daily OHLC prices that don’t reflect the intraday price action within a specified percent deviation. Price Correction functions as normal candles or bars for any time frame when correction is not needed.
On the 4th of October 2022, the AMEX exchange, owned by the New York Stock Exchange, decided to misprice the daily OHLC data for the SPY, the world’s largest ETF fund. The exchange eliminated the overnight gap that should have occurred in the daily chart that represents regular trading hours by showing a wick connecting near the close of the previous day. Neither the SPX, the SP500 cash index that the SPY ETF tracks, nor other SPX ETFs such as VOO or IVV show such a wick because significant price action at that level never occurred. The intraday SPY chart never shows the price drop below 372.31 that day, but there is a wick that extends to 366.57. On the 6th of October, they continued this practice of using a wick that connects with the close of the previous day to eliminate gaps in daily price action. The objective of this indicator is to fix such inconsistent mispricing practices in the SPY, NYA, and other indices or securities.
Price Correction corrects for the daily mispricing in the SPY to agree with the price action that actually occurred in the SPX index it tracks, as well as the other SPX ETFs, by using intraday data. The chart below compares the Price Correction of the SPY (top) to the SPX (middle) and the original mispriced SPY (bottom) with incorrect wicks. Price correction (top) removes those incorrect wicks (bottom) to match the SPX (middle).
The daily mispricing of the SPY follows after the successful deployment of the NYSE Composite Index mispricing, NYA, an index that represents all common stocks within the New York Stock Exchange, the largest exchange in the world. The importance of the NYA should not be understated. It is the price counterpart to NYSE’s market internals or statistics. Beginning in 2021, the New York Stock Exchange eliminated gaps in daily OHLC data for the NYA by using the close of the previous day as the open for the following day, in violation of their own NYSE Index Series Methodology. The Methodology states for the opening price that “The first index level is calculated and published around 09:30 ET, when the U.S. equity markets open for their regular trading session. The calculation of that level utilizes the most updated prices available at that moment.” You can verify for yourself that this is simply not the case. The first update of the NYA price for each day matches the close of the previous day, not the “most updated prices available at that moment”, causing data providers to often represent the first intraday bar with a huge sudden price change when an overnight price change occurred instead. For example, on 13 Jun 2022, TradingView shows a one-minute bar drop 2.3%. With a market capitalization of roughly 23 trillion dollars, the NYSE composite capitalization did not suddenly drop a half-trillion dollars in just one minute as the intraday chart data would have you believe. All major US indices, index ETFs, and even foreign indices like the Toronto TAX, the Australian ASXAL, the Bombay SENSEX, and German DAX had down gaps that day, except for the mispriced NYSE index. Price Correction corrects for this mispricing in daily OHLC data, as shown in the main chart at the top of this page comparing the original NYA (top) to the Price Corrected NYA (bottom).
Price Correction also corrects for the intraday mispricing in the NYA. The chart below shows how the Price Correction (top) replaces the incorrect first one-minute candles with gaps (bottom) from 22 Sep 2022 to 29 Sep 2022. TradingView is inconsistent in how intraday data is reported for overnight gaps by sometimes connecting the first intraday bar of the day to the close of the previous day, and other times not. This inconsistency may be due to manually changing the intraday data based on user support tickets. For example, after reporting the lack of a major gap in the NYA daily OHLC prices that existed intraday for 13 Jun 2022, TradingView opted to remove the true gap in intraday prices by creating a 2.3% half-a-trillion-dollar one-minute bar that connected the close of the previous day to show a sudden drop in price that didn’t occur, instead of adding the gap in the daily OHLC data that actually took place from overnight price action.
Price Correction allows users to detect daily OHLC data that does not reflect the intraday price action within a certain percent difference by changing the color of those candles or bars that deviate. The chart below clearly shows the start of the NYSE disinformation campaign for NYA that started in 2021 by painting blue those candles with daily OHLC values that deviated from the intraday values by 0.1%. Before 2021, the number of deviating candles is relatively sparse, but beginning in 2021, the chart is littered with deviating candles.
If there are other index or security mispricing or data issues you are aware of that can be incorporated into Price Correction, please let me know. Accurate financial data is indispensable in making accurate financial decisions. Assert your right to accurate financial data by reporting incorrect data and mispricing issues.
How to use the Price Correction
Simply add this “indicator” to your chart and remove the mispriced default candles or bars by right clicking on the chart, selecting Settings, and de-selecting Body, Wick, and Border under the Symbol tab. The Presets settings automatically takes care of mispricing in the NYA and SPY to the extent possible in TradingView. The user can also build their own daily candles based off of intraday data to address other securities that may have mispricing issues.
deviation from fixed-timeframe-maIt is like an improved version of the deviation rate from the R-type (Radioyazi) moving average line used in stocks.
5RMA deviation rate is red and 25RMA deviation rate is blue. RMA is the average of the opening, high, low and closing prices. You can change it to SMA or close price in the settings.
Pink is (5RMA+25RMA)/2.
Each line is a band, the upper end is the high price, the lower end is the low price, and the middle line is the closing price. If you don't need the high/low price band, you can turn it off in the settings.
The gray line is the difference between the red 5RMA deviation rate and the blue 25RMA deviation rate.
It draws the results on the daily chart even on the intraday chart.
株で使われるR式(RadiOyazi)移動平均線からの乖離率の改良版のようなものです。
5RMA乖離率が赤で、25RMA乖離率が青です。RMAは、始値、高値、安値、終値の平均です。設定でSMAにも終値にも変更できます。
ピンクが(5RMA+25RMA)/2です。
各線が帯になってますが、上端が高値、下端が安値、中の線が終値です。高値・安値の帯が要らなければ、設定で消せます。
グレーの線は、赤の5RMA乖離率と青の25RMA乖離率の差です。
日中足でも日足での結果を描画します。
Liquidity RaidsA raid/sweep occurs when price takes out a previous high/low i.e., price sweeps a level, grabs liquidity and reverses. When this occurs in higher time frames (HTF) like 1h, 4h, daily, etc., there's a greater chance for minor/major reversal/pullback in lower time frames (LTF). For clarification, this is not my concept - ICT students and price action traders call it "liquidity grab", some call it "stop hunt", some call it "evil market maker", etc. There are some indicators which plot this already, but none of them have what I need (multi-timeframe support and filtering swing points).
Typically, we look for raids in HTF, which is set to the timeframe parameter of the indicator. Then, we go into LTF for execution, and we'll see HTF raids plotted there (which greatly eases backtesting and execution). We can also check "filter swing points" to only show raids of swing points (3-candle pattern).
The above chart shows this indicator in action (1m chart showing raids from 15m with swing point filter enabled).
This indicator also supports setting alerts for raids.
STP PSAR V5PSAR V5: Automate your trading bots to automate your life!
Welcome to the new revolution in trading bots! PSAR V5 is built to automatically change its indicator settings based on real-time market conditions without any human intervention. Instead of setting up 8-10 alerts for each pair, just setup 1 or 2 alerts.
PSAR is our high-frequency scalper that is designed to take hundreds of trades a day and is the most profitable bot available from Swing Trade Pros. PSAR V5 uses multiple filters (SEE BELOW FOR FILTER DESCRIPTIONS) to reduce the risk of using PSAR by filtering out trades that could become stuck, and changes these filters based on real-time market conditions. Even with multiple filters to reduce risk, it is always important for users to manage their risk and accept the risks of running trading bots and strategies.
PSAR V5 is our first fully automated trading bot, changing its own settings based on real-time market conditions. Ever notice how one setting doesn’t work in all market conditions? PSAR V5 solves this by using 4 different trend indicators to detect the trend of the market, and then uses predefined settings for 8 different trend conditions to automatically adjust as the market changes! This reduces risk and saves the user time.
PSAR V5 isn’t just hands-off, set it and forget it for one market condition, PSAR V5 is set it and forget it for ALL market conditions!!!
PSAR V5 is meant for the beginner user, making it easy to setup and easy to adjust with predefined default risk conditions for each market condition. PSAR V5 ADVANCED allows the user to finely tune each setting for every market condition, and is available for our advanced users in VIP .
DETAILED DESCRIPTION OF FILTERS USED:
PSAR TREND: To detect trend, PSAR V5 uses 4 high time frame PSAR filters to detect overall market conditions. By combining lower time frames such as 5 minute and 15 minute with higher time frame such as 4 hour and daily, PSAR trend detection allows for quick reactions during quick market changes while still adapting and staying on trend with overall market conditions using the higher time frames.
This enables PSAR V5 to combine all 4 PSAR trend filters to determine the strength of the overall market while reacting to quick changes, providing 8 different customizable trend conditions which PSAR uses for settings and to trigger up to 8 different bots, allowing the user to risk on when trend is in their favor, and risk off when trend is not in their favor. PSAR V5 also shows NO TREND when there is indecision in the market when all time frames do not agree.
DIVERGENCES: PSAR V5 uses an enhances version of our previous divergence filter to detect loss of strength in the market by detecting divergences in the Relative Strength Index and filtering out those trades.
ADX: PSAR V5 uses the ADX filter to capture the strongest part of a move in price while avoiding the end of the price movement. This allows us to filter out late longs and shorts.
PSAR DISTANCE: Our PSAR Distance filter will filter out any trades that get beyond a predefined distance from the PSAR indicator dots. This is very useful for avoiding tops and bottoms.
REPAINTING: Significant code has been added to avoid repainting by making each high time frame calculation individually within its own time frame, and then using the bar merge method to eliminate repaints.
[VTaL] Vertical Time Alert Lines - By BlueJayBird🦾 USE
- Vertical lines drawn ON TOP of chart at selected key times of the day, week, month, year.
- You can use it at any symbol (as far as I know).
- Programmatic alerts available.
- Lines from lower time-frames are selectively NOT visible at higher time-frames. Example: At 1h time-frame, vertical lines from 1h and 4h intervals are not visible. Drawing them is considered not really useful.
🎭 MAIN FEATURES
- Available targeted times: 3m, 15m, 1h, 4h, 1D, 1W, 1M, 1Y.
- Offset available for all lines. Example: 1 offset for 4h moves lines from 4AM to 8AM.
- Programmatic alerts for all lines. Example: If alert is enabled for 15m lines, every time those lines are reached, alert will trigger.
- Available drawing themes: Custom, Light, Dark.
💻 NOTES ON CODE
- Vertical lines are drawn using a custom function, which uses line.new() built-in function.
- Alerts are triggered using ta.cross() built-in function. Alert is triggered when close price crosses a given time value from the line.get_x1() built-in function.
- I've added, where necessary, several comments to the code for understanding what's going on. If you have additional questions, you may ask them in the comment section of the publication.
- 3m lines are not really useful in day-trading, they were added for debugging purposes mainly. Useful for learning how to use alerts, though.
👉🏼 NOTES ON ALERTS
- When setting up an alert, the targeted line must be enabled/visible.
- Every time any alert is enabled or disabled, you must create AGAIN the alert from the "Alerts" panel (remember, alerts run in the back-end).
- Alerts contain really useful information. If you have any idea for adding some other data, tell in the comment section. 💡
⚠️ KNOWN ISSUES
- None. Let me know please if you find any.
--------------------------------------------
~ Comment , Follow and Boost ~ 🚀
Display Momento -[0.1]-This is Indicator Panel use for watch many indicator in one panel.
*For this version u can only adjust length (RSI , STOCH , ATR)
ChannelMomentumBreakerV5This indicator is based on an original idea which is derived from Dow Theory: "Asset prices incorporate all available information". The driving influence behind this indicator is to consider only Meaningful changes in behaviour in a time independent system.
The way it works is simple and as follows:
The indicator decides on a singular price point called the Pivot Price which will be used as a baseline/calibration point
It then generates its own OHLC candles based on a 1-1 mapping from the real time candles to the "virtual" candles
The ratio between the top tails and bottom tails of these virtual candles will determine if there is a meaningful change in behaviour
The result is reflected in the histogram for conveniency.
The indicator can be considered as time-frame agnostic but works most optimally when derived from smaller time-frames (e.g. its detection of meaningful changes will be better when used in a 1-minute candle time-frame as opposed to a 3-minute time-frame).
Colour scheme:
------------------
The virtual candles follow a two-colour convention:
Gray - Considered a safe zone for entry
Red - Considered less safe
These virtual candles must be analysed in conjunction with the histogram.
Histogram colour scheme:
Red - Signifies less than mid-level change in behaviour
Yellow - Signifies change in behaviour that is not strong enough or too late with respect to when the "up" trend began
Gray - Signifies no meaningful change in behaviour has occurred for a long time
Lime - Signifies meaningful change in behaviour has occurred recently
White - Signifies a meaningful change in behaviour has occurred recently and quickly
Blue - Signifies risky change in behaviour
Teal - Signifies a virtual bar open is greater than the previous virtual bar
In general, the upper half of the histogram is considered as a preferred zone for long entry and vice versa for the bottom half.
Crossover background colour scheme:
Red - Transition from positive behaviour -> negative behaviour (This is triggered when consecutive bars are crossing a certain low threshold )
Green - Transition from negative behaviour -> positive behaviour (This is triggered when consecutive bars are crossing a certain high threshold )
Input parameters:
Fast Acceleration Length and Slow Acceleration Length are used to control the sensitivity of the crossover mechanism on the histogram.
How to use:
The picture depicts the virtual (gray/red) candles and histogram.
The Blue rectangle shows the virtual bars and a full transition from negative behaviour to positive behaviour.
The Red rectangle shows when meaningful negative behaviour is occurring, where it may be suitable to begin preparing for an upwards trend (reversal of behaviour).
The Green rectangle shows when meaningful positive behaviour has occurred, and you can get ready to enter a trade.
A confirmed green bar in histogram is a sign that meaningful positive behaviour has occurred and the trade can be taken above the high confirmed bar.
In the below snapshot - The Green cross hair shows the recommended entry point for a long trade.
Snapshot:
Input Parameters
Fast MA Length - Fast threshold for crossing Meaningful changes in behaviour
Slow MA Length - Slow threshold for crossing Meaningful changes in behaviour
Display Imaginary bars - Toggle On/Off for displaying virtual candles
Regression Length - Histogram sensitivity (The Shorter value the more sensitive for changes )
Virtual Bars Smoothing Length - Length threshold for virtual bars smoothing (Increasing/Decreasing the value will impact when we consider Meaningful changes in behaviour)
Limitations:
In some cases when stock is not making a Meaningful change in behaviour for long time both the virtual bars and the histogram will be flat.
In such cases, consider changing to a higher time frame or changing the sensitivity settings.
Wunder DCA BotThe bot is based on the DCA system.
1. DCA is the investment method in which you buy a certain portion of the asset after the determined price deviation.
2. For entry, we evaluate the maximum and minimum levels for a given period that you can adjust in the script. The bot enters when price rebound from the specified levels.
3. For the exit, the bot will use the take profit percentage that you will specify in settings.
It is also possible to choose how the take profit is calculated either from the average entry price or from the entry order (first order).
4. DCA uses the following settings:
- Base order Volume: Volume of your first order on entry signal
- Subsequent orders volume: The volume of all subsequent orders except the first
- DCA orders count: This parameter will determine how many entries your overall strategy will have. For example: If you will put 3, that will mean that including your initial position you will have 2 additional orders.
- DCA order price deviation:
This is the value in % which determines the deviation of the additional entries from the entry price. Example: If you go long and the price of the asset is 100$ and you put an order price deviation of 1% that will mean that the first additional entry will occur when the price will drop by 1%, and the second entry will be triggered when the overall price will drop by 2% (as the interval between the first and the second additional entry will be 1%).
- DCA Order Volume Multiplier:
This parameter will determine the amount that you put into each additional position. If this parameter is equal to 1 that means that each additional entry will be equal to the initial amount. The extra volume will be added to your position from the second DCA entry. Example: Your initial position was 10$ and your Volume Multiplier is set to 2. When you reach your 1st DCA target your additional order will have the same volume of 10$. When you reach your 2nd DCA target your additional order will be 20$ (previous position volume * multiplier). Your 3rd DCA target will place the order of 40$.
- DCA order price Deviation Multiplier:
This value will increase the price deviation between each additional entry. It is calculated as the price deviation multiplied by the deviation multiplier. For example: if you enter long at the price 100$ and have a price deviation of 1% with the price deviation multiplier of 2 that will mean that the first additional entry will occur when the price will drop to 99$ however the second will occur when the price will go to 97$. The third additional position will be entered at 94$
5. For full automation of the bot, you should set your comments to the input in the bot settings in the "LONG" and "SHORT" fields. You also need to create an alert signal and set a Webhook to send signals.
IMPORTANT!!!
1. Position calculation should take into account several factors: your deposit, leverage, the number of DCA orders, the distance to the last DCA order;
2. When choosing leverage, it is important to correctly calculate the possible drawdown. If you set a high leverage value, then liquidation awaits and the bot will not be able to take profits and will exit the position ahead of time;
3. The size of the position must be determined in accordance with all risks and take into account the size of your deposit;
4. This DCA Bot is able to earn consistently with the correct calculated money management.
SUPER MACDthis indicator serves to differentiate the classic source of MACD and add the: DYNAMIC MACD and DYNAMIC BAND
with these inputs you can modify the inputs of the different Bar's, you can choose between:
Candles = classic Candles
Heikin Hashi
Kagi
Line break
Pointfigure
Renko
To use the Dynamic Macd and Band just check the box:
Use Dynamic Rsi??? = this input will change the Rsi in the Dynamic Rsi
Use Dynamic Band??? = this input will change the Bands to the Dynamic Band
Selecting the input: "Use Different Source ???" you can use a source with multiple elements of your choice:
2 = (Source 1 + Source 2) / 2
3 = (Source 1 + Source 2 + Source 3) / 3
4 = (Source 1 + Source 2 + Source 3 + Source 4) / 4
5 = (Source 1 + Source 2 + Source 3 + Source 4 + Source 5) / 5
MTF MA Ribbon and Bands + BB, Gaussian F. and R. VWAP with StDev█ Multi Timeframe Moving Average Ribbon and Bands + Bollinger Bands, Gaussian Filter and Rolling Volume Weighted Average Price with Standard Deviation Bands
Up to 9 moving averages can be independently applied.
The length , type and timeframe of each moving average are configurable .
The lines, colors and background fill are customizable too.
This script can also display:
Moving Average Bands
Bollinger Bands
Gaussian Filter
Rolling VWAP and Standard Deviation Bands
Types of Moving Averages:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Smoothed Moving Average (SMMA)
Weighted Moving Average (WMA)
Volume Weighted Moving Average (VWMA)
Least Squares Moving Average (LSMA)
Hull Moving Average (HMA)
Arnaud Legoux Moving Average (ALMA)
█ Moving Average
Moving Averages are price based, lagging (or reactive) indicators that display the average price of a security over a set period of time.
A Moving Average is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance.
█ Bollinger Bands
Bollinger Bands consist of a band of three lines which are plotted in relation to security prices.
The line in the middle is usually a Simple Moving Average (SMA) set to a period of 20 days (the type of trend line and period can be changed by the trader, a 20 day moving average is by far the most popular).
The SMA then serves as a base for the Upper and Lower Bands which are used as a way to measure volatility by observing the relationship between the Bands and price.
█ Gaussian Filter
Gaussian filter can be used for smoothing.
It rejects high frequencies (fast movements) better than an EMA and has lower lag.
A Gaussian filter is one whose transfer response is described by the familiar Gaussian bell-shaped curve.
In the case of low-pass filters, only the upper half of the curve describes the filter.
The use of gaussian filters is a move toward achieving the dual goal of reducing lag and reducing the lag of high-frequency components relative to the lag of lower-frequency components.
█ Rolling VWAP
The typical VWAP is designed to be used on intraday charts, as it resets at the beginning of the day.
Such VWAPs cannot be used on daily, weekly or monthly charts. Instead, this rolling VWAP uses a time period that automatically adjusts to the chart's timeframe.
You can thus use the rolling VWAP on any chart that includes volume information in its data feed.
Because the rolling VWAP uses a moving window, it does not exhibit the jumpiness of VWAP plots that reset.
Made with the help from scripts of: adam24x, VishvaP, loxx and pmk07.
TrapFrames (Stocks)TrapFrames (Stocks) is the Stock version of Trapframes that is the table chart from Traplight that showed the current values for a symbol for Traplight and Kriss/Kross, but cranked up to 11! You can select from a large list of stocks to create a dashboard-like view of your favorite symbols. So that you can "Check the Weather" so to speak. This is mainly to be used as a companion indicator to Traplight. So, that you can find which of your symbols looks interesting, and delve more deeply into them on an individual basis from there.
TrapFramesTrapFrames is the table chart from Traplight that showed the current values for a symbol for Traplight and Kriss/Kross, but cranked up to 11! You can select from a large list of pairs/indexes to create a dashboard-like view of your favorite symbols. So that you can "Check the Weather" so to speak. This is mainly to be used as a companion indicator to Traplight. So, that you can find which of your symbols looks interesting, and delve more deeply into them on an individual basis from there.
True Average Period Traded RangeTrue Average Period Trading Range (TAPTR)
The J. Welles Wilder Average True Range calculation includes the ability to calculate in gaps into the equation.
It is in my opinion that gaps are untraded range values until the prices on their own come back and close the gaps.
The TAPTR calculation is simple, it is the average for a set period of time of the HIGH - LOW.
The ATR average calculation is automatically set based on the timeframe period you are looking at.
12 Months (1 year) = 10 (1 decade)
Months = 12 (1 year)
Weeks = 12 (1 business quarter)
Days = 21 (1 trading month)
4 Hour = 9 (5 trading days)
1 Hour = 33 (5 trading days)
45 minutes = 9 (1 trading day)
30 minutes = 14 (1 trading day)
15 minutes = 28 (1 trading day)
10 minutes = 42 (1 trading day)
5 minutes = 85 (1 trading day)
1 minute = 420 (1 trading day)
default value = 21 (if using a timeframe not described above)
The "master trend" as being a 21 SMA.
The colored columns represent the actual range value for that time period.
Description of values from left to right.
1) Actual Trade Range Value for the time period you are viewing
2) % of price (in decimal, you need multiply by 100 to get the true percent)
3) Average Traded Range
4) % of price
5) .618 of Average Traded Range
6) % of price
7) Mean of #3 and #5
8) % of price
The % of price is displayed in its calculated form. You need to multiple the value by 100 if you want the actual percent.
Example: Displayed Value: 0.0246 = 2.46%
Why calculated form only? If the ranges are .72 and the % of price is 2.32 the indicator looks all jacked up like a redneck's pick-up.
However, if it is .0232, everything is to scale.
Why is % of price helpful?
If you are trading and are aware that average period traded range is 5%, you now have an idea of an average return if you could catch from low to high (or short high to low).
Bar Colors
RED is greater than 4.2x TAPTR
ORANGE is greater than 2.618x TAPTR but less than RED
YELLOW is greater than 1.618x TAPTR but less than ORANGE
GREEN is greater than .618x TAPTR but less than YELLOW
BLUE is less than GREEN
The colors of the bars represent how far from the Master Trend (21 SMA) the close is.
This is determined by taking the difference between the close and the 21 SMA and dividing by the current TAPTR.
EXAMPLE:
IF you have a RED bar, the close is greater than 4.2 TAPTRs away from the 21 SMA. This means that either prices will stall and remain flat until
the SMA comes to the prices or turn and return to the SMA.
If prices are greater than 4.2 TAPTR, that also represents that it is greater than 4 or more time periods from the mean if the return traded within the averages.
Moving Averages based on higher TimeframesOVERVIEW
This indicator gives you the possibility to plot up to 10 individually adjustable moving averages on to one chart. You can individualize them based on several criteria.
FEATURES
Type : You can define which type of moving average you want to use. Possible options are EMA, SMA, WMA, HMA, and RMA.
Source : By default, moving averages use the closing price as source, but you can use all OHCL values as source.
Length : Set the length of the moving average.
Timeframe : Select any timeframe the moving average should be based on.
Smooth line : Plot the moving average as a smooth or a stepped line.
Important : This indicator was designed to request values from moving averages of a timeframe higher than the current chart timeframe. It is not recommended to request values from moving averages of a timeframe lower than the current chart timeframe.
If you find errors of any kind or have suggestions to improve this indicator or just want to give some feedback, please feel free to post a comment below.
Vegas AutoThis is a trial script that searches for Vegas buy/sell signals in different time frames.
When a Vegas signal is found, it remains valid until the Vegas tunnel at that time frame is broken (i.e. 12 EMA crosses 144 EMA), or the candle closes across the 200 EMA.
When a signal in a lower time frame is found, the Vegas signal in higher time frames are also considered to be valid, as long as the corresponding EMAs are in the appropriate order. And when the Vegas signal in a lower time frame is invalidated, the script automatically switches to the next higher time frame that is still valid.
The Vegas tunnels when the buy/sell signals are valid are shown as green/red lines. The time frames considered are 30m, 1H, 2H, 4H, 6H, 12H, and 1D.