Previous Days RangesPrevious Days Ranges
Simply plots out market ranges of previous days price action, of which are the following:
Previous Day High
Previous Day Low
Previous Day Extended High
Previous Day Extended Low
Supports adjustments of timeframes, for different time zones, and style.
Range
Intraday Background Time RangesThis simple script was written for studying recurring intraday behaviours of financial instruments. With it, you can highlight up to 13 customizable time ranges on your chart, filling the corresponding background space with colors you prefer. You can then write a note for each range and it will be shown in the optional related table.
The experience shows that every financial instrument has its own personality. With this in mind, the script can be useful to study intraday charts with the purpose of discovering recurring behaviours of specific instruments over a certain time range and under specific circumstances (normal days, earnings days, days with catalysts, etc.) This can help the trader to deeply understand the instrument personality, and therefore also to decide whether to enter or exit the market if its behaviour meets or not his expectations.
Please note that this script only works on minute/hourly charts.
Mondays Range by B1rdPlots mondays range (high, low and optionally average)
Features:
Added the option to extend the range for the entire week or just monday
Added the option to display if the high or low of the range has been taken and removes the level aftwards
Added the option to only display the current week
Added the option to visualize new weekly sessions
Added the option to mark mondays with a seperate background
Will update the script based on suggestions
EMA scalping - PapamallisEma of highs and low and macd.
Can be used as
*macd filter
*breakout
*range market filter
Daily/Weekly ExtremesBACKGROUND
This indicator calculates the daily and weekly +-1 standard deviation of the S&P 500 based on 2 methodologies:
1. VIX - Using the market's expectation of forward volatility, one can calculate the daily expectation by dividing the VIX by the square root of 252 (the number of trading days in a year) - also know as the "rule of 16." Similarly, dividing by the square root of 50 will give you the weekly expected range based on the VIX.
2. ATR - We also provide expected weekly and daily ranges based on 5 day/week ATR.
HOW TO USE
- This indicator only has 1 option in the settings: choosing the ATR (default) or the VIX to plot the +-1 standard deviation range.
- This indicator WILL ONLY display these ranges if you are looking at the SPX or ES futures. The ranges will not be displayed if you are looking at any other symbols
- The boundaries displayed on the chart should not be used on their own as bounce/reject levels. They are simply to provide a frame of reference as to where price is trading with respect to the market's implied expectations. It can be used as an indicator to look for signs of reversals on the tape.
- Daily and Weekly extremes are plotted on all time frames (even on lower time frames).
3C Reversal Filter v1In essence, this strategy is a heavily smoothed range filter.
This strategy includes a backtester and ability to connect it with your 3 commas bot(See adviced settings below)
The calculation steps below gives an example on how signals are made:
1. Calculating the price movement using ATR, % change, standard deviation etc..
2. Obtaining the smoothed price using SMA.
3. Obtaining the absolute value of the bar-to-bar change.
4. Applying EMA, twice, to the values in step 3.
5. Obtaining the slow trailing line by multiplying the result of step 4 by 1.618.
Think of it as a heavily smoothed price range
If the 1.618 value looks familiar, that’s because it’s used in Fibonacci sequences. You can of course experiment with other values. I’ve seen good results with both 2.618 and 4.236
What does the strategy do?
1. Determine Trend Detection
2. Detect Short-Term Momentum
3commas settings:
-For now you can only use simple bots.
-Create LONG and SHORT bots for the coins you like to trade and set up alerts(You can send long and short signal from the same alert)
-Set TP to 50% the strategy will handle buys and exits based on your inputs.
-Set safety orders to 0. I might add DCA to the strategy if testing proves that to be a good solution.
-When you have made the bots input the bot ID and token adress in the settings of the strategy.
-When creating the alert use this webhook :https://3commas.io/trade_signal/trading_view
-In the message field you use {{strategy.order.alert_message}} as the placeholder.
Ultimate IndicatorThis is a combination of all the price chart indicators I frequently switch between. It contains my day time highlighter (for day trading), multi-timeframe long-term trend indicator for current commodity in the bottom right, customizable trend EMA which also has multi-timeframe drawing capabilities, VWAP, customizable indicators with separate settings from the trend indicator including: EMA, HL2 over time, Donchian Channels, Keltner Channels, Bollinger Bands, and Super Trend. The settings for these are right below the trend settings and can have their length and multiplier adjusted. All of those also have multi-timeframe capabilities separate from the trend multi-time settings.
The Day Trade Highlight option will draw faint yellow between 9:15-9:25, red between 9:25-9:45, yellow between 9:45-10:05. There will be one white background at 9:30am to show the opening of the market. while the market is open there will be a very faint blue background. For the end of the day there will be yellow between 15:45-15:50, red between 15:50-16:00, and yellow between 16:00-16:05. During the night hours, there is no coloring. The purpose of this highlight is to show the opening / closing times of the market and the hot times for large moves.
The indicators can also be colored in the following ways:
1. Simple = Makes all colors for the indicator Gray
2. Trend = Will use the Donchian Channels to get the short-trend direction and by default will color the short-term direction as Blue or Red. Unless using Super Trend, the Donchian Channel is used to find short-term trend direction.
3. Trend Adv = Will use the Donchian Channels to get the short-trend direction and by default will color the short-term direction as Blue or Red. Unless using Super Trend, the Donchian Channel is used to find short-term trend direction. If there is a short-term up-trend during a long-term down-trend, the Blue will become Navy. If short-term down-trend during long-term up-trend, the Red will be Brown.
4. Squeeze = Compares the Bollinger Bands width to the Keltner Channels width and will color based on relative squeeze of the market: Teal = no squeeze. Yellow = little squeeze. Red = decent squeeze. White = huge squeeze. if you do not understand this one, try drawing the Bollinger Bands while using the Squeeze color option and it should become more apparent how this works. I also recommend leaving the length and multiplier to the default 20 and 2 if using this setting and only changing the timeframe to get longer/shorter lengths as I've seen that changing the length or multiplier can more or less make it not work at all.
Along with the indicator settings are options to draw lines/labels/fills for the indicator. I enjoy having only fills for a cleaner look.
The Labels option will show Buy/Sell signals when the short-term trend flips to agree with the long-term trend.
The Trend Bars option will do the same as the Labels option but instead will color the bars white when a Buy/Sell option is given.
The Range Bars option shows will color a bar white when the Close of a candle is outside of a respective ranging indicator option (Bollinger or Keltner).
The Trend Bars will draw white candles no matter which indicator selection you make (even "Off"). However, Range Bars will only draw white when either Bollinger or Keltner are selected.
The Donchian Channels and Super Trend are trending indicators and should be used during trending markets. I like to use the MACD in conjunction with these indicators for possibly earlier entries.
The Bollinger Bands and Keltner Channel are ranging indicators and should be used during ranging markets. I like to use the RSI in conjunction with these indicators and will use 60/40 for overbought and oversold areas rather than 70/30. During a range, I wait for an overbought or oversold indication and will buy/sell when it crosses back into the middle area and close my position when it touches the opposite band.
I have a MACD/RSI combination indicator if you'd like that as well :D
As always, trade at your own risk. This is not some secret indicator that will 100% win. As always, the trades you see in the picture use a 1:1.5 or 1:2 risk to reward ratio, for today (August 8, 2022) it won 5/6 times with one trade still open at the end of the day. Manage your account correctly and you'll win in the long term. Hit me up with any questions or suggestions. Happy Trading!
Operietur ⸗ Time Range BreakoutOur T.R.B ( Time Range Breakout ) indicator is very similar to the O.R.B ( Open Range Breakout ) indicator. This script plots the high/Low within a custom time-range which then extends that plot to end-of-day. A Fibonacci extension is then drawn from that range. The default settings of this indicator set the similarities to the ORB. This script only displays the last trading day.
Due to Tradingview's singular refresh rate for the larger timeframes("resolutions"); this indicator works on timeframes LESS than 60min. Additionally, the smaller the timeframe the more accurate the price range will be.
The movements within the specified period of time define the projected Fibonacci prices associated with the allotted time's price range.
• Custom Time Range
• Fibonacci Extensions
• Up to 5 PTs
• Customizable Multiplier
Additional script features allow for fully adjustable settings and configurations:
• Adjustable; PT Colors
• Adjustable; Range Color
• Adjustable; Toggles
Donchian Channels+Standard Donchian Channels, this includes a Trend EMA which can be configured and the channels will use to give buy and sell signals. The channels are also colored in such a way to indicate a trend reversals. My favorite part that sets this apart from others is, if using the bClose option (which I recommend you do) the trend will not reverse until there is a close above/below the previous channel high/low. i.e. a reversal into an uptrend requires the current bar to close above the previous upper channel rather than just a new high.
The coloring of the current trend allows for a quick read of current market conditions and I use this on any timeframe across all forms of charts (forex stock, futures , crypto, etc). When taking one of the signals I use the opposite channel as the stop loss (when buying use bottom, and selling use top channel)
Update 1:
- Added my name to the code
- Updated the picture to show off the indicator better
- Raised the brightness of the fill color a bit, looks nicer I think
As a warning: I have obviously hand picked this picture to really show off this indicator's power to work in a trending market. Donchian Channels are a trending indicator and work best in trending markets with decent pull backs. If there are multiple signals going in each direction, it is a choppy market and you should stay out until it starts trending again. I generally use a 1:1.5 risk to reward ratio but sometimes will stretch it to 1:2 if it is a nice trade and I feel the market is in my favor as you can see from the trades placed in the picture (and I use that method for any commodity / chart and timeframe). I use the close of the white candle and then (since they are trades going short) I use the upper Donchian Channel as my stop loss.
I personally like to have the lines and labels turned off and enable all other options. Labels are just there to really stand out so you don't miss the white candle indication for a trade. OH! Also, I've had comments from friends that the white candles are hard to see, I turn off my candle borders in settings; makes it super easy to see them then. I turn lines off as the fill does the job well enough and it seems cleaner in my eyes.
If you'd like to see this picture on your chart, it is Micro E-Mini S&P 500 Futures from July 10, 2022 @ 18:00 on the 1-min chart.
just now
Update 2:
- Added day trading time highlights
- Added ranging market indicator (This I'm still working on so use at your own discretion, it's intended purpose is to tell when the Donchian Channels are not going to give great signals and to use a ranging indicator instead)
- Added multi-timeframe trend screener (handy if you want to quickly see the trend direction (based on the Trend EMA you set) of several time frames without having to change charts). It will draw in the bottom right of the chart.
ATR MultiplierOVERVIEW
The Average True Range Multiplier (ATRX) is a simple technical indicator that takes the value of the ATR indicator and multiplies it by a user-specified amount.
CONCEPTS
This indicator is primarily used to set key levels based on historical volatility. The ATR indicator alone measures the historical volatility of the selected instrument, this indicator just multiplies that value to save the hassle of doing that yourself.
God Number Channel V1 (GNC V1)Channel, made of 5 MAs, which a made this way: High of N-period SMA - Low of N-period SMA + X-period SMA (check the code), where N and X are defined by your input.
Main purpose: helps you understand in what range price can move.
WARNING!
HAS TO BE USED WITH OTHER INDICATORS TO HAVE MORE ACCURATE ENTRIES!!!
If the price is above or below the channel, it means that the movement is very strong and you count it as a trend, but be careful then the price returns to the channel, as correction will follow very soon. Use fib correction tool to understand the approximate depth of correction, works pretty good.
Recommendation: consider using the Vortex Indicator( len 21 and 14 are fine; for trend) and "Vumanchu Divergencies + B"(for anything, but calibrate for accuracy, otherwise there will be too much false signals). If you want to see more options where the price might go, just add new MA and add/substract to/from its value avg1*(any of fibonacci correction levels, I personally use 1.618 and 2.618 and for me it is ok): plot(show_ma1 ? ma1+( [ [ ]]]*avg1) : na, color = ma1_color, title="MA №1")
Recommendations and feedback are welcome(!)
Take your wins
Pre Market \ Opening Range High LowGreen vertical lines are showing pre market open and then the opening range as the first hour of market NYSE market open
Pre market high and low are blue lines | intraday opening range high low are in white
Trades are taken in the current direction above | below range breaks with the direction of price action using the moving averages
Price breaking through moving averages and a range is the optimal trade to enter - exit at next range for target - stop loss below the lower | higher moving average depending on short or long
A break above or below the intraday high or low and pre market high or low can give massive profits trailing your stop loss as price runs
Using MA 5 and 12 to filter out entries and exits above or below the ranges short or long is also another strategy to implement
BEST TIME FRAME TO USE IS 5 MINUTE
EHMA Range Index Basket StrategyThis script is a modified version of my EHMA Range Strategy.
EHMA Range Strategy
In addition to the EHMA, this script works with a range around the EHMA (which can be modified), in an attempt to be robust against fake signals. Many times a bar will close below a moving average, only to reverse again the next bar, which eats away at your profits. Especially on shorter timeframes, but also on choppy longer timeframes this can make a strategy unattractive to use.
With the range around the EHMA, the strategy only enters a long/exit-short position if a bar crosses above the upper range. Vice versa, it only enters a short/exit-long position if a bar crosses below the lower range. This avoids positions if bars behave choppy within the EHMA range & only enters a position if the market is confident in it's direction. Having said that, fakeouts are still possible, but a lot less frequent. Having backtested this strategy vs the regular EHMA strategy (and having experimented with various settings), this version seems to be a lot more robust & profitable!
EHMA Range Index Basket Strategy
The EHMA Range Index Basket Strategy aims to make the EHMA Range Strategy even more robust, by taking nearly 40 of the most traded crypto trading pairs and applying the EHMA Range Strategy to them. For each pair it assigns a 0 (Sell signal) or 1 (Buy signal) and adds them up. If the number of Buy signals outweigh the number of Sell signals, the index strategy triggers its Buy signal (and vice versa). The results are even more profitable & robust than with the EHMA Range Strategy on its own. Next to that, it performs a lot better on most crypto pairs, due to it's robustness. Because of that, this strategy is a lot less prone to overfitting and will likely produce better results during live trading conditions!
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
Rets High/Low (2.0 Special Uncensored Edition)This script can be used as a visual aid in seeing the last highs and lows of price in a specific time period. It automatically updates the plots if new highs or lows are made within the given lookback period.
This is a fairly basic version currently, with new added features coming in future updates such as range between high/low and half and whole number detection.
Average, Median, Mode, Biggest: Pip Range Measures & LabelsApply various simple statistical measures to series of full candle ranges over user input length (in bars).
Choose between AVERAGE, MEDIAN, MODE, BIGGEST.
All calculations derive from the high-low range of a candle.
Default length = 260, the number of daily candles in a year.
MODE is calculated from pip ranges rounded to reasonable increments (to nearest 10pips foreign currencies; to nearest 100 pips for DXY ; nearest $10 for other assets). Best only use MODE for the major FX pairs encoded, and on Daily timeframe .
User input 'unit multiplier' only applies when asset is NOT a major Forex pair (unit and multiplier is auto applied for for major FX pairs).
© twingall
Average Daily Pip Ranges by monthShows historical average daily pip ranges for specific months for FOREX pairs
useful for guaging typical seasonal volatility; or rough expected daily pip ranges for different months
works on both DXY and foreign currencies
option to plot 10yrs worth of data; with 10yr average of the average daily range for specific months
cast back to any previous 10yrs of your choosing
@twingall
Range by EmreKbThis indicator shows the ranges and add fibonacci levels. Ranges are consolidate zones between two price. Some traders trade with ranges. This indicator for them. Also you can add alert when the range created.
Zigzag Lenght - A number for the zigzag calculation
Fib Level - Fib level for minimum second wave length
Maximum Deviation - Maximum Deviation for range breaked
SKYROCKET | CBDR RangeIt will visualize ranges considering the distance of the high and low of the range.
MY_SCALP strategyThe MY_SCALP strategy is designed to work with any instrument (cryptocurrency, stocks, forex).
The working timeframe for scalping is small from 1 to 15 minutes, and for trend trading from 30 minutes.
Signals are generated based on the price range (channel) within which the price of the instrument moves.
When the price of the channel breaks up, we expect an upward movement, and when it breaks down, we expect a downward movement.
To avoid manipulations in the market, the algorithm monitors the level of the price relative to the global trend and thus filters out a large part of the false signals.
In addition, in the settings it is possible to show additional inputs - these are the moments of rebound from the edge of the channel inwards, also with filtering applied.
-------------------------------------
💹 SETUP SETUP:
-------------------------------------
To adjust, you should change the value of the CHANNEL multiplier - this depends on the sensitivity and flexibility of the range.
For TF 5m it will be about 8-9, and for TF 1H about 4-5. That is, the higher the TF, the lower the value of the CHANNEL multiplier.
-------------------------------------
🟢 TAKE SETUP:
-------------------------------------
The strategy has 2 takes
You can choose the type of take - FIX or CHANNEL
FIX - fixed targets in %.
CHANNEL - channel takes (The width of the channel at the moment the signal appears is multiplied by the specified multiplier and thus the size of the take is calculated.).
Important: the 1st take cannot be more than the 2nd!
-------------------------------------
⛔️ STOP SETUP:
-------------------------------------
Stop type is also selectable:
FIX - fixed stop in %.
CHANNEL - channel stop (set % of the price for the offset from the opposite side of the trading channel. For additional entries, the stop uses the value of half the channel width + the specified offset from the position entry price).
You have the opportunity to activate the stop line tightening when the 1st tp1 take breakeven is reached.
-------------------------------------
💡 OTHER USEFUL FEATURES
-------------------------------------
✅ In the strategy, you can enable / disable the display of takes and stop lines.
✅ In the strategy, you can enable / disable the display of points of probable price rebounds.
✅ You can choose the direction of trading: long, short or any.
✅ You can choose the percentage of the position to close on the 1st take.
✅ It is possible to enable background highlighting of the current trend. This background does not stretch to the entire screen, but is limited to the calculated extremes, within which the asset price moves.
✅ The screen has a compact display of a table with the current strategy settings and the current state (position, takes, stop).
For the convenience of saving your settings, use the standard PrintScreen function.
✅ You can sign the strategy in the Notes field - this is convenient if you place several versions of the MY_SCALP strategy on the chart with different settings (for different pairs or for different timeframes).
✅ 👉 In the strategy settings, each field has hints , to do this, hover over the ⓘ sign
-------------------------------------
MY_SCALP strategy is closed! You can get test access to it for 48 hours.
👉 In order to gain access or ask questions, write to me in private messages or at the contacts indicated in my signature.
-------------------------------------
========================================================================================================
Стратегия MY_SCALP предназначена для работы с любым инструментом (криптовалюта, акции, форекс).
Рабочий таймфрейм для скальпинга - малый от 1 до 15 минут, а для трендовой торговли от 30 минут.
В основе формирования сигналов лежит ценовой рейндж (канал), внутри которого движется цена инструмента.
При пробитии ценой канала вверх, мы ожидаем восходящее движение, а при пробитии вниз - нисходящее.
Чтобы избежать манипуляций на рынке, алгоритм отслеживает уровень нахождения цены относительно глобального тренда и тем самым фильтрует немалую часть ложных сигналов.
Кроме этого в настройках есть возможность показать дополнительные входы - это моменты отскока от края канала внутрь, также с применением фильтрации.
-------------------------------------
💹 НАСТРОЙКА СЕТАПА:
-------------------------------------
Для настройки следует ищменять значение множителя канала CHANNEL - это этого зависит чувствительность и гибкость рейнджа.
Для ТФ 5м это будет примерно 8-9, а для ТФ 1Ч примерно 4-5. То есть, чем выше ТФ, тем ниже значение множителя CHANNEL.
-------------------------------------
🟢 НАСТРОЙКА ТЕЙКОВ:
-------------------------------------
Стратегия имеет 2 тейка
Тип тейка можно выбрать - FIX или CHANNEL
FIX - фиксированные тейки в %.
CHANNEL - канальные тейки (Ширина канала в момент появления сигнала умножается на заданный множитель и таким образом высчитывается размер тейка.).
Важно: 1-й тейк не может быть больше 2-го!
-------------------------------------
⛔️ НАСТРОЙКА СТОПА:
-------------------------------------
Тип стопа также выбирается:
FIX - фиксированный стоп в %.
CHANNEL - канальный стоп (задаётся % цены для отступа от противоположной стороны торгового канала. Для дополнительных входов стоп использует значение половины ширины канала + заданный отступ от цены входа в позицию).
У Вас есть возможность активировать подтяжку стоп-линии при достижении 1-го тейка tp1 в безубыток.
-------------------------------------
💡 ПРОЧИЕ ПОЛЕЗНЫЕ ФУНКЦИИ
-------------------------------------
✅ В стратегии можно включить/отключить отображение тейков и стоп-линии.
✅ В стратегии можно включить/отключить отображение точек вероятных отскоков цены.
✅ Можно выбрать направление торговли: лонг, шорт или любое.
✅ Можно выбрать процент позиции для закрытия на 1-м тейке.
✅ Есть возможность включения фоновой подкраски текущего тренда. Данный фон не растягивается на весь экран, а ограничивается расчётными экстремумами, в рамках которых двигается цена актива.
✅ На экране есть компактное отображение таблицы с текущими настройками стратегии и текущим состоянием (позиция, тейки, стоп).
Для удобства сохранения своих настроек - воспользуйтесь стандартной функцией PrintScreen.
✅ Вы можете подписать стратегию в поле Notes - это удобно, если Вы размещаете на графике несколько версий стратегии MY_SCALP с разными настройками (для разных пар или для разных ТФ).
✅ 👉 В настройках стратегии у каждого поля есть подсказки , для этого наведите курсор на знак ⓘ
-------------------------------------
Стратегия MY_SCALP является закрытой! Вы можете получить к ней тестовый доступ на 48 часов.
👉 Для того, чтобы получить доступ или задать вопросы пишите мне в личные сообщения или по контактам, указанным в моей подписи.
-------------------------------------
Treat Sideways👉 What is this indicator ?
Understanding the Sideways Trend is the best trading method, and we have written this script intending to make you a better sideways filter indicator. Treat Sideways helps you understand the sideways trend and trade in a risk free manner.
👉 On which coins can this indicator be used ?
This indicator is best used on all cryptocurrencies, stocks , forex markets
👉 How work this indicator ?
We understand the trend using our secret logic and price action, and After that, we mark the sideways movement in a box. The moving average line helps us to construct this indicator.
👉 Default Coin and Time Frame ?
XRPUSDT
Time Frame : 1 min
MA Line Color Details 👇
The Blue color of the MA line indicates the Sideways Trend
The Red color of the MA line indicates the Down Trend
The Green color of the MA line indicates the Up Trend
Indicator Settings 👇
Box Height : This setting can be used to set the size of the Sideways trend
Time Gap : This option is used to control unexpected down trend and up trend
Up Down Threshold : This option should be adjusted according to the time frame and voltality
Color :
Option to change the color of the box that appears in the sideways trend
Border Color : Option to change the color of the box border that appears in the sideways trend
Opacity : Option to change the opacity of the box border that appears in the sideways trend
Line Width : You can adjust the width of the MA line with this option
Highs/Lows difference [OrganicPunch]Highs/Lows difference indicator
To visually evaluate the difference between highs and lows of a price range.
This handsome indicator shows:
difference between highs of 2 candles by displaying it in green histogram
difference between lows of 2 candles by displaying it in red histogram
difference between both highs and lows by displaying a circle at the level of the difference
To read the numerical value, point at the circle of the relevant bar you are interested in, and see the scale.
Indicator is useful in creating strategies where you want to filter out consolidations/ranges (or to locate them), e.g. "Open trade when H/L difference is larger than 200", or "Look for candles with H/L difference lesser than 50".
The exact value of needed H/L difference can be found using this indicator.
Range Filter + MA Strategy [Kintsugi Trading]What is the Range Filter + MA Strategy?
This premium indicator was inspired by my desire to find and place high probability forex trades in any market, direction, or time of day.
Why Forex?
The Forex markets operate 24 hours, 5.5 days a week
Access to meaningful leverage
Ability to easily trade long or short
High liquidity
How to use it!
----- First, start by choosing a Risk/Reward Ratio and Stop PIP Size. -----
- Risk/Reward Ratio = If you have a .5 risk/reward, it means you are risking $100 to make $50.
- Stop PIP Size = How many PIPs will be representative of the max risk. i.e. - if you are risking $100 and you set the PIP stop to 10, that means 10 PIPs = $100.
----- Next, we set the Session Filter. -----
Set the Timezone and Trade Session you desire. If no specific session is desired, simply leave the box unchecked.
----- Next, we set the Moving Average Cloud. -----
Enter the Moving Average Type:
Simple Moving Average
Exponential Moving Average
Hull Moving Average
Weighted Moving Average
Smoothed Moving Average
Enter the fast and slow Moving Average Period.
These inputs will determine whether the strategy looks for Long or Short positions.
----- Next, we set the Range Filters. -----
In combination with the Moving Average Cloud, the Range Filter will help us determine when to take a trade and in what direction.
The strategy is essentially looking for small reversals going against the overall trend and placing a trade once that reversal ends and the price moves back in the direction of the overall trend.
The Range filter utilizes confirmation between two entirely separate Range Filter calculations (or set them both equal to use one).
Each Range Filter is completely customizable by:
Source Calculation (open, high, low, close, hl2, hlc3, ohlc4, hlcc4)
Sampling Period
Range Multiplier
----- Finally, we backtest our ideas. -----
After using the 'Strategy Tester' tab on TradingView to thoroughly backtest your predictions you are ready to take it to the next level - Automated Trading!
This was my whole reason for creating the script. If you work a full-time job, live in a time zone that is hard to trade, or just don't have the patience, this will be a game-changer for you as it was for me.
Auto-Trading
When it comes to auto-trading this strategy I have included two options in the script that utilize the alert messages generated by TradingView.
*Note: Please trade on a demo account until you feel comfortable enough to use real money, and then please stick to 1%-2% of your total account value in risk per trade.*
AutoView
PineConnector
Good luck with your trading!
Volume OximeterOVERVIEW
The Volume Oximeter (VOXI) is a technical indicator that gauges the amount of volume currently present in the market, relative to the historical volume that was present before. The purpose of this indicator is to filter out with-trend signals during ranging/non-trending conditions.
CONCEPTS
This indicator assumes that trends are more likely to start during periods of high volume, compared to during periods of low volume. This is because high volume indicates that there are bigger players currently in the market, which is necessary to begin a sustained trending move.
So, to determine whether the current volume is "high", it is compared to an average volume for however number of candles back the user specifies.
If the current volume is greater than the average volume, it is reasonable to assume we are in a high volume period. Thus, this is the ideal time to enter a trending trade due to the assumption that trends are more likely to start during these high volume periods.
The default values in the indicator are designed for use on the daily chart but can be applied to any timeframe.
The default volume lookback period is 259 since there are usually 259 daily candles in a year on Forex daily charts. This means that the average volume will represent the average volume over the past year. This would be 365 on Crypto daily charts, since the Crypto is open 24/7 instead of 24/5). This is what the current volume will be compared to.
The default smoothing lookback period is 10, but this can be adjusted depending on the indicator that's giving you your with-trend signals. After my backtesting, 10 was the best value for my with-trend indicator, so you should do your own testing to see which value works best with your with-trend indicator.
HOW DO I READ THIS INDICATOR?
If the VOXI line is above or equal to zero (indicated by the blue color), the current volume is greater than the historical average volume.
This is a good time to take with-trend signals since high volume is necessary for sustained trending moves to begin.
If the VOXI line is below zero (indicated by the red color), the current volume is less than the historical average volume.
This is a good time to ignore with-trend signals since an absence of volume indicates that there aren't big market participants to participate in a new trending move.