Day/Week/Month/3M/6M/12M MTF breaks by makuchakuThis indicator plots breaks for multiple timeframes. Works on Daily to Yearly timeframes.
Currently supported timeframes :
Daily
Weekly
Monthly
Quarterly
Half Yearly
Yearly
It currently plots all breaks together. From Indicator settings hide what you don't need and save as default settings.
Cerca negli script per "mtf"
Renko LineBreak HeikinAshi background & MTFWe can have all the 3 types of candle plots (bar styles) over normal candles in the same chart.
We will have better picture on whats happening in specific chart candle type / bar style.
Option provided to turn off/on specific bar type.
Multi time frame is enabled.
Specific time frame can be chosen for individual bar style.
Multiple MTF Variable Moving Average by HassonyaVMA(Variable Moving Average) automatically adjusts its smoothing constant on the basis of Market Volatility.
Use VMA like other Moving Averages. This indicator lazybear's variable moving average has been upgraded and arranged in multi-time frame.
There are 5 variable moving averages whose periods can be changed.
Trend Direction Colors: GREEN COLOR = UpTrend, BLUE COLOR = Potential Congestion, RED COLOR = DownTrend.
If you want, you can use multi-time frame period breakouts
If you want, you can use moving average breakouts of different lengths in the same period.
In this way, you can use 5 moving moving averages in the same period or in different periods.
To activate, go to settings and activate the box to the left of the name. If you uncheck the box, the moving average will disappear.
Stay with the trade and investment. I wish you abundance.
muh gap! [FAIR VALUE GAP FINDER]Change the colors of the indicator to contrast your chart! Make sure to also change the transparency for the colors.
---
This indicator finds fair value gaps which are inefficiencies in price delivery. Gaps can be used for entry or even bias.
I've included midpoints, lines, and boxes. Boxes have the greatest range with respect to historic PA so keep that in mind.
I will be updating this script in the future, potentially adding an MTF function, mitigation of gaps and alarms.
Let me know if you guys have any additional ideas.
Best,
P
Strat Radar_vtStrat Radar is a visual tool to trade "TheStrat" methodology.
TheStrat is a simple yet powerful model to view the market. From one bar to the next, there are only three possible scenarios or three types of candles:
type 1 - an inside bar. Market is in consolidation.
type 2 - a directional bar (2 up or 2 down). Market is trending.
type 3 - an outside bar. This is a broadening formation and market is taking liquidity from both upside and downside.
So by looking at candle type and combination, one can visualize what price is doing in the market.
Strat Radar makes it possible for user to see candle type and sequence for all major time frames – from a 5m bar to a yearly bar - all in one chart! And even better, it allows user to see not just one bar but last three bars!
Certain candle combination creates high probability trade setups, for example 2-1-2 or 2-2 reversals, so by looking at Strat Radar, user can quickly determine whether there are any good trading opportunities. The simple and visual layout makes it easy to go through a watch list and use Strat Radar as a scanner. There is no need to flip through multiple time frame charts.
Features:
Show candle type and color for twelve time frames from 5m to yearly bar
Show candle type and color for last three bars of each time frame
Location of candle number and candle color have specific meaning:
For non-directional bars ( 1 and 3):
Below candle means close > open
Above candle means close < open
For directional bar 2:
Below candle means: 2 up
Above candle means: 2 down
Candle color: green - close>open, red – close < open
A built-in trend strength system that can be turned on or off
A reversal marker that can be turned on or off. It is based on a combination of Strat candle sequence and trend strength
Since candle type and combination are clearly shown for each time frame, it is easy to determine whether is Full Time Frame Continuity (FTFC).
Strat Radar_vt is a light version of the full indicator and covers:
- most futures market
- 30 stocks in Dow Index
- Index and sector ETFs : SPY , QQQ , DIA, IWM , XLE , XLF , XLU , GDX , XLK , XLV , XLY , XLB , ITB , XRT , SMH , IBB , KRE , XLC , GDXJ , KBE
- Some key stocks: AAPL , AMZN , FB , GOOGL , TSLA , NVDA , NFLX
- Forex pairs: DXY , AUDCAD , AUDJPY , AUDNZD , AUDUSD , EURCAD , EURGBP , EURJPY , EURUSD , GBPJPY , GBPUSD , NZDUSD , USDCAD , USDJPY
Full version works on all stocks and assets. If you like this indicator and require the full version, please contact the author.
SSL ChannelSSL Channel:
Multiple Moving Averages to choose from (SMA, EMA, SMMA (RMA), WMA, VWMA)
Option for a second SSL Channel
MTF
[Sextan] T-Step LSMA MTF BacktestLevel: 1
NOTE: This is a request by @scantor516 to backtest T-Step LSMA by alexgrover with my Sextan framework. You can backtest many of my indicators in minutes now! Of course,you can define your own indicator in the highlighted area in compliance with the uniform format, which guarantee when you use "Indicator on Indicator" function, it would not produce any error.
Courtesy of alexgrover for his T-Step LSMA
Background
Backtesting of technical indicators and strategies is the most common way to understand a quantitative strategy. However, the complicated configuration and adaptation work of backtesting many quantitative tools makes many traders who do not understand the code daunted. Moreover, although I have written a lot of strategies, I am still not very satisfied with the backtest configuration and writing efficiency. Therefore, I have been thinking about how to build a backtesting framework that can quickly and easily evaluate the backtesting performance of any indicator with a "long/short entry" indicator, that is, a "simple backtesting tool for dummies". The performance requirements should be stable, and the operation should be simple and convenient. It is best to "copy", "paste", and "a few mouse clicks" to complete the quick backtest and evaluation of a new indicator.
Luckily, I recently realized that TradingView provides an "Indicator on Indicator" feature, which is the perfect foundation for doing "hot swap" backtesting. My basic idea is to use a two-layer design. The first layer is the technical indicator signal source that needs to be embedded, which is only used to provide buy and sell signals of custom strategies; the second layer is the trading system, which is used to receive the output signals of the first layer, and filter the signals according to the agreed specifications. , Take Profit, Stop Loss, draw buy and sell signals and cost lines, define and send custom buy and sell alert messages to mobile phones, social software or trading interfaces. In general, this two-layer design is a flexible combination of "death and alive", which can meet the needs of most traders to quickly evaluate the performance of a certain technical indicator. The first layer here is flexible. Users can insert their own strategy codes according to my template, and they can draw buy and sell signals and output them to the second layer. The second layer is fixed, and the overall framework is solidified to ensure the stability and unity of the trading system. It is convenient to compare different or similar strategies under the same conditions. Finally, all trading signals are drawn on the chart, and the output strategy returns. test report.
The main function:
The first layer: "{Sextan} Your Indicator Source", the script provides a template for personalized strategy input, and the signal and definition interfaces ensure full compatibility with the second layer. Backtesting is performed stably in the backtesting framework of the layer. The first layer of this script is also relatively simple: enter your script in the highlighted custom script area, and after ensuring the final buy and sell signals long = bool condition, short = bool condition, the design of the first layer is considered complete. Input it into the PINE script editor of TradingView, save it and add it to the chart, you can see the pulse sequence in yellow (buy) and purple (sell) on the sub-picture, corresponding to the main picture, you can subjectively judge that the quality of the trading point of the strategy is good Bad.
The second layer: "{Sextan} PINEv4 Sextans Backtest Framework". This script is the standardized trading system strategy execution and alarm, used to generate the final report of the strategy backtest and some key indicators that I have customized that I find useful, such as: winning rate , Odds, Winning Surface, Kelly Ratio, Take Profit and Stop Loss Thresholds, Trading Frequency, etc. are evaluated according to the Kelly formula. To use the second layer, first load it into the TrainingView chart, no markers will appear on the chart, since you have not specified any strategy source signals, click on the gear-shaped setting next to the "{Sextan} PINEv4 Sextans BTFW" header button, you can open the backtest settings, the first item is to select your custom strategy source. Because we have added the strategy source to the chart in the previous step, you can easily find an option "{Sextan} Your Indicator Source: Signal" at the bottom of the list, this is the strategy source input we need, select and confirm , you can see various markers on the main graph, and quickly generate a backtesting profit graph and a list of backtesting reports. You can generate files and download the backtesting reports locally. You can also click the gear on the backtest chart interface to customize some conditions of the backtest, including: initial capital amount, currency type, percentage of each order placed, amount of pyramid additions, commission fees, slippage, etc. configuration. Note: The configuration in the interface dialog overrides the same configuration implemented by the code in the backtest script.
How to output charts:
The first layer: "{Sextan} Your Indicator Source", the output of this script is the pulse value of yellow and purple, yellow +1 means buy, purple -1 means sell.
The second layer: PINEv4 Sextans Backtest Framework". The output of this script is a bit complicated. After all, it is the entire trading system with a lot of information:
1. Blue and red arrows. The blue upward arrow indicates long position, the red downward arrow indicates short position, and the horizontal bar at the end of the purple arrow indicates take profit or stop loss exit.
2. Red and green lines. This is the holding cost line of the strategy, green represents the cost of holding a long position, and red represents the cost of holding a short position. The cost line is a continuous solid line and the price action is relatively close.
3. Green and yellow long take profit and stop loss area and green and yellow long take profit and stop loss fork. Once a long position is held, there is a conditional order for take profit and stop loss. The green horizontal line is the long take profit ratio line, and the yellow is the long stop loss ratio line; the green cross indicates the long take profit price, and the yellow cross indicates the long position. Stop loss price. It's worth noting that the prongs and wires don't necessarily go together. Because of the optimization of the algorithm, for a strong market, the take profit will occur after breaking the take profit line, and the profit will not be taken until the price falls.
4. The purple and red short take profit and stop loss area and the purple red short stop loss fork. Once a short position is held, there will be a take profit and stop loss conditional order, the red is the short take profit ratio line, and the purple is the short stop loss ratio line; the red cross indicates the short take profit price, and the purple cross indicates the short stop loss price.
5. In addition to the above signs, there are also text and numbers indicating the profit and loss values of long and short positions. "L" means long; "S" means short; "XL" means close long; "XS" means close short.
TradingView Strategy Tester Panel:
The overview graph is an intuitive graph that plots the blue (gain) and red (loss) curves of all backtest periods together, and notes: the absolute value and percentage of net profit, the number of all closed positions, the winning percentage, the profit factor, The maximum trading loss, the absolute value and ratio of the average trading profit and loss, and the average number of K-lines held in all trades.
Another is the performance summary. This is to display all long and short statistical indicators of backtesting in the form of a list, such as: net profit, gross profit, Sharpe ratio, maximum position, commission, times of profit and loss, etc.
Finally, the transaction list is a table indexed by the transaction serial number, showing the signal direction, date and time, price, profit and loss, accumulated profit and loss, maximum transaction profit, transaction loss and other values.
Remarks
Finally, I will explain that this is just the beginning of this model. I will continue to optimize the trading system of the second layer. Various optimization feedback and suggestions are welcome. For valuable feedback, I am willing to provide some L4/L5 technical indicators as rewards for free subscription rights.
Bitcoin Movement vs. Coin's Movement MTFThis script tracks the percent change of Bitcoin vs. the percent change of the coin on the chart. Crypto markets are usually affected greatly by Bitcoin swings so being able to see if the given coin is trending above or below Bitcoin is useful market data. All choices made with this script are your own! Thanks.
Key Levels Importer (blockFlow)Introduction
This script was inspired by the Chart Champions team who generously share the key levels that they are monitoring with the group.
It provides a way for TradingView users to import the levels from a text file (known as the “dataset”) which can also be shared with the community.
The script will plot the levels with different colours depending on whether they are daily, weekly, monthly. volume or fibs.
It will also calculate and draw the high/low for the previous day.
The dataset
The format for the dataset is as follows:
:=::
The type value can be:
D - Daily level
W - Weekly level
M- Monthly level
V - Volume level (eg. VAH, POC, VAL)
F - Fib level
Alternatively you can use freeform text for the type but it may not be colour-coded as you wish
Note, lines and fields without an “=“ are ignored.
Example dataset
:#BTCUSD
:
:---------------------------
:Daily levels
:---------------------------
:
:D=57220:
:D=47724:
:D=40711:
:D=38190:
:D=29775.5:
:
:---------------------------
:Weekly levels
:---------------------------
:
:W=65560.5:
:W=50776:
:W=43190:
:W=31773:
:
:---------------------------
:Monthly levels
:---------------------------
:
:M=61421.5:
:M=43800:
:M=35027:
:
:---------------------------
:Fib levels MTF/HTF
:---------------------------
:
:F=59693.5:
:F=58521.5:
:F=44180.5:
:F=42481.5:
:F=28773:
:F=25984:
:
:---------------------------
:Other levels
:---------------------------
:
:nPOC=47980.5:
:nPOC=48340:
:Global_VAH=63775:
:Global_POC=57364.5:
:Global_VAL=40217:
:MTF_POC=47174:
:MTF_POC=34125.5:
How to import the dataset
It is recommended to create the dataset with a text editor.
To import it:
Open the indicator settings
Click the ‘Import Dataset’ field, press Control-A and Delete to clear out the contents
Copy/paste the dataset into the field
Click Ok
Additional settings
You can choose the line colour for each type of level
Show imported datarows - Check this box to displays the imported dataset values in tabular format on the bottom-left of the chart
Show yellow dots - Show yellow diamonds when price touches a level - see alerting below.
Hide levels > N% from current price - Levels more than 20% away from the current price will be hidden if this box is checked. The percentage value can be changed.
Alerting
The script can raise alerts when the price touches any of the levels.
This is visually represented on the chart by a yellow dot when the "show yellow dots option" is checked.
To avoid duplicate alerts when price repeatedly touches the level, the following criteria must be satisfied before an alert is raised (or a yellow dot printed).
1) Price first touches the level (open,high,low or close)
2) Price did not touch the level in the previous 10 candles
Support and ResistanceThis is a multi-timeframe indicator that lets you draw support and resistance lines based on the timeframe you choose. This means you can place daily support and resistance levels on lower timeframes such as the 1 minute timeframe. The cool thing about this indicator is that it uses the atr value, which is different from traditional support and resistance indicators that look at pivot points or zig zags to figure out where support and resistance lines should be placed. This one looks at pivot points to figure out where the atr should be first, then places lines in the upward and downward direction based on the atr value.
This means that you are able to see all future levels of support and resistance even if the price has never been at that level
Features:
1. MTF (Multi-timeframe) plotting. Allows you to plot resistance and support lines based on the daily timeframe you select. This means you can see major daily support and resistance levels on minor timeframes such as the 1 minute. These levels tend to act as stronger support and resistance levels compared to micro timeframe levels
2. Tells you future price levels. Since this indicator uses ATR indicator it shows you all future support and resistance levels where a ticker has never been
Inputs:
1. Timeframe: Select the timeframe you wish the indicator to be used on. My personal preference is the daily timeframe
2. Pivot Period: Changes the lines based on the pivot period you choose, I personally like the 5 pivot period
3. Lookback Period: How many bars should be taken into account, to determine ATR value and other calculations. Personally like the 150 bar lookback period, but if your trading extremely volatile tickers I suggest changing it to 50.
4. Line Closeness: This determines how far apart the lines are from each other. If it it set to 1 it means it will place each line 1 ATR value apart from each other. Lower the number closer the lines are to each other and vice versa
5. Number of lines plotted: This will change how many lines are plotted onto your chart. Default is 150, but if you want a lower amount 50 works as well
6. Show label: This just adds the number at which each line appears at
Errors:
1. Sometimes the lines won't show up, this is because there is not enough history for the indicator to take in. The standard amount of bars needed is 150, you can change it to 50 which sometimes works better for more violatile tickers.
EMA MTF PlusI like trading the 1 minute and 3 minutes time-frames. I'm what is commonly called a "scalper". Long term investments yes, I have some, but for trading, I don't have neither the time,
nor the patience to wait hours or days for my trade to be complete.
This doesn't mean I discount the higher time-frames, no, I actually rely heavily on them. I found that EMAs do a decent job as support/resistance, sometimes to a tick level of precision. And this is important for a 1 minute trader.
As such, I made this script that tracks the higher time-frames EMAs and displays the last value as a line.
I do not need the whole EMA, I'm not interested in crossovers or crossunders, these are anyway late signals for me.
What's with the triangles? These are local tops/bottoms , candles that have a have decent size of the wick. These tops and bottoms are by no means "final", they are merely a rejection at certain levels of price. Due to markets complexities (and human erratic behaviors hehe) these levels could be breached at the very next candle. For a more "final" version (nothing is really final but..) I added Schaff Trend Cycle as filter, so a triangle will pop only when a trend is mature enough ( STC with a value near 0 or near 100).
Colored bars. When the body of the candle is big, it shows strength. Strong bars tend to have follow through, especially when breaking key levels. The script looks at the body of the candle and compares it with ATR (Average True Range), if it's at least 0.8 of ATR it changes the bar color to yellow (bull candles) or fuchsia(bear candles).
Range identifier. This code is copied from Lazy Bear (if there are any issues please let me know), it's very useful in conjunction with colored bars.
I look for breakout candles that go outside of the range as a signal for a trade.
There are many ways in which this script can be useful, like trading mean reversions or momentum trades (breakouts) or simply trend following trades.
I hope you guys find it useful, you can play with default values and change them as you like, these are what I found to be working best for me and my trading universe (mostly crypto).
Special thanks for the original work of:
LazyBear
everget
Jim8080
Fibonacci levels MTFHello All,
I got some requests for a script that shows Fibonacci Levels of Higher Time Frame Candles. so I made/published this script. I hope it would be useful for you.
Options:
You can set Higher Time Frame, by default it's 1 Day.
Optionally it can use Current or Last Candle of higher time frame to calculate/show its Fibonacci Levels.
It can show higher time frame candles at the background optionally. You can change its colors.
You can enable/disable/change each Fibonacci levels and their colors.
You can enable/disable Fibonacci Labels that is shown at the right ride and see only Fibonacci lines/levels
example, Fibonacci levels with higher time frame candles:
P.S. if you have ideas to improve this script, drop a comment under the script please
Enjoy!
X-Mas TreeLet's play a game!! Find your Christmas Tree and post it in the comments.
How to use the script?
Open any instrument which best describes the Christmas Tree (Preferably on hourly timeframe).
Apply X-Mas Tree script on the chart.
Enjoy the snowfall, changes in lightings and other animations. Animations only happen if the instrument is in trading session. So, stocks and indexes do not work on weekends and holidays. Use crypto as they are traded 24X7.
Unfortunately cannot post moving charts. But, snapshot of chart will do :)
Well, Please don't ask these questions for this script (Also thanks to @Bjorgum for contributing to this section) 😃
Can you please add alerts?
Does it repaint?
Can we use this for crypto/stock/forex bla bla?
Can you convert this to strategy?
How can I access this indicator?
Can you please give access or how much does it cost?
Can you make it available for MTF?
Indicator is broken. Getting so and so error message etc.
Wish you all MERRY X-MAS and HAPPY NEW YEAR!!
Hx MTF Moving AverageThis script provides a quick and easy access to different timeframes of a moving average in one indicator and one tab.
It handles up to 4 different timeframes and the current timeframe if it is different from the preset timeframes.
The moving average is not displayed if the current timeframe is higher than the preset timeframe, as per TradingView recommandations.
Available moving average types: sma , wma , ema , vwma , rma (RSI), hma (Hull) and smma (Smoothed).
The default settings provide an example of commonly used timeframes with associated colors ranked from Hot (shorter, more nervous) to Cold (longer, less nervous) while the current timeframe is displayed in gray.
These settings are just an example and are NOT meant to be used as a trading system! DYOR!
MACD PlusMoving Average Convergence Divergence – MACD
The MACD is an extremely popular indicator used in technical analysis. It can be used to identify aspects of a security's overall trend. Most notably these aspects are momentum, as well as trend direction and duration. What makes the MACD so informative is that it is actually the combination of two different types of indicators. First, the MACD employs two Moving Averages of varying lengths (which are lagging indicators) to identify trend direction and duration. Then, it takes the difference in values between those two Moving Averages (MACD Line) and an EMA of those Moving Averages (Signal Line) and plots that difference between the two lines as a histogram which oscillates above and below a center Zero Line. The histogram is used as a good indication of a security's momentum.
Added Color Plots to Settings Pane.
Switched MTF Logic to turn ON/OFF automatically w/ TradingView's Built in Feature.
Added Ability to Turn ON/OFF Show MacD & Signal Line.
Added Ability to Turn ON/OFF Show Histogram.
Added Ability to Change MACD Line Colors Based on Trend.
Added Ability to Highlight Price Bars Based on Trend.
Added Alerts to Settings Pane.
Customized Alerts to Show Symbol, TimeFrame, Closing Price, MACD Crosses Up & MACD Crosses Down Signals in Alert.
Alerts are Pre-Set to only Alert on Bar Close.
Added ability to show Dots when MACD Crosses.
Added Ability to Change Plot Widths in Settings Pane.
Added in Alert Feature where Cross Up if above 0 or cross down if below 0 (OFF By Default).
Squeeze Pro
Traditionally, John Carter's version uses 20 period SMAs as the basis lines on both the BB and the KC.
In this version, I've given the freedom to change this and try out different types of moving averages.
The original squeeze indicator had only one Squeeze setting, though this new one has three.
The gray dot Squeeze, call it a "low squeeze" or an "early squeeze" - this is the easiest Squeeze to form based on its settings.
The orange dot Squeeze is the original from the first Squeeze indicator.
And finally, the yellow dot squeeze, call it a "high squeeze" or "power squeeze" - is the most difficult to form and suggests price is under extreme levels of compression.
Colored Directional Movement Index (CDMI) , a custom interpretation of J. Welles Wilder’s Directional Movement Index (DMI), where :
DMI is a collection of three separate indicators ( ADX , +DI , -DI ) combined into one and measures the trend’s strength as well as its direction
CDMI is a custom interpretation of DMI which presents ( ADX , +DI , -DI ) with a color scale - representing the trend’s strength, color density - representing momentum/slope of the trend’s strength, and triangle up/down shapes - representing the trend’s direction. CDMI provides all the information in a single line with colored triangle shapes plotted on the bottom. DMI can provide quality information and even trading signals but it is not an easy indicator to master, whereus CDMI simplifies its usage. The CDMI adds additional insight of verifying/confirming the trend as well as its strength
Label :
Displaying the trend strength and direction
Displaying adx and di+/di- values
Displaying adx's momentum (growing or falling)
Where tooltip label describes "howto read colored dmi line"
Ability to display historical values of DMI readings displayed in the label.
Added "Expert Trend Locator - XTL"
The XTL was developed by Tom Joseph (in his book Applying Technical Analysis ) to identify major trends, similar to Elliott Wave 3 type swings.
Blue bars are bullish and indicate a potential upwards impulse.
Red bars are bearish and indicate a potential downwards impulse.
White bars indicate no trend is detected at the moment.
Added "Williams Vix Fix" signal. The Vix is one of the most reliable indicators in history for finding market bottoms. The Williams Vix Fix is simply a code from Larry Williams creating almost identical results for creating the same ability the Vix has to all assets.
The VIX has always been much better at signaling bottoms than tops. Simple reason is when market falls retail traders panic and increase volatility , and professionals come in and capitalize on the situation. At market tops there is no one panicking... just liquidity drying up.
The FE green triangles are "Filtered Entries"
The AE green triangles are "Aggressive Filtered Entries"