Free Zen SMA CollectionWith this script/indicator you combine a couple of different plots based mainly on moving average function.
Plot functions:
1. Highlight Dates: Weekends, New Years and halvings. Just for a better orientation.
2. Add 2 custom MA's (SMA, EMA or RMA)
- observe the golden/death crossos of them
- observe the filled area between them
- observe the slope of the MA's based on the color of the lines
3. Plot the 350SMA daily and their golden ratio multiplier (BTC related)
4. Highlight the ATH cross based on Pi cycle (SMA(111) crosses SMA(350)*2)
5. Plot EMA Ribbons.
have fun guys and thanks to all others who contribute to this huge script community
Cari dalam skrip untuk "GOLD"
Double Moving AverageWith this script you can view TWO moving average with ONE indicator (really helpful if you have the limit of four indicator in the chart).
It is very simple to use:
1) In "Preset" you can choose between three standard pairs (7-21, 11-22, 50-200) or "Custom".
2) The parameters "Custom M1" and "Custom M2" only work if "Custom Preset" is selected, otherwise they are IGNORED.
Bollinger Bands %B Compare VixThis imple script converts your chosen chart price and outputs it as a percentage in relation to the Vix percentage.
If price (Blue line) is higher than 0.60 and vix (Red Line) is lower than 0. 40 then there is lower volatility and this is good for buying.
If price (Blue line) is lower than 0. 40 and vix (Red Line) is higher than 0.60 then there is higher volatility and this is good for selling, exiting and cash only.
If you like risk you can enter as soon as the price and vix cross in either direction
This is my first script, please give me a lot of critique, I won't cry hahaha :)
For greater accuracy, you use these Vix products for their specific stocks/Indicies:
Apple - VXAPL
Google - VXGOG
Amazon - CBOE:VXAZN
IBM - CBOE:VXIBM
Goldman Sachs - CBOE:VXGS
NASDAQ 100 = CBOE:VXN
SP100 - CBOE:VXO
SP500 (3months) - VIX3M
XLE(energy sector) - CBOE:VXXLE
EWZ(brazil etf) - VXEWZ
EEM( emerging markets etf) - CBOE:VXEEM
EFA (MSCI ETF) - CBOE:VXEFA
FXI (Cina ETF) - CBOE:VXFXI
[blackcat] L2 Bull Bear Convergence Divergence (BBCD)Level: 2
Background
A bull market is gaining ground and is economically sound, while a bear market is declining and most stocks are depreciating. The actual origins of these terms are unclear, but one reason could be that bulls attack by pulling their horns up while bears attack by brushing their paws down.
Function
L2 Bull Bear Convergence Divergence (BBCD) disclose the convergence divergence of the bull bear as a market opinion indicator. It tells you the opinion of those who are directly involved with the markets. As a trader, understanding how the convergence divergence of the bull bear works can be of great help. I inherited the traditional MACD expression method, and added golden cross (yellow cross) and dead cross (fuchsia cross) prompts, as well as bottom divergence (lime cross) and top divergence (red cross) prompts.
Key Signal
bbd --> bull bear fast line
bbdsupport --> bull bear slow line and support level
bbdgx --> bull bear gold cross in yellow
bbddx --> bull bear dead cross in fuchsia
bbotdiverg --> bull bear bottom divergence alert in lime cross
btopdiverg --> bull bear top divergence alert in red cross
Pros and Cons
Pros:
1. it can help to see the strength change of a trend in time
2. visual bottom and top divergence alerts are provided
Cons:
1. it disclose the strength change better than price change
Remarks
Bull Bear Convergence Divergence (BBCD) is new.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
[blackcat] L2 Momentum Line Convergence Divergence (MLCD)Level: 2
Background
Momentum indicators are technical analysis tools that can be used to determine the strength or weakness of the stock price. Momentum measures the speed at which stock prices rise or fall. Common momentum indicators are the relative strength index (RSI) and the moving average of convergence divergence (MACD).
Function
L2 Momentum Line Convergence Divergence (MLCD) is one of my innovative indicator which is to differeniate with average of convergence divergence (MACD). So, I named it as Momentum Line Convergence Divergence (MLCD). In order for everyone to be more familiar with its useage, I inherited the traditional MACD expression method, and added golden cross (yellow cross) and dead cross (fuchsia cross) prompts, as well as bottom divergence (lime cross) and top divergence (red cross) prompts.
Key Signal
mtm --> momentum fast line
mtmaux --> momentum slow line
mtmgx --> momentum gold cross in yellow
mtmdx --> momentum dead cross in fuchsia
mtmbotdiverg --> momentum bottom divergence alert in lime cross
mtmtopdiverg --> momentum top divergence alert in red cross
Pros and Cons
Pros:
1. very stable for market price change and trend following
2. visual bottom and top divergence alerts are provided
Cons:
To be found yet
Remarks
Blackcat1402 brand MLCD indicator
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Relative Currency StrengthThis indicator shows the relative strength of the majors and crosses compared to each other. So, if you are taking a EURUSD long, are you taking it because the Euro is strong or the USD is weak or both? How do you know? This indicator will show you how strong a current is compared to the other majors and crosses. So in the EURUSD example, you will know how strong the EUR is compared to NZD, AUD, JPY, CHF, GBP, CAD and USD and how strong the USD is compared to the NZD, AUD, JPY, CHF, EUR, GBP and CAD. You can then make an informed choice as to whether the trade makes sense.
Notice in the examples below how the indicator clearly shows how CHF was weak all day and GBP was strong in the morning but then collapsed in the afternoon.
The indicator functions by taking a set point in the day and comparing how price compares to it for the rest of the day. I set it to Europe open and then take context of how a currency is comparing to that price (verses the other currencies) over the course of the day.
You can use the indicator in 2 ways - you set a currency as a baseline and see how other currencies fluctuate about it or you can see how all the currencies strengths compare to each other.
If you have the full tradingview membership you can have 8 screens and see how each currency compares. if you set the indicator to automatic it will automatically default to the base currency that you compare to OANDA gold.
The general strength is useful as a general overview as to where strength and weakness is in the charts. It works by using gold as the baseline which is a reliable way to compare strengths.
REMEMBER, THIS GIVES SUMMARY DATA. USE IT TO GET MARKET CONTEXT IN ORDER TO IDENTIFY WHERE STRENGTH AND WEAKNESS IS - YOU CANT JUST TRADE FROM IT. It's extremely useful in fast moving markets to easily stay aware of what is happening.
Noldo CFTC COT Commodities IndicatorHi.
Hello, this script has the same logic as Noldo CFTC COT Forex indicator :
It is the version for the future markets.
Major future assets are the subject.
Usage
This script works only on SPGSCI (S&P Goldman Sachs Commodity Index).
You must open SPGSCI :
www.tradingview.com
It only works on 1W graphics.
Because COT data is announced on Tuesday, it will cause repaint every Tuesday.
However, since it is a terminal, this factor is not strong enough to affect your decisions.
For use, you should open the bottom panel, go a little to the right in the history section and enlarge the panel you have opened.
The terminal will take its form in the presentation and provide analysis on the big screen.
COT data are pulled via Quandl.
Regards.
SIMPLE MOVING AVG 10,20,50,100,200 with RESOLUTIONThis indicator is the best than all other sma indicators.Because in just one click you can change all the resolution /time frames for all the sma .
Multitime frame analysis can be done in just one click. just change the resolution to
15 min/30 min/1hr- if you intraday trader
1D- LONG TERM INVESTORS.
Multi-timeframe analysis (MTF) is a process in which traders can view the same ticker/indicator using a higher time frame than the chart’s, for example, displaying a daily moving average on a one-hour chart in just two clicks.
How to Use this to Buy Stocks ?
The technical indicator known as the Death cross occurs when the 50-day SMA crosses below the 200-day SMA => Bearish Signal.
An opposite indicator, known as the Golden cross, occurs when the 50-day SMA crosses above the 200-day SMA => Bullish Signal.
Crossovers are one of the main moving average strategies.
1st Strategy is the first type is a price crossover, which is when the price crosses above the sma => Buy signal
when the price crosses below the sma => Sell signal
2nd Strategy is to apply two moving averages to a chart: one longer and one shorter.
When the shorter-term MA (100) crosses above the longer-term MA (200), it's a buy signal, indicates trend is shifting up.
This is known as a "Golden cross."
Meanwhile, when the shorter-term MA (100) crosses below the longer-term MA (200), it's a sell signal, indicates trend is shifting down.
This is known as a "Dead/death cross."
The time frame or length you choose for a moving average, also called the "look back period," can play a big role in how effective it is.
An MA with a short time frame will react much quicker to price changes than an MA with a long look back period. In the figure below, the 20-day moving average more closely tracks the actual price than the 100-day moving average does.
A 20-day MA = more beneficial to a shorter-term trader, since it follows the price more closely.
A 100-day MA = more beneficial to a longer-term trader.
Moving averages work quite well in strong trending conditions but poorly in choppy or ranging conditions.
use this indicator along with Price action theory and not alone.
Moving average crossovers are a popular strategy for both entries and exits. MAs can also highlight areas of potential support or resistance
Happy Trading
MACD_trendtrader v2 (picte)This is an upgraded version of my MACD_trendtrader indicator.
UPGRADES:
- Histogram slope changes colors according to the direction of the slope.
- Panel that displays volatility of the asset. The volatility is measured from 0 to 100. Zero being the lowest and 100 the highest volatility. I also included different text colors for a certain volatility value (white= very low volatility, blue = low volatility, purple= high volatility, green= very high volatility)
It works well on all time-frames but i found it particularly useful on the lower time-frames for identifying pullbacks in a trending market.
It has been tested in the Forex and Traditional market.
MACD_trendtraderThis is my modified macd indicator. It uses moving averages to determine the trend of the market. It is best used on lower time frames such as 5min and 15min. I found it useful especially with Forex pairs and also traditional markets.
This indicator will help you get in at a pullback in a trending market.
RED background tells you the trend is down. A possible entry happens when you get a sell signal from the macd oscillator above the 0 line.
GREEN background tells you the trend is up. A possible entry happens when you get a buy signal from the macd oscillator below the 0 line.
a couple of examples:
Leave your feedback in the comments. Enjoy:)
Big Picture 50/200Crazy as this may sound, it took 126 iterations to get something so simple sone right.
Big Picture helps offload some longer-term SMA lines off your chart so you can clutter it up again with some other stuff. It works by comparing SMAs 50 and 200 in histogram form. If the histogram is over the zero-line, 50 is over 200, and vice versa.
The histogram is green when the slope rises, suggesting that 50 is rising relative to 200. When the histogram turns red, 50 is falling.
Some Heikin-Ashi inspired averaging helps smooth the line just a little to help give a better idea as to overall trend.
Fib Thermometer - S&P500Fib Retracement is such an amazing tool 😎 , and when u incorporate it onto a chart, no matter a forex , stock or future one, you will always secure some important and meaningful levels for your trading. I am not a huge fan of it actually 😵, but I would say it is an eye opener for me, because sometimes things don't fully make sense will make you money. I can't deny its popularity in our community and also in the trading world.
In this script, I am not intending to give a brand new version of auto drawing fib levels, but to catch the optimal timings to buy the upcoming rally after a crash 😊. Buying the dips is the approach to get rich , right? But more wisely, we can instead to buy the higher lows , not the lowest lows in order to avoid the bankruptcy risk. Nothing advanced to teach here, doing so just takes your extra patience and willingness to seek confirmation. 🕵
To cut it short, I have utilized 52-week highs and lows and two important fib levels (0.236 and 0.618) , with ten most heavily weighted stocks in s&p500 index to create some awesome signals. The rationale is first defining two fib levels with the 52-week-high-low range, then if those stocks rebounded just higher than 0.236 levels, we can confirm the trend has changed and start our buying . For the 0.618 level, you can use it as a profit taker , or a sell signal during the bull run. What decides a trend continuation or a trend change is the degree of the retracement , and 0.236 would be an ideal level to confirm the trend has changed.😃
For your own convenience, you can amend or diy the script to make it work for you by simply put your favorite stocks or indexes on the list. Hope you find it really helpful and HAPPY TRADING!!! 😃
If you find my scripts useful, please click the FOLLOW button and I am VERY VERY GRATEFUL.😘
eha MA CrossIn the study of time series, and specifically technical analysis of the stock market, a moving-average cross occurs when, the traces of plotting of two moving averages each based on different degrees of smoothing cross each other. Although it does not predict future direction but at least shows trends.
This indicator uses two moving averages, a slower moving average and a faster-moving average. The faster moving average is a short term moving average. A short term moving average is faster because it only considers prices over a short period of time and is thus more reactive to daily price changes.
On the other hand, a long term moving average is deemed slower as it encapsulates prices over a longer period and is more passive. However, it tends to smooth out price noises which are often reflected in short term moving averages.
There are a bunch of parameters that you can set on this indicator based on your needs.
Moving Averages Algorithm
You can choose between three types provided of Algorithms
Simple Moving Average
Exponential Moving Average
Weighted Moving Average
I will update this study with more educational materials in the near future so be informed by following the study and let me know what you think about it.
Please hit the like button if this study is useful for you.
eha Moving Averages StrategyMoving Average based strategies are very popular ones among both long-term investors and short-term traders as they can be tailored to any time frame. One of the main moving average strategies are crossovers. The very simple type is a price crossover , which is when the price crosses above or below a moving average to signal a potential change in trend.
Another strategy is to apply two moving averages to a chart: one longer (or slow) and one shorter (or fast). When the shorter-term MA crosses above the longer-term MA, it's a buy signal, as it indicates that the trend is shifting up (also known as “ Golden Cross ”). Meanwhile, when the shorter-term MA crosses below the longer-term MA, it's a sell signal, as it indicates that the trend is shifting down (which is also known as “ Dead/Death Cross ”).
This is a study to find a suitable trading strategy for 4-6 hour time frames. As you can see the performance is currently very poor. It has just generated almost 90 trades in a very long period from January 2017 to the time of publishing the study for the first time.
Moving averages work quite well in strong trending conditions but poorly in choppy or ranging conditions. Adjusting the time frame can correct this problem temporarily, although, at some point, these issues are likely to occur regardless of the time frame chosen for the moving average(s).
I am working on this basic strategy to make its performance better and I will update the post in the future. So keep in touch by following the post.
Why have I republished my study?
It sounds like TradingView stores and indexes scripts based on the title of the post rather than the actual title of the scripts and if one chose general terms as the title of the post, the TradingView script search engine may be unable to find it. So I decided to repost the strategy with a more searchable and unique prefix of " eha ".
Please provide me with your precious feedback.
Bitcoin Stock to FlowModeling Bitcoin's Value With Scarcity
The Stock to Flow model for Bitcoin suggests that Bitcoin price is driven by scarcity over time.
Bitcoin is the first scarce digital object the world has ever seen. It is scarce like silver & gold, and can be sent over the internet, radio, satellite etc. Bitcoin includes a mathematical mechanism to restrict its supply over time making it more rare as time goes on. Digital Scarcity.
In 2017 BTC exceeded the market capitalization of Silver. After the next halving in 2024, Bitcoin will become the hardest asset the world has ever seen, rarer than Gold.
There is only enough Bitcoin in the world for each person to own .0023 BTC. Because of this, Bitcoin's value should continue to rise over time.
DXY COT Commercial Net PositionsThis script was created due to the lack of position of US Dollar Index Futures (DXY).
It is designed to perform a much more liquid and inclusive position analysis.
As the exponential ratios do not mean anything to positions, weights are used as multipliers instead of exponential functions.
Swedish Krona (SEK) Futures are not directly quoted in Quandl, therefore weighted in Euro / dollar parity.
By perceiving these positions as inverse correlations, you can also identify where the world economy is doing well.
COT Commercial Net Positions are calculated as (Short - Long) because of Commercials act according to the reverse of the market.
In this way, you can follow up normally instead of reverse correlation.
Because except in extreme cases, in which case capitals usually shift to Gold.
This is not the case, since there is no capital inflow to other currencies, it is not a strong sell position to the dollar index.
When there is a shift in bonds, we see the effect of the dollar in general.
I created for the Dollar Index in order not to deviate from the concept.
I wanted to share it with everyone as I thought that you have important clues about how investors take positions.
Modified currency weights :
Euro : % 61.8
Japanese Yen : % 13.6
British Pound : %11.9
Canadian Dollar : % 9.1
Swiss Franc : % 3.6
NOTE : You can use it for all instruments except crypto coins, especially US Dollar Index (DXY).
Since the COT data is taken, it will not repaint in 1 week (1W) timeframe.
The log can also be repaint according to the time of data publication.
It will repaint in lower time frames.
I hope it will help your analysis and your scripts,regards.
BTC 1D Alerts V1This script contains a variety of key indicator for bitcoin all-in-one and they can be activated individually in the menu. These are meant to be used on the 1D chart for Bitcoin.
1457 Day Moving Average: the bottom of the bitcoin price and arguably the rock bottom price target.
Ichimoku Cloud: a common useful indicator for bitcoin support and resistance.
350ma fibs (21 8 5 3 2 and 1.6) : Signify the tops of each logarthmic rise in bitcoin price. They are generally curving higher over the long term. For halvening #3, the predicted market crash would be after hitting the 350ma x3 fib. Also the 350 ma / 111 ma cross signifies bull market top within about 3 days as well. Using the combination of the 350ma fibs and the 350/111 crosses, reasonably identify when market top is about to occur.
50,120,200 ma: Common moving averages that bitcoin retests during bull market runs. Also, the 50/200 golden and death crosses.
1D EMA Superguppy Ribbons: green = bull market, gray is indeterminate, red = bear market. Very high specificity indicator of bull runs, especially for bitcoin. You can change to 3D candle for even more specificity for a bull market start. Use the 1W for even more specificity. 1D Superguppy is recommended for decisionmaking.
1W EMA21: a very good moving average programmed to be shown on both the daily and weekly candle time. Bitcoin commonly corrects to this repeatedly during past bull runs. Acts as support during bull run and resistance during a bear market.
Steps to identifying a bull market:
1. 50/200 golden cross
2. 1D EMA superguppy green
3. 3D EMA superguppy green (if you prefer more certainty than step 2).
4. Hitting the 1W EMA21 and bouncing off during the bull run signifies corrections.
Once a bull market is identified,
Additional recommended buying and selling techniques:
Indicators:
- Fiblines - to determine retracements from peaks (such as all time high or recent highs)
- Stochastic RSI - 1d, 3d, and 1W SRSI are great time to buy, especially the 1W SRSI which comes much less frequently.
- volumen consolidado - for multi exchange volumes compiled into a single line. I prefer buying on the lowest volume days which generally coincide with dips.
- MACD - somewhat dubious utility but many algorithms are programmed to buy or sell based on this.
Check out the Alerts for golden crosses and 350ma Fib crosses which are invaluable for long term buying planning.
I left this open source so that all the formulas can be understood and verified. Much of it hacked together from other sources but all indicators that are fundamental to bitcoin. I apologize in advance for not attributing all the articles and references... but then again I am making no money off of this anyway.
SMA 20, 50, 200This Script provides the 50 and 200 day moving average to provide a way to keep track of the classic Death Cross and Golden Cross. The 20 day moving average is just used as an early prediction of what the 50 day may do so you can keep and eye on it. If you are the kind of person that freaks out at sudden changes in the graphs it is probably best to just turn the 20 day off.
A Golden Cross is when the 50 day MA raises above the 200 day MA. This indicates the start of a Bull Market. This is the best time to buy as the market commonly will increase over the next few months or even years.
A Death Cross is when the 50 day MA drops below the 200 day MA. This indicates the start of a Bear Market. This is the best time to sell as the market will commonly decrease at least 20 percent or more over the next couple months or more.
I am not a financial advisor and this is just a tool to help you make your own decisions with your investments. My information is just based on common knowledge.
dmw_3SMACross3 SMA set to 5 10 20 used to find the crossing points for pattern reversals or breakouts.
Lysergik's Stochastic SynergyThis indicator shows the average Stochastic RSI output of the 15m, 1h, 2h, 4h, and Daily Stochastic RSI. It will change in its behavior depending on the time-frame you're using, but for many markets it works best on the 30m time-frame and the daily time-frame.
It is best used along with Lysergik's Fib Cross, which will allow you to avoid false signals in the stochastic synergy indicator. If your MA cross (50, 200) indicates a direction change opposite of the stochastic RSI synergy indicator then that is a signal to wait for more price action to determine your entry/exit points.
Using the Lysergik's Fib Cross, the same applies, but remember that a golden cross (white cross symbol) followed directly by a golden ratio cross (gold cross symbol) is even further indication that the stochastic RSI needs more breathing room before reversing.
This indicator is fully adjustable for you to back-test against charts and refine the indicator to your market.
The inputs in respective order are as follows:
RSI Length, Stoch Length, Smooth K, Smooth D, Upper Limit, Lower Limit, Basis
Enjoy and remember only make trades on your own terms.
Happy trading/investing! :)