Mark SessionsDisplays trading sessions in a very flexible way.
The main intention of this indicator is to give a way to display market sessions with your own style preferences and expectations and achieve cleanness of your chart.
This indicator allows to show up to 6 sessions plus day session. Time range of the sessions are set in timezone you choose. Mostly all settings can be set in one place and be inherited by all sessions. And of course after settings inheritage you still have a way to make session setting exceptions without changing others.
You can adjust any borders of the session to show, background to show, adjust labels attachment target and their alignments, change the color of sessions, and line styles. All of those settings can turn session picture in any presentation you like.
Enjoy and I'm open to hear your advices
Open
Daily Profile (Nephew_Sam_)From getting several requests to combine many of my indicators into one, this indicator plots everything you need for a Daily Profile.
1. Session = Current session + Daily dividers + day of the week
2. Open Lines = Plot the open of the day, midnight, week and month
3. Asian Range = Plots the asian range with an option for midpoint and extending lines
4. Previous OHLC = Plot the previous day/week/month OHLC
EVERY line/label/color/size/style is fully customizable in this indicator.
Important to adjust your timezone to get the correct data
[FrizLabz]PB OLvlsDisplay Market Open and/or Premarket Open
Labels are offset to the right of Lines
You can adjust the number of opens back to display
If you want to change the format of the label please read the tool tip
Hope you enjoy
FrizLabz
All-In-One Sessions, Weekly, Monday, Previous Highs/LowsWe are forever drawing key levels on our charts with saved drawing templates, but finding the levels, adding the labels, is all tedious stuff. We have indicators, but we have multiple different ones at a time.
What if you could just tick a box on/off?
Well now you can.
This all in one 'levels' indicator is designed to show all the key highs and lows from previous weeks, Monday, the current week, as well as an option to highlight the market sessions and their highs and lows.
There are lots of options available for extending lines and choosing their colors, so once you have set it up how you want, don't forget to save YOUR defaults.
Oorah.
Range Gap/Open to Close/Close to CloseThis indicator shows the percentage variation of:
gap
close to close (day including gap)
open to close (without gap)
The green bars represent the days when the variation did not reach the selected range. The red bars show the days when the variation was higher than the selected range.
Best timeframe : DAY
Current price & Daily openFor those who likes clean chart:
I made a simple script that shows Current price based on the last candle color.
Also can show Daily open line based on the daily candle color.
Daily open line is same as strong support and resistance levels.
Mostly price shows strong responces on daily open line.
1: Daily open line color is blue if current price is above the daily open line.
And daily open line is red if current price is below the daily open line.
This means blue daily open line represents bullish daily candle and red daily open line represents bearish daily candle.
Simply you can expect Buy setup on the daily open line if it is blue and vice versa. That means you are following the daily trend, nothing else.
Always double confirm with your own trading style. It's not guaranteed.
You can use this script when you want to see daily price action or to find daily high lows.
This script helps to identify the following day high and lows too on the lower timeframe.
2: When you add drawing tools on your chart price labels are overlapping or if you choose not overlap then price moves up or down so you are not able to see current price easily.
This script helps to show current price on the last candle. You can easily see the current price.
Current price color is blue when last candle is bullish and it's red when last candle is bearish .
It always calculates last candle. So it could be weekly or 1 minute candle, whatever timeframe you working on.
Thank you.
Open Lines (Nephew_Sam_)Plots open lines and custom label based on a time provided
Can plot upto 3 lines with labels
Settings includes:
1. Show Line - Hour - Minute - Label Text - Line and Label Color
2. Max lines, Width, Size
Dashboard (chlo) - v1I am an aircraft maintenance technician who is trying to get into software development in the financial sector.
This is a project in which a dashboard of other security(stocks) with open, close, high, and low will appear.
I could compile this after a detailed study of different dashboards and pine script for several hours
hope you like this.
Wolf EMA & OHL & SIGNALSWolf EMA & OHL & SIGNALS
this indicator is mainly used for fast trading techniques (scalping). provides various tools for comprehensive trend analysis.
5 EMAs are used to have possible market entry or exit signals.
EMA
Thanks to the combination of the EMAs of different timeframes,
you can immediately get an idea of the resistances or supports
of the higher timeframes.
HOL
Lines are drawn on the right side indicating the maximum, minimum and opening
of the day, past day, week and past week respectively.
These levels are excellent as price acceleration points.
SIGNALS
There are three types of signals that are monitored by this indicator:
- Shimano
This signal is generated if the price remains compressed between two EMAs, more precisely between the third and the fifth, at the point where the price breaks one of these EMAs there can be a strong price movement.
- Viagra
This signal is generated if the price remains below the second EMA for a long time without ever closing above / below, at the point where it closes by climbing over the EMA there may be a change in trend.
-Bud
This signal is generated if a positive candle is formed and subsequently at least two that close within the high and low of the positive candle. Where the price breaks through the high of the positive candle is a great entry point.
Cipher Twister - Long and ShortINTRO / NOTES:
This script is based on Market Cipher B Oscillator by Falcon
The difference in this script is that only the useful points are printed on the indicator, namely Long and Short Trade Execution signals to be used by a bot, namely the PT Bot.
The script also differs from the original that it has been upgraded to Pinescript v4
This oscillator can be used with ALL time frames, but generally works the best on 15 minute and 1 hour charts on ANY market, no matter, stock, forex, crypto, spot, futures, derivatives, Nasdaq etc...
DEFINITIONS:
This oscillator forms the foundation of Buy and Exit of Long and Short Trades.
There are 2 'Red' Lines at the top of the channel and 2 Green Lines at the bottom of the channel.
These two channels are set at default to be +53 / -53 and +60 / -60 respectively. These two lines will serve as the threshold point if one is to make cautious trades only.
There is a center line which divides the Oscillator into two parts. Above the center line, the market is in over bought territory and Below the center line is in over sold territory.
'Red' dots are drawn by the indicator to represent a potential Short (or a signal to exit from a Long position)
'Green' dots are drawn by the indicator to represent a potential Long (or a signal to exit from a Short position)
The 'Red' and 'Green' dots are draw when a Cross between both wt1 & wt2 cross, thus providing a fantastic indication of potential trend reversal and entry/exit of a position.
STRATEGY NOTES:
The strategy to use this indicator with for realistic and proper results would be to use it with an automated Trading Bot such as Profit Trailer (PT-BOT)
You could use this strategy manually, however it would mean you would need to sit in front of the screen all day and night long and activate the trades immediately after the 'red'/'green' dots are drawn. Usually this will result in non-optimal entries and exits as well as loss on various instances when a 'red' and 'green' dot are printed close together (which is usually when the market goes into correction/consolidation) and slow entries/exits will result in a loss rather than a small profit or exit at BE (Break Even)
ACTUAL STRATEGY (For use with automated bot)
To be used in conjunction with Heikin Ashi Candles for added cautionary measures
For LONGs ONLY
--------------------
1/ When 'Green' dot is drawn, ACTIVATE Long Position
(Use 1.5% Risk Management for each trade)
(Use Lot size based on 1.5% risk management and xLeverage (if any))
2/ Make sure bot Opens an SL (Stop Loss) value based on 1.5% Risk Management
3/ When 'Red' dot is drawn, CLOSE Long Position.
*If you want to add extra caution to your trade, only activate the trade if the 'Green' dot is BELOW the 'Green' Markers
*For added caution, use color coded Heikin Ashi candles to 'confirm' Activation and Closing of a trade in the bot configuration
---------------------------------------------------------------------------------------------------
For SHORTs ONLY
--------------------
1/ When 'Red' dot is drawn, ACTIVATE Short Position
(Use 1.5% Risk Management for each trade)
(Use Lot size based on 1.5% risk management and xLeverage (if any))
2/ Make sure bot Opens an SL (Stop Loss) value based on 1.5% Risk Management
3/ When 'Green' dot is drawn, CLOSE Short Position
*If you want to add extra caution to your trade, only activate the trade if the 'Red' dot is Above the Red Markers
*For added caution, use color coded Heikin Ashi candles to 'confirm' Activation and Closing of a trade in the bot configuration
---------------------------------------------------------------------------------------------------
Supplementary Notes:
Make sure that your bot configuration will only activate ONE TRADE when the 'Green'/'Red' dot appears.
Occasionally during high volatility , 'red'/'green' dots will appear intermittently before remaining drawn, thus the oscillator 'redraws' the dots during market movement.
There will be times where occasionally a 'green' dot or a 'red' dot will appear, the trade will be opened, but the trade will fail due to the market manipulation (algorithm/market maker bots/fake volume etc), to wipe out those trading on derivatives and futures markets using leverage. Do not worry about this, no bot can make 100% wins, no strategy will achieve 100% win ratio and one necessarily doesn't need a high win ratio when using strict money management practices with your trading for SL and lot size.
If you use this method, you will see great results, but again I must stress, using this method with a fully automated bot is the only way to achieve proper results.
High/Low/Open/Close Daily, Weekly, Monthly Line
I wrote this for the purpose of saving time while marking up charts by automating the process of drawing and labeling lines at areas of interest on larger
timeframes while still having the option to change the style and size of the lines and labels to adjust for any timeframe and avoid a messy chart.
I also used this as an exercise in menu organization giving users every imaginable option and producing clean readable code.
- This indicator draws a line on the Daily, Weekly, and Monthly bar at the High, Low, Open and Close of each bar as price
tends to react when revisiting these areas.
- Each set of bars has an optional identifying label with its own color set that can be shown with or without the lines
price value, and has drop down menus for size and style of each set of labels.
- Each set of lines has inputs for line/text color, line width and style, and can be hidden if the user doesn't have the need for any particular timeframe.
- Lines and Labels with delete when a new line is created.
- I recommend going into Chart Settings/Status Line and turning off indicator arguments OR moving the script to the top
of the indicator list to avoid an obstructed chart view with this indicators arguments. When Pine allows, I will update it to hide them.
Contains some public domain code from T.V. manuals and tutorial for creating drop down input menus for options.
/ ~For My Pal Jittery~
~ Who likes his clean chart and custom colors~
Key Levels (Time Frames - Weekly,Monthly,Quarterly,Yearly)This indicator plots the 4h, Daily, Weekly, Monthly, Quarterly, Yearly Open High, Low and Mids.
You can watch how these institutional trading levels work as support and resistance.
Most Important you can add alerts to these levels with a few clicks.
Just add/remove unnecessary levels for scaling problems.
For any error/suggestion/improvement just let me know.
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)
DailyDeviationLibrary "DailyDeviation"
Helps in determining the relative deviation from the open of the day compared to the high or low values.
hlcDeltaArrays(daysPrior, maxDeviation, spec, res) Retuns a set of arrays representing the daily deviation of price for a given number of days.
Parameters:
daysPrior : Number of days back to get the close from.
maxDeviation : Maximum deviation before a value is considered an outlier. A value of 0 will not filter results.
spec : session.regular (default), session.extended or other time spec.
res : The resolution (default = '1440').
Returns: Where OH = Open vs High, OL = Open vs Low, and OC = Open vs Close
fromOpen(daysPrior, maxDeviation, comparison, spec, res) Retuns a value representing the deviation from the open (to the high or low) of the current day given number of days to measure from.
Parameters:
daysPrior : Number of days back to get the close from.
maxDeviation : Maximum deviation before a value is considered an outlier. A value of 0 will not filter results.
comparison : The value use in comparison to the current open for the day.
spec : session.regular (default), session.extended or other time spec.
res : The resolution (default = '1440').
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.
ICT New York NY Midnight Open and DividerThis simple indicator plots out ICT's New York midnight open price and a vertical divider at that time.
12am NY time is a key level to watch for daytrading and intraday scalping, often providing entry levels and orderblocks.
The session time may need to be adjusted for different exchanges, but the default is for most of forex.
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.
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.
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.
MTF Key Levels - Support and ResistanceThis indicator shows how to Multi Time Frame (MTF) interpret levels:
Watch how price acts around these levels and how they can act as support/resistance and can be used as great confluence levels for your technical analysis.
This indicator displays:
VWAP Levels
Daily / Weekly / Monthly / Yearly
Within the chart above I have marked out how displaying these VWAP levels can provide support and resistance levels to be aware of.
Daily – Weekly - Monthly – Yearly Levels
O = Open / H = High / L = Low
pO = Previous Open / pH = Previous High / pL = Previous Low / pEQ = Previous Equlibrium
Having previous Low/High levels makes you aware of Swing Failure Patterns (SFP). Also the daily/weekly/monthly opening and previous opening can assist with the trend.
Daily Open: Gives you an idea who is in control for the day. This level very often acts as strong support or resistance.
Weekly Open: Indicates where the price is within the higher timeframe.
Monthly Open & Yearly Levels: Overview of direction for the whole month without looking at a monthly chart and Yearly chart
Line Options
Within the line options you can choose to have a clean chart and display a “short line”. These line length can be adjusted by the user.
Line just to the right.
Line across the screen.
Disclaimer: The Monthly and Yealy VWAP will only show on higher timeframes this is due to restriction of how many candles can be shown on the chart. The candles displayed need to go back to either the start of the month of year to be able to calculate their VWAPs.