Multiple Moving Avg MTF TableThis script replaces the other script that was just the SMAs that where in a Multi Time Frame Table as this was a redo of that one and this one is SO MUCH MORE!!!!
Not only does this one do the Simple Moving Avg 5, 10, 20, 50, 120, 200 into a table that shows Current/Hourly/Daily/Weekly/Monthly/Quarterly ( 3M )/ Yearly. It now does Exponential Moving Avg , Weighted Moving Avg , and Volume Weight Moving Avg along with Simple Moving Avg.
I still use this script so that you can quickly capture the values so that short-term, and long-term resistance and support can be determined during market hours. Even better now you can select between SMA / EMA / WMA /or VWMA .
imgur.com
The table will change to the values based on the Choice of the type of Moving Avg and if you change the default values.
Now it will take a little bit for the table to show up, so please be patient. I have tested it with stocks, forex, and crypto.
Timeframe
SMA Multi Time Frame Table V1.5Since I couldn't find a script like this I made one so here is what it does.
The script will plot on the chart as well as post the related data into the table.
The default Simple Moving Avg are 5, 10, 20, 50, 120, 200 which can also be changed to whatever SMA you would like. The SMA values are then plotted on the charts so that quickly check to see where they are and how the candles are reacting to the SMAs.
Not only does the script plot the SMAs but it also places higher time frames into the table that is in the script, from current price, to daily, weekly, monthly, quarterly (3 months if you don't have it added) and yearly. The reason why was it price action of the stock does interact and can be rejected or find support from SMA on a higher time frames.
I still use this script so that you can quickly capture the values so that short-term, and long-term resistance and support can be determined during market hours.
Another good thing is that when you change the values in the script settings it also applies those settings to the table as well.
Now it will take a little bit for the table to show up, so please be patient. I have tested it with stocks, forex, and crypto.
I wanted to get this published and I am still working on the background to try and get EMAs. Where you can flip over to EMA to also see the EMA plots and table values for the MTF.
+ Multi-timeframe Multiple Moving Average LinesThis is a pretty simple script that plots lines for various moving averages (what I think are the most commonly used across all markets) of varying lengths of timeframes of the user's choosing. Timeframes range from 5 minutes up to one month, so regardless if you're a scalper or a swing trader there should be something here for you.
There are 8 lines (that can be turned on/off individually), which may seem like a lot, but if you use two averages and want to display four different timeframes for each, you can do that. The nice thing is that because the lines start plotting from the current bar they won't clutter up the screen. And obviously having moving averages from different timeframes on your chart makes price action more difficult to read (I mean sure, you can make them invisible, but who wants to do that all the time).
For each line there are two labels. One with the moving average type, and the other with its specific timeframe. I can't include the moving average length because it's not a string input. If anyone has a workaround for this, let me know, otherwise I would simply recommend setting different colors depending on the length, or if you only use one or two lengths and one or two moving averages this shouldn't be an issue. I had to use two labels because for the label text I couldn't include more than one string input, this is why there is an input for the 'moving average type label distance.'' You will want to adjust this depending on if you are trading crypto, futures, or forex because in some cases there may still be label overlap.
Pretty much everything else is self-explanatory.
I've added alerts. I might need to modify them if I can, because it would be nice for them to state the name and timeframe of the moving average. But I think this will do for now.
Enjoy!
VWAP and previous VWAP for Support & Resistance for D W MI overhauled my old multi timeframe VWAP script to make the VWAP OC-Check work for all timeframes. Now only one function is used to calculate the 3 preset VWAPs.
Previous VWAPS = the price where the last session closed sometimes work as Support and Resistance.
The OC-Check Mode theory examines if the VWAP from the Open is above or below the VWAP from Close
and if price is above or below normal VWAP (HLC3).
This way we have 4 states:
Red = Strong Downtrend
Orange = Weak Downtrend
Blue = Weak Uptrend
Green = Strong Uptrend
As always it is just a theory - nothing is set in stone regarding any indicator.
Magnifying Glass (LTF Candles) by SiddWolf█ OVERVIEW
This indicator displays The Lower TimeFrame Candles in current chart, Like Zooming in on the Candle to see it's Lower TimeFrame Structure. It plots intrabar OHLC data inside a Label along with the volume structure of LTF candle in an eloquent format.
█ QUICK GUIDE
Just apply it to the chart, Hover the mouse on the Label and ta-da you have a Lower Timeframe OHLC candles on your screen. Move the indicator to the top and shrink it all the way up, because all the useful data is inside the label.
Inside the label: The OHLC ltf candles are pretty straightforward. Volume strength of ltf candles is shown at bottom and Volume Profile on the left. Read the Details below for more information.
In the settings, you will find the option to change the UI and can play around with Lower TimeFrame Settings.
█ DETAILS
First of all, I would like to thank the @TradingView team for providing the function to get access to the lower timeframe data. It is because of them that this magical indicator came into existence.
Magnifying Glass indicator displays a Candle's Lower TimeFrame data in Higher timeframe chart. It displays the LTF candles inside a label. It also shows the Volume structure of the lower timeframe candles. Range percentage shown at the bottom is the percentage change between high and low of the current timeframe candle. LTF candle's timeframe is also shown at the bottom on the label.
This indicator is gonna be most useful to the price action traders, which is like every profitable trader.
How this indicator works:
I didn't find any better way to display ltf candles other than labels. Labels are not build for such a complex behaviour, it's a workaround to display this important information.
It gets the lower timeframe information of the candle and uses emojis to display information. The area that is shown, is the range of the current timeframe candle. Range is a difference between high and low of the candle. Range percentage is also shown at the bottom in the label.
I've divided the range area into 20 parts because there are limitation to display data in the labels. Then the code checks out, in what area does the ltf candle body or wick lies, then displays the information using emojis.
The code uses matrix elements for each block and relies heavily on string manipulation. But what I've found most difficult, is managing to fit everything correctly and beautifully so that the view doesn't break.
Volume Structure:
Strength of the Lower TimeFrame Candles is shown at the bottom inside the label. The Higher Volume is shown with the dark shade color and Lower Volume is shown with the light shade. The volume of candles are also ranked, with 1 being the highest volume, so you can see which candle have the maximum to minimum volume. This is pretty important to make a price action analysis of the lower timeframe candles.
Inside the label on the left side you will see the volume profile. As the volume on the bottom shows the strength of each ltf candles, Volume profile on the left shows strength in a particular zone. The Darker the color, the higher the volume in the zone. The Highest volume on the left represents Point of Control (Volume Profile POC) of the candle.
Lower TimeFrame Settings:
There is a limitation for the lowest timeframe you can show for a chart, because there is only so much data you can fit inside a label. A label can show upto 20 blocks of emojis (candle blocks) per row. Magnifying Glass utilizes this behaviour of labels. 16 blocks are used to display ltf candles, 1 for volume profile and two for Open and Close Highlighter.
So for any chart timeframe, ltf candles can be 16th part of htf candle. So 4 hours chart can show as low as 15 minutes of ltf data. I didn't provide the open settings for changing the lower timeframe, as it would give errors in a lot of ways. You can change the timeframe for each chart time from the settings provided.
Limitations:
Like I mentioned earlier, this indicator is a workaround to display ltf candles inside a label. This indicator does not work well on smaller screens. So if you are not able to see the label, zoom out on your browser a bit. Move the indicator to either top or bottom of all indicators and shrink it's space because all details are inside the label.
█ How I use MAGNIFYING GLASS:
This indicator provides you an edge, on top of your existing trading strategy. How you use Magnifying Glass is entirely dependent on your strategy.
I use this indicator to get a broad picture, before getting into a trade. For example I see a Doji or Engulfing or any other famous candlestick pattern on important levels, I hover the mouse on Magnifying Glass, to look for the price action the ltf candles have been through, to make that pattern. I also use it with my "Wick Pressure" indicator, to check price action at wick zones. Whenever I see price touching important supply and demand zones, I check last few candles to read chart like a beautiful price action story.
Also volume is pretty important too. This is what makes Magnifying Glass even better than actual lower timeframe candles. The increasing volume along with up/down trend price shows upward/downward momentum. The sudden burst (peak) in the volume suggests volume climax.
Volume profile on the left can be interpreted as the strength/weakness zones inside a candle. The low volume in a price zone suggests weakness and High volume suggests strength. The Highest volume on the left act as POC for that candle.
Before making any trade, I read the structure of last three or four candles to get the complete price action picture.
█ Conclusion
Magnifying Glass is a well crafted indicator that can be used to track lower timeframe price action. This indicator gives you an edge with the Multi Timeframe Analysis, which I believe is the most important aspect of profitable trading.
~ @SiddWolf
MPF EMA Cross Strategy (8~13~21) by Market Pip FactoryThis script is for a complete strategy to win maximum profit on trades whilst keeping losses at a minimum, using sound risk management at no greater than 1.5%
The 3x EMA Strategy uses the following parameters for trade activation and closure.
1/ Daily Time Frame for trend confirmation
2/ 4 Hourly Time Frame for trend confirmation
3/ 1 Hourly Time Frame for trend confirmation AND trade execution
4/ 3x EMAs (Exponential Moving Averages)
* EMA#1 = 8 EMA (Red Color)
* EMA#2 = 13 EMA (Blue Color)
* EMA#3 = 21 EMA (Orange Color)
5/ Fanning of all 3x EMAs and CrossOver/CrossUnder for Trend Confirmation
6/ Price Action touching an 8 EMA for trade activation
7/ Price Action touching a 21 EMA for trade cancellation BEFORE activation
* For LONG trades: 8 EMA would be ABOVE 21 EMA
* For SHORT trades: 8 EMA would be BELOW 21 EMA
* For trade Cancellation, price action would touch the 21 EMA before trade is activated
* For trade Entry, price action would touch 8 EMA
Once trigger parameter is identified, entry is found by:
a) Price action touches 8 EMA (Candle must Close for confirmed Trade preparation)
b) Trade preparation can be cancelled before trade is activated if price action touches 21 EMA
c) Trailing Stop Loss can be used (optional) by counting back 5 candles from current candle
CLOSURE of a Trade is identified by:
e) 8 EMA crossing the 21 EMA, then close trade, no matter LONG or SHORT
f) Trail Stop Loss
IMPORTANT:
g) No more than ONE activated trade per EMA crossover
h) No more than ONE active trade per pair
NOTE: This strategy is to be used in conjunction with Cipher Twister (my other indicator) to reduce trades on
sideways price action and market trends for super high win ratio.
NOTE: Enabling of LONGs and SHORTs Via Cipher Twister is done by using the previous
green or red dot made. Additionally, when the trend changes, so do the dot's validity based
on being above or below the 0 centerline.
----------------------------
Strategy and Bot Logic
----------------------------
.....::: FOR SHORT TRADES ONLY :::.....
The Robot must use the following logic to enable and activate the SHORT trades:
Parameters:
$(crossunder)=8EMA,21EMA=Bearish $(crossover)=8EMA,21EMA=Bullish $entry=SELL STOP ORDER (Short)
$EMA#1 = 8 EMA (Red Color) $EMA#2 = 13 EMA (Blue Color) $EMA#3 = 21 EMA (Orange Color)
Strategy Logic:
1/ Check Daily Time Frame for trend confirmation if:
(look back up to 50 candles - find last cross of EMAs)
$(chart)=daily and trend=$(crossunder) then goto 2/ *Means: crossunder = ema21 > ema8
$(chart)=daily and trend=$(crossover) then stop (No trades) *Means: crossover = ema8 > ema21
NOTE: This function is switchable. 0=off and 1=on(active). Default = 1 (on)
2/ Check 4 Hourly Time Frame for trend confirmation if:
(look back up to 50 candles - find last cross of EMAs)
$(chart)=4H and trend=$(crossunder) then goto 3/ *Means: crossunder = ema21 > ema8
$(chart)=4H and trend=$(crossover) then stop (No trades) *Means: crossover = ema8 > ema21
NOTE: This function is switchable. 0=off and 1=on(active). Default = 1 (on)
3/ 1 Hourly Time Frame for trend confirmation AND trade execution if:
(look back up to 50 candles - find last cross of EMAs)
$(chart)=1H and trend=$(crossunder) then goto 4/ *Means: crossunder = ema21 > ema8
$(chart)=1H and trend=$(crossover) then stop (No trades) *Means: crossover = ema8 > ema21
4/ Trade preparation:
* if Next (subsequent) candle touches 8EMA, then set STOP LOSS and ENTRY
* $stoploss=3 pips ABOVE current candle HIGH
* $entry=3 pips BELOW current candle LOW
5/ Trade waiting (ONLY BEFORE entry is hit and trade activated):
* if price action touches 21 EMA then cancel trade and goto 1/
Note: Once trade is active this function does not apply !
6/ Trade Activation:
* if price activates/hits ENTRY price, then bot activates trade SHORTs market
7/ Optional Trailing stop:
* if active, then trailing stop 3 pips ABOVE previous HIGH of previous 5th candle
or * Move Stop Loss to Break Even after $X number of pips
NOTE: This means count back and apply accordingly to the 5th previous candle from current candle.
NOTE: This function is switchable. 0=off and 1=on(active). Default = 0 (off)
8/ Trade Close ~ Take Profit:
* Only TP when
$(chart)=1H and trend=$(crossover) then close trade ~ Or obviously if Stop Loss is hit if 7/ is activated.
----------END FOR SHORT TRADES LOGIC----------
.....::: FOR LONG TRADES ONLY :::.....
The Robot must use the following logic to enable and activate the LONG trades:
Parameters:
$(crossunder)=8EMA,21EMA=Bearish $(crossover)=8EMA,21EMA=Bullish $entry=BUY STOP ORDER (Long)
$EMA#1 = 8 EMA (Red Color) $EMA#2 = 13 EMA (Blue Color) $EMA#3 = 21 EMA (Orange Color)
Strategy Logic:
1/ Check Daily Time Frame for trend confirmation if:
(look back up to 50 candles - find last cross of EMAs)
$(chart)=daily and trend=$(crossover) then goto 2/ *Means: crossover = ema8 > ema21
$(chart)=daily and trend=$(crossunder) then stop (No trades) *Means: crossunder = ema21 > ema8
NOTE: This function is switchable. 0=off and 1=on(active). Default = 1 (on)
2/ Check 4 Hourly Time Frame for trend confirmation if:
(look back up to 50 candles - find last cross of EMAs)
$(chart)=4H and trend=$(crossover) then goto 3/ *Means: crossover = ema8 > ema21
$(chart)=4H and trend=$(crossunder) then stop (No trades) *Means: crossunder = ema21 > ema8
NOTE: This function is switchable. 0=off and 1=on(active). Default = 1 (on)
3/ 1 Hourly Time Frame for trend confirmation AND trade execution if:
(look back up to 50 candles - find last cross of EMAs)
$(chart)=1H and trend=$(crossover) then goto 4/ *Means: crossover = ema8 > ema21
$(chart)=1H and trend=$(crossunder) then stop (No trades) *Means: crossunder = ema21 > ema8
4/ Trade preparation:
* if Next (subsequent) candle touches 8EMA, then set STOP LOSS and ENTRY
* $stoploss=3 pips BELOW current candle LOW
* $entry=3 pips ABOVE current candle HIGH
5/ Trade waiting (ONLY BEFORE entry is hit and trade activated):
* if price action touches 21 EMA then cancel trade and goto 1/
Note: Once trade is active this function does not apply !
6/ Trade Activation:
* if price activates/hits ENTRY price, then bot activates trade LONGs market
7/ Optional Trailing stop:
* if active, then trailing stop 3 pips BELOW previous LOW of previous 5th candle
or * Move Stop Loss to Break Even after $X number of pips
NOTE: This means count back and apply accordingly to the 5th previous candle from current candle.
NOTE: This function is switchable. 0=off and 1=on(active). Default = 0 (off)
8/ Trade Close ~ Take Profit:
* Only TP when
$(chart)=1H and trend=$(crossunder) then close trade ~ Or obviously if Stop Loss is hit if 7/ is activated.
----------END FOR LONG TRADES LOGIC----------
IMPORTANT:
* If an existing trade is already open for that same pair, & price action touches 8EMA, do NOT open a new trade..
* bot must continuously check if a trade is currently open on the pair that triggers
* New trades are to be only opened if there is no active trade opened on current pair.
* Only 1 trade per pair rule !
* 5 simultaneous open trades (not same pairs) default = 5 but value can be changed accordingly.
* Maximum risk management must not exceed 1.5% on lot size
*** Some features are not yet available autoated, they will be added in due course in subsequent version updates ***
Multi-timeframe EMAThe Multi-timeframe exponential moving average (EMA) indicator visualizes EMAs from 1 minute to 1 quarter on a single chart using the request.security function. Standard and Fibonacci timeframes are available as well as the ability to hide high-timeframe EMAs to keep the chart clean. Cross-overs and arrangement of the EMAs indicate sentiment.
Much love to DumpCap! The script is presented sans secret sauce.
MultiTimeFrame Stochastic
Multi Time Frame Stochastic
Fast, medium, slow and Too slow stochastic of current time frame and higher time frame for creating view for buying or selling
How to use
1. For Divergence - price making higher high but stochastic making lower high or vice versa
2. choosing strategy - whether buy the dips or sell on rise
3. deciding whether downtrend or uptrend is over or not - higher time frame stochastic comes from over brought to oversold
High Probablity Buy trade
Higher time frame stoch oversold and divergence seen in chart and stoch and lower low forming stopped in chart and stoch
High Probablity sell trade
Higher time frame stoch overbought and divergence seen in chart and stoch and higher high stopped in chart and stoch
caution : it only go to 0 to 100 so some time it is overbought for long time the fall or vice versa, use it with other confirmation like price action or candlestick pattern
if you like the work
paytm donation id ----- 7001473382@paytm
MTF EMASMulti time frame EMA
This script will plot the configured EMAS on the current time frame (CTF) and also the same EMAS on a higher time frame (HTF).
Hard coded according:
* 5m EMAS will be plotted on TF bellow 5m
* Daily EMA will be plotted on TF above 5m and bellow 1D
* Weekly EMA will be plotted on daily TF
* Monthly EMA will be plotted on weekly TF
This configuration give us the opportunity to watch EMA support/resistance from HTF on the CTF
Joel on Crypto - MACD ScalpingJoel on Crypto - MACD Scalping
This is a Scalping indicator primarily intended for the 5 minute time frame.
It is based on the Crypto Scalping YouTuber Joel on Crypto's popular 5 minute scalping strategy and this is the indicator he personally use when Scalping.
This is a Multi-timeframe indicator where if you use it on the 5 minute time frame, the MACD Histogram bars will be based on the 1 minute timeframe.
The purpose of this indicator is not to trade it like a bot. The purpose is to grab the traders attention a time where there COULD be a scalping opportunity.
Use this indicator at your own risk.
Multi EMA with labels (Any timeframe)This script lets you add up to 8 EMAs (Exponential Moving Averages) that can be set to any timeframe and length. The difference between this and other EMA indicators is that it has a simple label attached to each EMA showing which timeframe it belongs to and what length it is, so you can get that information at a glance while trading without having to remember the specific settings for each EMA.
I was personally looking for something like this because I like clarity on my chart and these labels really help. The existing EMA indicators I found with labels don't support multiple timesframes or if they do, they don't include the timeframe itself in the label, so that's why I created this simple script and shared it in case somebody else is looking for the same. Enjoy.
MTF High LowThis is a Multi-Time Frame High Low Indicator that plots the highest and lowest price levels of the chart timeframe and a user selected higher timeframe.
The length can be optimized by the user from settings (default value is 6 candles) and table position can also be adjusted.
The calculation does not takes into account the last candle price data to form a view using the current close price as described below:
If Close > mid value of High + Low, view is Bullish
If Close < mid value of High + Low, view is Bearish
The above is also calculated for the higher timeframe and view for both timeframe is updated in the chart.
The color coding is dynamic based upon the current close price levels and comparisons with High, Low and Mid values.
The mid values level plot is hidden by default and can be enabled and saved as default if the user likes so.
Vegas channelsThis indicator can plot vegas channel and EMA20. You can choose which time frame of the channels to display and also which channel to display, it can only show one channel and also two or three at the same time.
[BM] HTF Candle Evolution█ OVERVIEW
This script shows how a higher timeframe candle evolves over time.
It was created as a visual aid to #TheStrat and provides a new way of looking at Timeframe Continuity.
█ FEATURES
General
HTF: Higher Timeframe selection with dropdown and ability to manually input a timeframe that is not present in the dropdown.
Label: Show a label with the selected higher timeframe.
Marker: Shows a marker symbol at the start of each new higher timeframe.
Align: Aligns the candles around a selected center line.
The Strat
Multi-timeframe analysis is used extensively in #TheStrat (created by Rob Smith), so the ability to add #TheStrat coloring has been made available.
Scenario: Define the colors for the strat scenario's.
Coloring of: Choose which part of the candles you want the selected strat scenario colors to be applied to.
Band: Display a band that shows the active strat scenario color of the selected higher timeframe.
All features are completely customizable.
Multi-Timeframe Simple TrendSimple Trend State Indicator inspired by @TaPlot's Price Time Frame Continuity indicator. Indicator works well on any Chart Timeframe although some aliasing of the State Response should be expected when comparing a State Response calculated on one Chart Timeframe to a Higher Chart Timeframe ie. comparing the State Result for 30 min from both a 1D Chart and 130 min Chart.
Current Trend State is calculated based on the Current Angle of the SMA Length "L". A Simple moving average is used as an Array Function has to be used to calculate the current MA Value for Time Frames < Chart.
Current Trend State Control is as follows:
Long Trend State = Current Angle > Min Long Angle
Bullish Trend State = Current Angle < Min Long Angle and Current Angle > Max Reversal Angle
Neutral Trend State = Current Angle < Max Reversal Angle and Current Angle > Min Reversal Angle
Bearish Trend State = Current Angle < Min Reversal Angle and Current Angle > Max Short Angle
Short Trend State = Current Angle < Max Short Angle
I use Gann Angle based State Angle definitions in my charts.
Visualization of the Trend State is controlled via the colors selected in the GUI.
Indicator output creates 6 Panels organized linearly at the Location defined via the GUI. Each panel identifies the Timeframe and Timeframe State for the Timeframes selected in the GUI.
IMPORTANT - Timeframes 4-6 MUST be < Current Chart. Timeframes 1-3 should be >= Current Chart
What does the Tool give you? It enables you to see, based on a standardized measure, the relative behavior of the underlying trends on the selected Timeframe ie . the current Asset Trend Support Structure.
So for Simple Trend Following: an identified Bullish Pulse could be Identified, and then followed to the highest Timeframe that is able to maintain that Bullish State. This is your Pivotal Timeframe. If a Bearish Pulse is identified then ride it until it grows strong enough to change the Trend State of the panel below your Pivotal Timeframe.
2TimeFrame Candles by EsIstTurnt//Not my original idea, Ive pretty much just doubled the code to have 2 Candles .All Credit goes to the creator of "Multi-Time Period Charts" as I have it saved in my library. I cant find it anymore and searching the script doesn't appear it seems so if its you let me know (and ill credit you). Why did I opt to plot 2 candles you say? 2*candles=(info)*2. 3 if we count the regular plot. Anything more than that and its too busy/blurring to really visualize trends but this was a bit of a game changer no more switching timeframes back and forth .
Volume Profile PremiumHello, my friends, this is a new fine-grained volume profile indicator. As is known to all, the volume profile indicator is a charting tool that shows how much volume has occurred at each price throughout the trading session. The volume profile indicates the prices favored by the market or those ignored by the market, which can give traders clues as to where prices are likely to go shortly.
(1) Indicator description
This indicator is based on the function "request.security_lower_tf". See the related usage note for details if you need it.
Support for obtaining volume from a lower timeframe than the current chart and calculating a more fine-grained volume distribution
Due to the increased complexity of the calculation, you need to set a reasonable timeframe to avoid calculation timeout.
(2) Key parameters
- Support/Resistance Clustering
Max of Lookback Forward: The maximum number of historical K-lines
Min Resolution (Minute): lower timeframe, unit: minute
Display Volume Profile: ways to display volume profile
Rows of Volume Profile: rows of volume profile
Placement of Volume Profile: location of volume profile
Width of Volume Profile: width of volume profile
Horizontal Offset: horizontal offset of volume profile
Happy trading, and enjoy your life!
————————————————————————————————————————
各位朋友大家好,这是一个具有更高细粒度的成交量分布指标。众所周知,成交量分布是一种图表分析工具(或指标),它显示了在整个交易时段内每个价格上发生了多少成交量。 成交量分布指出了受到市场青睐的价格以及被市场忽略的价格,这可以为交易者提供有关近期价格可能走向何方的线索。
(1) 指标说明
该指标基于 request.security_lower_tf 函数,详情可以查看相关使用说明
支持从比当前图表分辨率更低的时间周期获取成交量,并计算更加细粒度的成交量分布
由于增加了计算复杂度,您需要设置合理的时间周期以避免计算超时
(2) 关键参数
- Volume Profile Parameters
Max of Lookback Forward: 用于统计成交量分布的最大回顾的K线数量
Min Resolution (Minute): 细粒度的时间周期
Display Volume Profile: 展示成交量分布的方式
Rows of Volume Profile: 成交量分布的行数
Placement of Volume Profile: 成交量分布的位置
Width of Volume Profile: 成交量分布的宽度
Horizontal Offset: 成交量分布的水平偏移
祝大家交易愉快
Everything Bitcoin [Kioseff Trading]Hello!
This script retrieves most of the available Bitcoin data published by Quandl; the script utilizes the new request.security_lower_tf() function.
Included statistics,
True price
Volume
Difficulty
My Wallet # Of Users
Average Block Size
api.blockchain size
Median Transaction Confirmation Time
Miners' Revenue
Hash Rate
Cost Per Transaction
Cost % of Transaction Volume
Estimated Transaction Volume USD
Total Output Volume
Number Of Transactions Per Block
# of Unique BTC Addresses
# of BTC Transactions Excluding Popular Addresses
Total Number of Transactions
Daily # of Transactions
Total Transaction Fees USD
Market Cap
Total BTC
Retrieved data can be plotted as line graphs; however, the data is initially split between two tables.
The image above shows how the requested Bitcoin data is displayed.
However, in the user inputs tab, you can modify how the data is displayed.
For instance, you can append the data displayed in the floating statistics box to the stagnant statistics box.
The image above exemplifies the instance.
You can hide any and all data via the user inputs tab.
In addition to data publishing, the script retrieves lower timeframe price/volume/indicator data, to which the values of the requested data are appended to center-right table.
The image above shows the script retrieving one-minute bar data.
Up arrows reflect an increase in the more recent value, relative to the immediately preceding value.
Down arrows reflect a decrease in the more recent value relative to the immediately preceding value.
The ascending minute column reflects the number of minutes/hours (ago) the displayed value occurred.
For instance, 15 minutes means the displayed value occurred 15 minutes prior to the current time (value).
Volume, price, and indicator data can be retrieved on lower timeframe charts ranging from 1 minute to 1440 minutes.
The image above shows retrieved 5-minute volume data.
Several built-in indicators are included, to which lower timeframe values can be retrieved.
The image above shows LTF VWAP data. Also distinguished are increases/decreases for sequential values.
The image above shows a dynamic regression channel. The channel terminates and resets each fiscal quarter. Previous channels remain on the chart.
Lastly, you can plot any of the requested data.
The new request.security_lower_tf() function is immensely advantageous - be sure to try it in your scripts!
EsIstTurnt's Relative Value Comparison Multi SymbolCompare the relative valuation of up to 8 tickers. By taking a shorter term moving average and dividing by a longer term moving average(optionally with an offset) we get a value that is either above or below 1. Easy to tell what is undervalued and overvalued with this setup. Useful for comparing different asset classes or sector specific securities looking for outperformers/underperformers. Overvalued and Undervalued levels marked by Red and Green background. Recommended in conjunction with other indicators of your choosing for confirmation of trend changes but this is good for getting a broader view of the market you're interested in. Multiple timeframes, sources available however you should tinker with it to find what gives you the best view for your preferred timeframe.
ALL Ticker ID informationAn example and overview of the syminfo and tickerid functions to be able to access different tools.
Here is an example of accessing the Bitfinex exchange (and requesting "instrument name") when another exchange is open (BINANCE:BTCUSDT)
There is a difference in name between BINANCE:BTCUSDT and BITFINEX:BTCUSD exchanges
Try swapping //
T = "BITFINEX:"+str.tostring(syminfo.basecurrency)+"USDT"
//T = "BITFINEX:"+str.tostring(syminfo.basecurrency)+"USD"
The script will show that this instrument does not exist "Error in the value of the instrument. There is no such currency!"
Implemented Resolve error handling with the ignore_invalid_symbol=true parameter, this gives further processing of the script without errors.
----------------------------------------------------------
Пример и обзор функций syminfo и tickerid для возможности доступа к разным инструментам.
Здесь реализован пример доступа к бирже Bitfinex(и запрос "названия инструмента"), когда открыта другая биржа (BINANCE:BTCUSDT)
Существует разница в названии между биржами BINANCE:BTCUSDT и BITFINEX:BTCUSD
Попробуйте поменять // местами
T = "BITFINEX:"+str.tostring(syminfo.basecurrency)+"USDT"
//T = "BITFINEX:"+str.tostring(syminfo.basecurrency)+"USD"
Скрипт выдаст, что данного инструмента нет "Ошибка в значении инструмента. Такой валюты нет!"
Реализована Обработка ошибки Resolve error с помощью параметра ignore_invalid_symbol=true это дает дальнейшую обработку скрипта без ошибок.
[CP]Pivot Boss Multi Timeframe CPR Inception with MACD and EMAINTRODUCTION:
This indicator combines multi-timeframe CPR bands with MACD Momentum and EMA trend, all projected on the candlestick chart through a novel visualization.
If you have seen my other indicators on TradingView, you would know that I use floor pivots a lot and “Secrets of a Pivot Boss” is my favorite book. While using floor pivots, time and again I have noticed an interesting price behavior,
Trending moves in price typically start from around the Central Pivot Range (CPR). The CPR could be from ANY timeframe. These moves can easily be caught using simple momentum and trend indicators like MACD and EMA crossovers.
Yes, it is that simple. Follow along to understand how to use this indicator.
INDICATOR SETTINGS:
RANGEBOUND MACD AND EMA MARKINGS:
TradingView limits the max number of labels that can be shown on a chart to 500. Therefore, if you go far back enough, you won't see any markings for the MACD or EMA setups. If you are looking to test the efficacy of this indicator in the past, change the start and end dates to your desired timeframe and then select the ‘Mark MACD and EMA Setups in Range?’ option.
MULTI TIMEFRAME CENTRAL PIVOT RANGE:
Here you can select CPRs and their bands from which timeframes are shown on the chart. I will share my favorite settings later in this description.
CPR CONFIGURATION:
Show CPR Labels: CPRs markings can carry labels, so that you don’t confuse between which line is what. Use this setting to toggle them On/Off.
Show Next Time Period Pivots: Check this option if you want to see the CPR of the next time period. This is typically done to figure out the ’Two Day CPR Relationship’ . Read the book, “Secrets of a Pivot Boss”, to understand more.
EMA TREND:
Show EMA on the Chart: EMAs will be plotted on the chart. Standard stuff.
Mark EMA Crossovers on Chart: EMA crossovers will be marked on the chart in diamond shapes. If you are using EMA crossovers, I recommend setting this option to True.
Rest of the EMA settings are fairly obvious.
MACD MOMENTUM:
Projecting MACD parameters directly on the candlesticks is surely going to give you a new perspective about price action and MACD.
Also, in order to better understand the MACD projections on the chart, you can add a standard MACD indicator on the chart with default settings to figure out what my indicator is actually showing you.
Marking MACD Crossovers on Chart: Marks the MACD signal crossovers on the chart. This visualization was a game changer for me.
Show MACD Histogram on Chart: Projects the complete MACD Histogram in a novel fashion (Try it!). You will be able to visually see the ebbs and flow of momentum in the charts.
Mark MACD Histogram Peaks on Chart: Marks only the MACD peaks instead of the complete histogram. Peaks are a great way to enter an ongoing trend and to play an intraday rangebound market.
Rest of the settings are just the standard settings that you will find in a typical MACD indicator.
ALERTS:
Not shown in the settings panel, but I have added alerts for EMA and MACD Crossovers so that you don’t have to sit in front of the charts or constantly check the price all day long.
If you don’t know how to set alerts in TradingView, then please Google it.
INDICATOR USAGE EXAMPLES:
This indicator can be used in intraday as well as in higher timeframes.
There are quite a few variations possible, I personally prefer to use the EMA crossovers in intraday (5m) and MACD on Daily timeframes.
This is just a matter of personal preference, some people might prefer using EMAs only or MACD only in all timeframes.
Here are my personal settings for the intraday 5-minute timeframe:
Turn on all the CPR pivots starting from Yearly all the way to Daily. You can turn on 6 hourly and 4 hourly as well if you want.
Hourly CPR is mostly used when the price is in a strong trend and you missed the entry and don’t know when to enter. Price will typically experience pullbacks towards the Hourly CPR, before resuming in the direction of the trend. That is your chance to hop onto the bandwagon.
For Intraday, I keep the Bands off. Just a personal preference here.
You can turn ON the Show CPR Labels , if you want.
Turn ON both the options in the EMA TREND section. You would want to see the EMA crossovers marked on the chart as well as the EMAs themselves, as the distance between the two EMAs will give you an idea about the strength of the trend.
Keep rest of the settings in the EMA section as default (you can change the colors if you wish). I keep the same EMAs as the ones kept in the MACD indicator. I like to keep things simple.
In the MACD MOMENTUM section, turn ON Mark MACD Histogram Peaks on Chart and all the other options turned OFF. Leave the other settings as default. By the way, these are the default settings of the standard MACD Indicator.
You can set up EMA Bullcross and Bearcross alarms if you like.
Before checking out the examples, remember one super simple rule:
SOME OF THE BEST TRENDING MOVES IN THE MARKET, BE IT INTRADAY OR OTHERWISE, ORIGINATE IN THE VICINITY OF A LARGER TIMEFRAME PIVOT/CPR.
Look for price settling above/below a pivot, and then a move away from the pivot in any direction is typically a trending move.
You can use hourly pivots or MACD Histogram peaks marked on the chart to enter an existing trend, or add to your positions.
Let’s have a look at a few recent intraday examples from the Crypto, Indian, and US equity markets.
I have added my comments in the charts to make you easily understand what is going on.
Understand that both, moving average crossover and MACD, will give out a lot of signals (chop) every day. But almost 70% of them are going to be fake signals. It is the signals that you get when the price is near a Pivot, that tend to convert into gorgeous trending moves that last.
BTC 5m Charts
NIFTY Futures 5m Charts (good intraday trends are hard to find here, as the market is very efficient)
TSLA 5m Charts
Some important points for using this indicator in higher timeframes:
For higher timeframes, my personal preference is to go with the MACD indicator. I personally find MACD to be lethal on daily and weekly timeframes, if you know how to use it well.
The default settings of the indicator are the settings I use for both, Daily and Weekly, timeframes. Additionally, I turn off the CPR labels.
In theory large trending moves still have a big probability to start near an important pivot level, however, in larger timeframes, trending moves can start from anywhere. They need not start in the vicinity of any important pivot (but they often do!).
Weekly pivots can act as great pullback levels when the price is in strong momentum, when trading on the daily timeframe.
Quarterly Pivots act as great pullback levels when the price is in strong momentum, when trading on the weekly timeframe.
BTC Weekly Chart
BTC Daily Chart
Nifty Weekly Chart
Nifty Daily Chart
NASDAQ Weekly Chart
NASDAQ Daily Chart
FINAL WORDS:
Please understand that I have Cherry Picked the examples to showcase the capability of the indicator and its usage.
DO NOT conflate the accuracy of examples with the accuracy of this indicator.
Biggest catch is the fact that this indicator, like every other indicator out there, will have whipsaws. Some I have also marked in the example charts.
You need to come up with your own technique to avoid whipsaws, one technique I have shared here…… big moves typically start near pivots.
Work on avoiding whipsaws and finding you own edge in the markets.
If you really want to learn how to use Pivots, read the book ’Secrets of a Pivot Boss’ . This book can change your life.
Pivot Points High Low Multi Time FrameHello All,
There are built-in and published Pivot Point High Low indicators in Public Library but as far as I see none of them is for Higher Time frames. so I decided to write & publish this script. I hope it would be useful while trading or developing your own scripts. I also did this to use in one of my future projects (we will see it in a few weeks/months ;) ).
I tried to make all settings optional, so you can play with them as you wish.
P.S. There is no control mechanism if the chart time frame is lower than the time frame in the options. So you better set higher time frame in the options than the chart time frame.
Enjoy!
MTF RSI & STOCH Strategy by kziThis script is a teaml job with Indicator-Johns.
First he used my script, then i transform his code.
The origine:
The first transformation:
www.tradingview.com
Funny moment together, thanks for that. :)
This sharing is an indicator where you can see the average of different time frames.
The RSI is the blue line
The Stock is the yellow line
You can manage the timeframe in the parameters.
The strategy is to take position when the two lines get overbought or oversold and close when the stoch and RSI goes to the middle.