Wurucututu's Daily/Weekly/Monthly HLOCThis script draws the High/Low range for a daily, weekly, or monthly periods. By default is set to weekly.
Also it draws the open and close for each period, painting it in red if open greater than close, and green otherwise.
You can forward shift ranges to see how current price action interacts with ranges from past periods. By default this is set to zero.
For instance, here is the interaction of current week with previous week range (i.e. a 1 week shift forward).
And here is a 7 month shift forward.
Close
Key Levels// How it Works \\
Calculating Previous Days, Weeks and Monthly open, high, low, close and vwaps
Plots these levels on your chart
// Settings \\
You can enable/disable any of the levels you want to see
You can also change the amount of bars back the levels are plotted back to
// Use Case \\
These levels are often used in different methods of Technical analysis for support and resistance.
// Suggestions \\
Happy for anyone to make any suggestions on changes which could improve the script,
// Terms \\
Feel free to use the script, If you do use the script could you please just tag me as I am interested to see how people are using it. Good Luck!
marketsangle ohlc finderThis Indicator helps you to identify open=low, open=high, close=low and close=high candles. You can use it anytime frame you want.
open=low => Shows Strong Buying Force
open=high => Shows Strong Selling Force
close=low => Shows Strong Selling Force
close=high => Shows Strong Buying Force
For best results use it with a combination of other indicators or oscillators.
Close strength lineThe close strength line shows how much the strength in the current up/down trend actually present.
We calculate it by difference between High-Low and the way it moves with respect to Close moving averages.
You can change intervals from settings.
Use this in combination with any other moving average indicator e.g. EMA 13
when Close line is below other indicators/priceline, it is Uptrend and close line acts as support.
when Close line is above other indicators/priceline, it is Downtrend and close line acts as resistance.
You can also use Close line as potential Targets for Buy or Short trades depending on it's direction with respect to price line last Close.
Close Combination Lock Style - Visual AppealThis creates a combination style closing price change on each tick.
It has two theme options, one as silver dials for Dark Theme and the other as black dials for White Theme.
We get fixated to watching closing prices on charts and it gets visually daunting. This creates a combination style price change which updates on each tick, which is quite pleasing to the eye.
When new price is above current center line, it shift the above prices showing ▲ arrow, and if new price is lower, it will shift the bottom prices showing ▼ arrow. If there is no change in price between the ticks, it will show =.
T3 + BB
TRES EMAS + BANDAS DE BOLLINGER
INDICADOR 1: TRES EMAS (MEDIA MOVIL EXPONENCIAL)
Con este indicador puede visualizar el promedio de precios con mayor peso a los datos mas recientes.
Se calculan y dibujan tres medias móviles exponenciales: 4, 20 y 200 últimas velas.
-Rápida EMA1 = 4, paso = 1
-Media EMA2 = 20, paso = 2
-Lenta EMA 3 = 200, paso = 10
INDICADOR 2: BANDAS DE BOLLINGER
Con este indicador podrá ver la fuerza y la tendencia del mercado, es decir la mide la volatilidad del precio del activo.
Si el precio sobrepasa la banda superior, el activo está sobrecomprado.
Si el precio sobrepasa la banda inferior, el activo está sobrevendido.
Longitud tendencia - BASE = 20, paso = 1
Desviación Estándar - Multiplicador = 2, paso = 0.2
Estos 2 indicadores sirven para todo tipo de activos: FOREX, CRIPTO, CFD´s, ETC.
------------------------------------------------------------------------------------------------------------------
THREE EMAS + BOLLINGER BANDS
INDICATOR 1: THREE EMAS (EXPONENTIAL MOVING AVERAGE)
With this indicator you can visualize the average of prices with greater weight to the most recent data.
Three exponential moving averages are calculated and drawn: 4, 20 and 200 last candles.
-Fast EMA1 = 4, step = 1
-Average EMA2 = 20, step = 2
-Slow EMA 3 = 200, step = 10
INDICATOR 2: BOLLINGER BANDS
With this indicator you can see the strength and trend of the market, that is, it is measured by the volatility of the asset price.
If the price goes above the upper band, the asset is overbought.
If the price goes above the lower band, the asset is oversold.
Trend length - BASE = 20, step = 1
Standard Deviation - Multiplier = 2, step = 0.2
These 2 indicators are used for all types of assets: FOREX, CRYPT, CFD's, ETC.
Percentage Levels by TimeframePlots the positive and negative percentage levels from a selection of timeframes and sources for any ticker. You can use this within a pullback trading system. For example, if you historically look at the average pullback of large cap stocks and ETF's, you can use this indicator to plot the levels it could pullback to for an entry to go long. It can be used as potential targets when trading a ticker short. Another use for this is to backtest the set percentage targets using TradingView's bar replay feature to see how ETF's and large cap stocks have reacted at these levels. Note: This is intended to be used at timeframes equal to higher than the chart's as it may cause re-painting issues.
Currently percentage levels are statically set to 1, 3, 5, 10, 15, 20, 25, and 30% levels above and below the chosen source (open, high, low, close). You can also display the data based on timeframes from Daily (1D) all the way up to Yearly (12M)
*Not financial advice but in my opinion the current percentage levels set (see above) are best used for ETF's and Large Cap Stocks.
Jan 2
Release Notes: Added the ability to select the historical bars to look back when plotting levels
Jan 2
Release Notes: To get a better display or proper resolution on your charts, change the view settings to "Scale Price Chart Only"
Jan 2
Release Notes: To add % labels for this indicator on the price axis, change your chart settings to include "Indicator Name Label" & "Indicator Last Value". You can find this under the Label section after hitting the gear icon in the bottom right of your chart.
Jan 2
Release Notes: Added: Custom Line Plot Extension Settings. Ideally both values should be equal to display optimal extended lines. To return to a base setting: '1' = Historical Lookback & '0' = Offset Lines. Also note this is dependent on the timeframe you are viewing on the chart.
Jan 2
Release Notes: Removed indicator from example chart that was not needed.
Jan 2
Release Notes: Updated some comments in the Pine Script
Jan 2
Release Notes: Update: Added commentary and instructions in the indicator settings to address recommended line plot settings for Stocks/ETF's vs Futures
Jan 2
Release Notes: Changed title from "Calculation Method" to "Calculation Source"
Jan 4 2021
Normal use of security() dictates that it only be used at timeframes equal to or higher than the chart's as it may cause re-painting
Plot Real Open and Close - SamXI built this indicator as a personal request from a friend. He often trades using Heiken Ashi charts, but wanted a way to easily cross-reference real-price open and close values for the same timeframe on the same chart (as HA candles are by design lagging, they can take a few periods to catch up to a large move). This can also be used to help guide support and resistance zones using real-price data points should you so choose.
There are 2 major ways to configure this indicator to display real-price open and close:
As a Bar or Hollow Candle style chart overlay
As on-chart shapes (allowing individual control over which data to show - open, close, or both)
+ Time Weighted Average PriceThis is basically NeoButane's script (which should be more popular than it is) with a few additions, those being primarily plotted lines of the closing price of the previous TWAP, however I've also added the optionality of plotting a second TWAP of say, maybe a different resolution if you are so inclined. Also, you may plot shapes across the top or bottom of your chart color based on if current price is above or below the previous closing price of the TWAP, in case you might want to clean the chart up a bit and not plot the actual closing price lines.
But what is TWAP, exactly, you might be saying to yourself. If you're familiar with VWAP then you've probably a pretty good idea of what this is and how it works. TWAP is a calculation that defines the weighted average price over a specific time period. Traders use TWAP as a trading strategy, or more specifically, an execution strategy, to place large orders without excessively impacting the market price. They break down the large orders into several sets of small orders priced near TWAP. Basically it's VWAP but without the volume element, and most traders will likely use it in a similar fashion as they might use VWAP, and that is like a moving average--dynamic support and resistance.
I like to think of it as displaying a price range over a specified time period (such as a month or a week). This is why I think the closes of the previous period or two are so important. Losing the previous closing price or regaining it can often give you an inclination as to whether at least some of the next period (the one you're currently in) may be bearish or bullish.
Above is a more zoomed out view of ADA/USD
And here's the same image with just the closing price for the time period plotted.
Enjoy!
Sessions & Days Of The WeekTraders tend to focus their energy on specific sessions or time periods. This indicator will plot the days of the week, and also highlight the following sessions: Frankfurt (2:00am - 11:00am EST), London (3:00am - 12:00pm EST), New York (8:00am - 5:00pm EST), Sydney (5:00pm - 2:00am EST), Tokyo (7:00pm - 4:00am EST).
It’s important to be aware that Session Open and Close times will vary based on the time of year, as countries shift over to daylight savings time.
DailyLevelsLibrary "DailyLevels"
Functions for acquiring daily timeframe data by number of prior days.
openD(daysPrior, spec, res) Gets the open for the number of days prior.
Parameters:
daysPrior : Number of days back to get the open from.
spec : session.regular (default), session.extended or other time spec.
res : The resolution (default = '1440').
Returns: The open for the number of days prior.
highD(daysPrior, extraForward, spec, res) Gets the highest value for the number of days prior.
Parameters:
daysPrior : Number of days back to get the high from.
extraForward : Number of extra days forward to include.
spec : session.regular (default), session.extended or other time spec.
res : The resolution (default = '1440').
Returns: The high for the number of days prior.
lowD(daysPrior, extraForward, spec, res) Gets the lowest value for the number of days prior.
Parameters:
daysPrior : Number of days back to get the low from.
extraForward : Number of extra days forward to include.
spec : session.regular (default), session.extended or other time spec.
res : The resolution (default = '1440').
Returns: The low for the number of days prior.
closeD(daysPrior, spec, res) Gets the close for the number of days prior.
Parameters:
daysPrior : Number of days back to get the open from. 0 produces the current close
spec : session.regular (default), session.extended or other time spec.
res : The resolution (default = '1440').
Returns: The close for the number of days prior.
hlc3D(daysPrior, extraForward, spec, res) Gets the HLC3 value for the number of days prior.
Parameters:
daysPrior : Number of days back to get the HLC3 from.
extraForward : Number of extra days forward to include. Determines the closing value.
spec : session.regular (default), session.extended or other time spec.
res : The resolution (default = '1440').
Returns: The HLC3 for the number of days prior.
Lowest Close indicatorPlots the lowest close in last 40 bars. On a daily chart , that's about 8 weeks.
Market Sessions Open/Close LevelsThis indicator displays the market open and close price levels for the main trading sessions (Sydney, Tokyo, Frankfurt, London and New York). The Daily Line changes color depending on if price is trading above or below the level. Feel free to add or replace levels depending on your trading style and trading times.
OHLC - H.D.W.MThis indicatos plots Open and Close of the Curernt and Previous Day, Week or Month. It also shows the Highs and Lows of the Hourly, Daily, Weekly and Monthly Timeframes.
Daily lines (UTC)This is a simple script to add highlighted lines on the daily open.
It uses UTC as timezone.
FILL - SimpleFill might flip you a lot of signals close on transitions involving high volatility having wide price swings within settings sensitive intervals. In other words, the script redraws like crazy, so alerts set to 'once per bar' are reset on redraw to view the bar as just having started again.
So, if you do webhook with this, you might find it the easier way to deal with the behaviour; using a personal alert-handling API and programmatic access to an Exchange trading account, filtering and checking that alerts are treated on volatility, volume and velocity, missing ingredients in this particular implementation.
The script is about 20 lines long with declarations and horizontal line decorations included in that number.
Alerts may not work as expected.
Enjoy.
Light BalanceThe script is simple, going for a color scheme logic which tenderly avoids rigorous signals processing.
For the script to remain simple, logical derivatives are also out; as such, there are no secondary relations built off of primary ones. And it also ignores (unless you do this yourself) the logic in a varying order of lines.
Coloring has been done according to a limited set of relations between the four (4) plotted lines.
Quite a bit of information is capture, as you'll see when looking at line order, crossings, and transparency transitions and their patterns.
The approach makes the relations ones which can be learned over time; you become the algorithm to sort out signals. Ha ha. I know that sounds like a cop out doesn't it. Did I mention it's a simple script?
One thing you might want to play with right away are fills having red and green, and lime and fuchsia. It would be cool to reduce it all down to two (2) colors, but all the boolean relations might have to be listed, and it also may not be possible to cumulatively combine transparency overlays of the same value. Visually, that approach may not result to awaken a useful feature anyway. Also, fill() has its limitations in that it cannot be in a local scope; this includes function wrapped calls to fill(), or calls made using branching logic statements if/elseif, iff(), and var = (cond) ? t_val/exp : f_val/exp. So, to my knowledge, a fill() can not be made to be logically on/off.
Please, enjoy getting some use out of it.
Supertrend with Percent Difference from CloseThis script improves the Supertrend indicator by displaying a label that shows the percent difference between the latest closing price & the Supertrend.
This comes in handy when one is using the Supertrend value as a stoploss level. For instance, one would like to have a maximum stop loss level of 8%. Instead of calculating how much percent the price is away from the Supertrend, one can look at the percent label & make an informed decision as to whether initiating a position would have favourable risk/reward or not.
Another utility would be selling into strength when one is using the Supertrend as a trailing stop loss. For instance, if the price is a certain percentage far away from the Supertrend, one may conclude that the price is now extended & either price correction or time correction would ensue, & decide to sell into strength.
15-60min closuresthis script charts two different informations :
15min close as a step line
60min close as dots that are overlayed on the stepline
this is most useful on timeframes that are less than or equal 15 min
RexDog Hour Close LinesThe RexDog Hour Close Lines plots the last 4 previous hour (60 minute) closes. Extremely helpful indicator for traders who trade on lower timeframes below the 60.
The plotted lines are also offset to represent that hours close location on the chart-- but keep the below in mind.
The offset is set for a default resolution of 5 minutes. In that chart timeframe, the offset is correct as to the close location. Changing the timeframe to 3m for instance the offset is not accurate to that particular bar. I am sure there is a simple way to do this but maybe I'm just not smart enough to figure it out. Either way, the offset in any timeframe is easy to distinguish the oldest hour close to the newest.
This indicator has the following options:
You can enable or disable any previous 4 hour close line
You can change all line sizes
You can change all line colors. I do apologize if it's inconvenient that I've defaulted the lines to different colors.
I've limited the visibility to only periods below 60 minutes-- but and maybe there is a better way to do this (if so please share). The limit is based on the most common periods below 60: 1, 2, 3, 5, 10, 12, 15, and 30.
Will most likely release the 240 and 30-minute version of this I have on a few charts.
Replay Mode - Check HTF CandleThis indicator is intended to be used while using Replay Mode.
A vertical line will be drawn when you can safely check the 4H, Daily, or Weekly candle without seeing future price.
It is similar to the built-in Session Breaks, but has the benefit of not needing to remove one candle before checking the Daily.
When the line is the color of your 4H settings, it is safe to check the 4H candle.
When the line is the color of your Daily settings, it is safe to check the 4H and Daily candles.
When the line is the color of your Weekly settings, it is safe to check the 4H, Daily and Weekly candles
Repulsion: Price & Volume 1Repulsion: Price & Volume 1
www.quantamagazine.org
Proof of concept using the above link and comparisons of price and volume, and one of a series stemming from the so-called Repulsion Engine, now also open sourced, and other indicators from the workbench.
Traffic lights are not accurate.
Like it if you use it, drop a line if you update it -- or if you have comments about how to improve it.
Key Levels CustomTF + Backtest: SpacemanBTCKey Levels Backtest, same logic as the key levels script, provide levels based:
High, Low, Mid and Close.
This was requested, took a long time to post as I fell sick and was given a lot of Dev Work.
Hope this helps those who use it, very useful to see liquidity grabs in my opinion.
Input time in minutes!
Result of a user request.