Volatility Stop MTFThis is a multi-timeframe version of our Volatility Stop , an ATR-based trend detector that can be used as a stop.
► Timeframe selection
The higher timeframe can be selected using 3 different ways:
• By steps (60 min., 1D, 3D, 1W, 1M, 1Y).
• As a multiple of the current chart's resolution, which can be fractional, so 3.5 will work.
• Fixed.
Note that you can also use this indicator without the higher timeframe functionality. It will then behave as our normal Volatility Stop would.
► Stop breaches
Two modes of stop-breaching logic can be selected.
• In the default, Early Breach mode, the stop is considered breached when a bar at the chart's current resolution breaches the higher timeframe stop.
• You may also choose to calculate breaches on the higher timeframe information only.
Choosing the Early Breach mode has the advantage of generating faster exits. It will create a state of limbo where the stop has been breached but the Volatility Stop trend has not yet reversed. The impact of detecting earlier exits to minimize losses comes, as is usually the case, at the cost of a compromise: if the stop is breached early in a long trend, the indicator will then spend most of that trend in limbo. Sizeable portions of a trend can thus be missed.
A few options are provided when you use Early Breach mode:
• A red triangle can identify early breaches (default).
• You can color bars or the background to identify limbo states.
When in limbo, the color used to plot the indicator's line or shapes will always be darker.
► Alerts
Five pre-defined alerts are supplied:
• #1: On any trend change.
• #2: On changes into an uptrend.
• #3: On changes into a downtrend.
• #4: Only on breaches of the uptrend by the chart's bars (Early Breach mode). Will not trigger on a trend change.
• #5: Only on breaches of the downtrend by the chart's bars (Early Breach mode). Will not trigger on a trend change.
As usual, alerts should be configured to trigger Once Per Bar Close . When creating alerts, you will see a warning to the effect that potentially repainting code is used, even if the indicator's default non-repainting mode is active. The warning is normal.
► Other features
• You can color bars using the indicator's up/down state. When bars are colored, up bars are more brightly colored.
• The HTF line is non-repainting by default, but you can allow it to repaint.
• You can confirm the higher timeframe used by displaying it at a selectable distance from the last bar on the chart.
• Choice of 2 color themes.
• Choice of display as a line, circles, diamonds or arrows. The line can be used with the other shapes. If no line is required, set its thickness to zero.
Enjoy!
Look first. Then leap.
Cari dalam skrip untuk "市值60亿的股票"
MTF Selection Framework - PineCoders FAQOur MTF Selection Framework allows Pine coders to add multi-timeframe capabilities to their script with the following features:
► Timeframe selection
The higher timeframe can be selected using 3 different ways:
• By steps (60 min., 1D, 3D, 1W, 1M, 1Y).
• As a multiple of the current chart's resolution, which can be fractional, so 3.5 will work.
• Fixed.
► Non-repainting or Repainting mode can be selected.
► Smoothing of the HTF line
Can be turned on/off and a smoothing factor allows the user to select the degree of smoothing he requires.
The framework is used here to create a higher timeframe version of a simple RSI line, but it can be used to access HTF information for almost any signal.
Functions used
f_resInMinutes()
Converts the current timeframe.multiplier plus the TF into minutes of type float.
• In Pine, the timeframe.multiplier is an integer representing the resolution, but a value of 1 can mean one day or one minute. This function converts that information in a standard fractional float minutes format that can then be used by the other functions in the framework.
• If the chart's current resolution is 15 seconds, the function will return 0.25 . If the chart's resolution is one day, it will return 1440 .
f_tfResInMinutes(_resolution)
Returns resolution of _resolution period in minutes.
• This function does the same as f_resInMinutes() , but on the target resolution supplied as a parameter in the timeframe.period string format.
f_resNextStep(_res)
Given a current resolution in fractional float minutes, returns its corresponding stepped HTF in the timeframe.period string format.
• This allows the implementation of the step HTF selection mode.
f_multipleOfRes(_res, _mult)
Given a current resolution in fractional float minutes and a fractional multiplier, returns a multiple of the resolution as a string in "timeframe.period" format usable with "security()".
• A multiple like 3.5 is allowed.
• Note that with seconds resolutions, the result returned is constrained by the discrete seconds resolutions available on TV.
f_htfLabel(_txt, _y, _color)
Used to display a label showing either:
• A warning when the chart's resolution is not lower than the HTF.
• The HTF resolution currently used.
The y position used to position the label will require adaptation to the signal you are using. For use in "overlay = true" mode, a technique that works well is commented out in the code.
Look first. Then leap.
CHK AIH (ACTION IS HERE!)-ALMA SCREENERWe do not like to stare at the screen whole day, instead we like to jump where the
action is.... The Screener was written with this in mind
CHK AIH (ACTION IS HERE!)-ALMA BASED SCREENER
FEATURES
User can enter 3 Resolutions of his/her choice
User can select 3 Mov Avg Length of his her choice, which would be identical for all the three timeframes
User can enter stock basis his/her region's stock exchange
User can shift the screener left or right if not visible in a Multiscreen mode
Uses ALMA (Arnaud Legoux Mov Avg) as it smooth and reactive
Code is also provided below of MTF ALMA Moving Average OVERLAY on which this screener is based
LOGIC
For a particular timeframe If all the Moving Average are calibrated in one direction, it will show the requisite color.
For Example in an ideal scenario for a bull trend ALMA(5)> ALMA(13) > ALMA(21), once such a situation is identified, the screener will show green.
Yellow means lack of Calibration.
When 3 timeframes are calibrated, it becomes a high Probability Trade
BUGS
It is not allowing to enter the D/W/M timeframes, timeframe in numbers ...5/15/60 is working fine. If somebody can fix it
it would be great
LIMITATIONS
Because of TV's limitations only 4 scrips can be entered, however one add the indicator again with new scrips
//////////// CREDITS ////////////////////////////////////////////////////////////////////////////////////
//// hxxps://www.tradingview.com/script/rwdgyEZe/
/// Thank You Inno14 for graciously sharing your work. Your work has helped immensely !!!
////////////////////////////////////////////////////////////////////////////////////////////////////////
ICICIBANK
TECHMAHINDRA
YESBANK
Strategy PyramiCoverStrategy for pyramidization and coverage. (Indicator PyramiCover)
Recommended time frame 60 min.
Currency Relative Strength IndexCurrency Relative Strength Index
This scripts show current RSI value and histogram of 7 Currency index on 3 time frame: 4H, 1H, 15M
//=== RSI Function ===\\
rsi_period=input(14)
M15_RSI( sym ) =>
M15_RSI = security( sym , "15", rsi (close,rsi_period))
H1_RSI( sym ) =>
H1_RSI = security( sym , "60", rsi (close,rsi_period))
H4_RSI( sym ) =>
H4_RSI = security( sym , "240", rsi (close,rsi_period))
//=== Currency Index ===\\
1. DXY - USD Index - U.S. Dollar Index
2. EXY - EUR Index - Euro Currency Index
3. JXY - JPY Index - Japanese Yen Index
4. BXY - GBP Index - British Pound Index
5. AXY - AUD index - Australian Dollar Index
6. CXY - CAD Index - Canadian Dollar Index
7. SXY - CHF Index - Swiss Franc Currency Index
Trading Range Indicator - TRISimple script made to identify trading ranges in any timeframe
The oscillator bounces between 1 and 0. 1 means that the current asset is in a trading range and 0 meaning it is not.
The determination of a trading range is determined by the following:
ATR(14)40 and RSI<60
ADX<25
Due to all 3 having to be fulfilled in order for the oscillator to show there is a trading range, this causes a problem where 2 of the conditions are fulfilled and therefore still shows 0 on the oscillator, however, the asset could very well be in a trading range.
So what in the world do you use this for if there is such a significant margin of error?
Since all 3 conditions need to be fulfilled in order for it to be considered a trading range, this gives a very strong indicator of said trading ranges. So if a person is looking at individual stock tickers or the SPY index ticker, then when the oscillator reads a 1, it could be ideal to open an Iron Condor on said ticker. This means that this indicator is not well suiting for traditional long and short stock positions, but rather it is made for options traders who by using an Iron Condor can make money of a range-bound market.
Squeeze MTF HeatmapHere is a multi-timeframe heat map using one of the most apreciated indicators in Tradingview: Squeeze Momentum Indicator by LazyBear.
Study shall be added to 15min chart.
It indicates squeeze and momentum at: 15 min, 30 min, 60 min, 240 min and 1 Day.
Thanks to © azimuthdynamics for inspiration and portion of code
Thanks to Lazy Bear for coding Squeeze Momentum Indicator
Blockchain Fundamentals - MCCD - Miner Capitulation Conv/Div🔗Blockchain Fundamentals - MCCD - Miner Capitulation & Convergence Divergence
(a.k.a. Hash Ribbons)
Intro
Miner Capitulation has been talked about alot recently in the news and on twitter. I wanted to join the in fun and add my own spin on things.
Description
This shows the 30 (yellow) and 60 (orange) day moving average of the hash rate of bitcoin. I added an option to show the convergence/divergence of the two moving averages in a visual manner similar to the MACD.
I also added the ability to select both the length and type of MA used in the calculation of the capitulation so you can experiment.
Other additions include bar coloration by trade state, and background highlighting of capitulation periods.
Editable Capitulation/Recovery plots will show clearly when the crosses happen.
The way to replicate my display is to add the indicator twice below the chart and combine in the same pane. First indicator displays the averages by default. The second one you enable convergence/divergence display option and uncheck the rest.
Last I add the indicator one more time and dragged it on chart. Do not combine the scales into one, of else it will ruin the scale (you want them separate scales). Its just showing you possibilities, use whatever works for you!
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 73rd script on Tradingview!
💬Check my Signature for other information
Leavitt Convolutions Multicator - Jay Leavitt, Ph.D.Hot off the press, I present this next generation "Leavitt Convolutions Multicator" employing PSv4.0, originally formulated by Jay Leavitt, Ph.D. for TASC - January 2020 Traders Tips. Basically it's an all-in-one combination of three Leavitt indicators. This triplet indicator, being less than a 60 line implementation at initial release, is a heavily modified version of the original indicator using novel techniques, surpassing Leavitt's original intended design.
Utilizing the "Power of Pine", I included the maximum amount of features I could surmise in an ultra small yet powerful package. Configurations are displayed above in multiple scenarios that should be suitable for most traders.
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND much, much more... You have the source!
For those of you who are new to Pine Script, this script may also help you understand advanced programming techniques in Pine and how they may be utilized in a most effective manner. Most notably, the script shows how to potentially combine three indicators in one with Pine. This is commonly what my dense intricate code looks like behind the veil, and if you are wondering why there is no notes, that's because the notation is in the variable naming.
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
Syminfo.TypeHello traders
Earlier this week I discovered a new built-in variable called syminfo.type
What is it for?
This variable returns the type of the current symbol. Possible values are cfd, stock, futures, indices, forex, crypto, fund.
Cool bro but... should we care?
Well... we all should. Imagine you have a generic script and you want a different configuration whether you're trading FOREX or Crypto .
I designed a dummy example in that script that will preset the inputs according to the asset type from the chart.
Here I want 12/26/9 for forex and 20/50/50 for crypto - 30/60/90 otherwise
Quick caveat
It seems that for any crypto asset, syminfo.type returns "bitcoin". TradingView will fix it at some point but wanted to give you the heads-up regardless
Enjoy and all the BEST ^^
--
Dave
The Fantastic Four of Oliver VelezThis script graphics the "fantastic 4" area, was created by oliver velez and is used in the opening of the american stock market, determined by:
1- ma200 at the closure of the previous day
2- ma20 at the closure of the previous day
3- price of previous day closure
4- activity of the last 30/60 min prior to the closure of the previous day (search the maximum and minimum)
Basically it is a very important support / resistance area the first hour from the opening, the trap area is an area in which it should be avoided to operate if the price opens within the same. In advance of being used as a support / resistance area if the price opens above the 4f is looking for longer opportunities (many more aspects should be evaluated) and if it is below.
Configuration:
- possibility to modify the amount of minutes of the activity of the previous day.
- possibility of hidding the "trap area" label.
- possibility of hidding the "change to temporary frame of 2 min" label.
Note: the temporary framework used is the 2 min, in the event of being in another temporary framework the indicator will not work and will be alerted with a label
Donchian FibsSo this is donchian channel with its fibs level
the TF is set to 1440 min to show daily trend
the highs and lows of the channel is shown
so why this shit?
I like sometime to play on lower TF lets say 5 min chart or 15 min chart
So if I reduce the TF to 60 on 5 or 15 min chart I can get more realistic fib system then the regular that we normaly use
So you need to play with TF to get the best result for your chart :)
ANN MACD BTC v2.0 This script is the 2nd version of the BTC Deep Learning (ANN) system.
Created with the following indicators and tools:
RSI
MACD
MOM
Bollinger Bands
Guppy Exponential Moving Averages:
(3,5,8,10,12,15,30,35,40,45,50,60)
Note: I was inspired by the CM Guppy Ema script.
Thank you very much to dear wroclai for his great help.
He has been a big help in the deep learning series.
That's why the licenses in this series are for both of us.
I'm sharing these series and thats the first. Stay tuned and regards!
Note : Alerts added.
Easy to Use Stochastic + RSI StrategyA simple strategy that yields some great results.
CODE VARIABLES
LINE 2 - Here you can change your currency and amount you want to invest on each entry.
LINE 10/11/12 - Here we establish what date we want to start backtesting from. Simply change the defval on each line to change the date (In the code below we start on Jan 1st, 2014).
LINES 19 through 27 - Here we set our Stochastic and RSI sensitivity (Currently %K = 14, %D = 3, RSI = 14). Change these to your preference.
LINE 39/41 - Here we execute our orders (Currently set when %K crosses %D under the 20 value and RSI is less than 50 to BUY, %K crosses %D above the 80 value and RSI is greater than 60 to SELL). Change these to your preference.
NOTE: As a beginner you may not want to short stock, therefore LINE 6 was added to only allow long positions.
I didn't overlay the RSI value over the Stochastics because it was too cluttered. Just add the RSI indictor seperately to your layout.
As always, couple this with trend following and exit/entry rules to make the profitability even higher!
Cheers!
Extended Fibonacci PivotEditable Fibonacci Pivots. 0.236, 0.382, 0.618, 0.786, 1.000. Easy to extend further if needed. Can be used with intervals from 1 minute to 1 Day.
A Few Recommended timeframes:
1 minute chart - 15 Minute Pivot Timeframe
3 minute chart - 1 Hour Timeframe or Daily Timeframe
15 Minutes to < 60 Minutes - Daily Timeframe
1 Hour to 4 Hour - Weekly Timeframe
Daily - Monthly Timeframe
Bollinger MTFSo this is a Bollinger resistance and support map, I just convert it to v4 and add info for current upper and lower levels
The length is 60 (instead of regular 20) and we make it to be MTF
Ok , so how this system work
we choose TF and I normaly use 3x or 4X of the MTF (you can choose your own)
then we need to decide if we want to long or short
if we go long then the buy point will be the lower value and TP will be TP in green -
If we go short then our entry value will be upper and TP (take profit) will be in red
so one can put few tweeks and make this system to be more automatic , but I just show this as a easy concept for trade system
the main issue in such system is properly to decide when to go short or when to go long
that why you need to add other indicators in order to make this call and make this system effective
Currency Strength Gold MethodolgyThis script was written by, and used with the express permission of, Eduardo Andrade. The purpose of the script is easily determine respective currencies strength and weakness as utilized in The Gold Methodology - Ichimoku.
Tradingview members can use this script to see how each currency pair performed the day before as the reading is based is based upon the 11:00 p.m. GMT 60 minute candle (just before the Tokyo open).
Each currency is ranked in order of descending Strength and are designated by the following colors:
Orange = AUD
Green = CAD
Aqua = CHF
Purple = EUR
Red = GBP
Yellow = JPY
Black = NZD
Blue = USD
I hope you find he script beneficial and if you have any questions, please comment or send me a message.
have a great weekend!!
Allen
RSI Divergence - Baby WhaleHey guys!
BabyWhale here!
I will open source my scripts, so everyone can use them and update.
In this RSI Divergence script I added Hidden Divergence (beta) as well.
This script will show you:
Bullish Divergence (green triangle)
Hidden Bullish Divergence (green circle)
Bearish Divergence (red triangle)
Hidden Bearish Divergence (red circle)
You can set the RSI values.
I recommend 60 / 40 or 70 / 30.
Last but not least, you can set alarms when a Divergence or Hidden Divergence is found.
Feedback is always welcome!
Credits to @Libertus, I used his script as inspiration.
Good luck with trading!
BabyWhale
Breakout Relative Strength IndexIt isn't easy to determine if the price of a stock is about to break out. Here’s one way you can determine the relative strength of a breakout, enabling you to act early and realize higher profits.
This indicator was originally developed by Howard Wang Stocks & Commodities V. 33:09 (60–62)
CSA 5-Step Moving Average8-09-2019
The CSA 5-Step Moving Average plots the Daily, Weekly and Monthly simple moving average in 1 indicator.
The indicator works for the following Time frames:
5 min
10 min
15 min
30 min
60 min
120 min
240 min
If you select any other time frame, noting will be plotted.
When selecting the 5 min time frame, the Monthly moving average will not be plotted.
Colors:
Daily = White
Weekly = Yellow
Monthly = red