Triple Moving Average & Elder ImpulseThis is an updated version of my previous Triple Moving average script.
This one plots 3 moving averages + Elder impulse system.
The user has an option to choose from EMA or SMA.
User can also choose the length and source for moving averages.
The user also has an option to turn ON/OFF the use of the Elder impulse system.
All this utilizing the space for a single indicator. This is especially helpful for free users with a limit of only 3 indicators per chart.
This way you can add the 4 above + 2 more indicators of your choice.
Hope it helps.
简单移动平均线(SMA)
Ultimate Moving Average Package (17 MA's)Included is the:
VWAP
Current time frame 10 EMA
Current time frame 20 EMA
Current time frame 50 EMA
Current time frame 10 SMA
Current time frame 20 SMA
Current time frame 50 SMA
Daily 10 EMA
Daily 20 EMA
Daily 50 EMA
Daily 50 SMA
Daily 100 SMA
Daily 200 SMA
Weekly 100 SMA
Weekly 200 SMA
Monthly 100 SMA
Monthly 200 SMA
All Daily/Weekly/Monthly MA's can be seen on intraday charts. Current time frame MA's change depending on your time frame. Obviously you dont need all 17 on your chart but you can pick the ones you like and disable the rest.
ck - 10 MA Combo (5 EMAs, 5 SMAs)Yet another MA and EMA indicator.
These are my favourite presets & colour combos for Tradingview Dark Theme.
Enjoy!
Triple Moving AverageSimple indicator combining up to three moving averages. Uses simple moving average (SMA) and exponential moving average (EMA).
Dual Moving AverageBasic dual moving average indicator supporting both simple moving average (SMA) and exponential moving average (EMA).
Multiple Moving AveragesThis is an indicator with 4 moving average slots and 6 exponential moving average slots
It also has bollinger bands and a volume weighted moving average slot
Feel free to edit this and add/remove some and publish your own
BurgerCrypto.com: MA based band for bitcoin cycle highs&lowsWarning: This script works only on a daily chart and only works for bitcoin charts with a long history. Best to be used on the BLX chart as it goes back to July 2010.
This script shows you the Moving Average with the length of a full bitcoin cycle, in which a cycle is defined as a period between two reward halvings; i.e. 210.000 blocks.
After data analysis in Python, I found that the average inter arrival time is a bit lower than the often communicated 10minutes; it's 9.46minutes, which makes the 210.000 block interval equal to 1379days.
The 1379d Moving Average seems to serve well as a support for the price of bitcoin over time and it's 4th 2^n multiple did a good job in catching the cycle tops.
If you like this indicator, please leave some claps for the Medium article in which I introduced this indicator:
medium.com
EMA / SMA MultiCombo 3.0 All the moving averages you'll ever need!!!
5 EMAs
5 SMAs
3 static EMAs
3 static SMAs
Static EMAs and SMAs are shown on every timeframe. For example, you can set static EMAs or SMAs to show 21 day EMA on 1 hour chart or for example 50 week SMA on 1 day chart, or 200 4 hour EMA on 5 minute chart and so on, possibilities are endless!!! Plus standard 5 EMAs and 5 SMAs (user-defined) are showing for specific chosen timeframe. No need to show them all, just check how many you want.
Skipz multi-indicatorMaking my own indicator pack based on several indicators used by my mentors.
Would love feedback
VWAP + SMA + EMA3-in-one indicator, for swing and intra-day trading, which includes
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Volume-Weighted Average Price (VWAP)
Crypto Investidor EMA e MA Crypto Investidor EMA e MA consiste em um conjunto de 4 EMAs de 21 / 50 / 100 / 200 períodos e também 4 MAs de 21 / 50 / 100 / 200, criado para facilitar o entendimento dos nossos seguidores, a ponto de poder verificar no gráfico tanto as Medias Móveis Exponenciais, quanto as Medias Móveis Simples. Um excelente indicador para quem utiliza o tradingview free.
Double 7's StrategyStrategy described in the book "Short Term Trading Strategies that Work", written by Larry Connors and Cesar Alvarez.
It is the simplest strategy I know and has only 3 rules:
- Price must be above the arithmetic moving average of 200 periods.
- Buy when the price closes below the closing of the last 7 days.
- Sale when the price closes above the closing of the last 7 days.
Simple as it may seem, this strategy works very well in some stocks and/or graphical times (in some stocks it overcomes many RSI 2 strategies). It was developed for the daily chart and does not usually work well on weekly or monthly charts, but can be used for day trades if the back-test proves to be favorable.
If you want, you can change the input and output rules by setting other values for the input or output period and thus find more positive results for specific stocks.
There is no stop loss because in tests the stop loss usually reduces the gains of the strategy.
Good luck and good trades.
================================
Estrategia descrita no livro "Short Term Trading Strategies that Work", escrito por Larry Connors e Cesar Alvarez.
É a estratégia mais simples que eu conheço e tem apenas 3 regras:
- Preço deve estar acima da média móvel aritmética de 200 períodos.
- Compre quando o preço fechar abaixo do fechamento dos ultimos 7 dias.
- Venda quando o preço fechar acima do fechamento dos ultimos 7 dias.
Por mais simples que pareça, esta estratégia funciona muito bem em alguns papeis e/ou tempos gráficos (em alguns papeis a mesma supera muitas estratégias pelo IFR2). A mesma foi desenvolvida para o gráfico diário e normalmente não funciona muito bem em gráficos semanais ou mensais, mas pode ser utilizado no intraday caso o backtest se mostre favorável.
Caso você queira, é possível alterar a regra de entrada e saída definindo outros valores para o período de entrada ou saída e assim encontrar resultados mais positivos para cada papel.
Não existe stop loss pois nos testes normalmente o stop loss reduz os ganhos da estratégia.
Boa sorte e bons trades.
Pinescript v3 Compatibility Framework (v4 Migration Tool)Pinescript v3 Compatibility Framework (v4 Migration Tool)
This code makes most v3 scripts work in v4 with only a few minor changes below. Place the framework code before the first input statement.
You can totally delete all comments.
Pros:
- to port to v4 you only need to make a few simple changes, not affecting the core v3 code functionality
Cons:
- without #include - large redundant code block, but can be reduced as needed
- no proper syntax highlighting, intellisence for substitute constant names
Make the following changes in v3 script:
1. standard types can't be var names, color_transp can't be in a function, rename in v3 script:
color() => color.new()
bool => bool_
integer => integer_
float => float_
string => string_
2. init na requires explicit type declaration
float a = na
color col = na
3. persistent var init (optional):
s = na
s := nz(s , s) // or s := na(s ) ? 0 : s
// can be replaced with var s
var s = 0
s := s + 1
___________________________________________________________
Key features of Pinescript v4 (FYI):
1. optional explicit type declaration/conversion (you still can't cast series to int)
float s
2. persistent var modifier
var s
var float s
3. string series - persistent strings now can be used in cond and output to screen dynamically
4. label and line objects
- can be dynamically created, deleted, modified using get/set functions, moved before/after the current bar
- can be in if or a function unlike plot
- max limit: 50-55 label, and 50-55 line drawing objects in addition to already existing plots - both not affected by max plot outputs 64
- can only be used in the main chart
- can serve as the only output function - at least one is required: plot, barcolor, line, label etc.
- dynamic var values (including strings) can be output to screen as text using label.new and to_string
str = close >= open ? "up" : "down"
label.new(bar_index, high, text=str)
col = close >= open ? color.green : color.red
label.new(bar_index, na, "close = " + tostring(close), color=col, textcolor=color.white, style=label.style_labeldown, yloc=yloc.abovebar)
// create new objects, delete old ones
l = line.new(bar_index, high, bar_index , low , width=4)
line.delete(l )
// free object buffer by deleting old objects first, then create new ones
var l = na
line.delete(l)
l = line.new(bar_index, high, bar_index , low , width=4)
[M10] Quad MA Trend ScalperFour adjustable moving averages set in order to produce buy and sell signals, works best on smaller timeframes from my backtesting, 10M - 30M seems optimal for scalping.
The idea behind this script is to only enter positions that are following the trend in order to minimise drawdown and decrease risk when using leverage.
The script will only enter long positions when MA crossover occurs above the Long MA 2.
The script will exit a long position when MA Short crosses below Long MA 1.
The script will only enter short positions when MA cross under occurs below the Long MA 2.
The script will exit a short position when MA Short crosses below Long MA 1.
VWMA/SMA Breakout and Divergence DetectorThis indicator compares four different values :
-Fast Simple Moving Average(SMA)
-Fast Volume Weighted Moving Average(VWMA)
-Slow SMA
-Slow VWMA
Comparing SMA's and VWMA's of the same length is a common trading tactic. Since volume is not taken into consideration when calculating Simple Moving Averages, we can gain valuable insights from the difference between the two lines.
Since volume should be increasing along with an upwards price movement, the VWMA should be greater than the SMA during a volume-supported uptrend. Thus, we can confirm an uptrend if the VWMA remains greater than the SMA. If the VWMA falls under the SMA in the midst of an upwards price movement, however, that indicates bearish divergence. The opposite is true for downtrends. If price is decreasing and volume is decreasing at the same time (as it should), then we can confirm the downtrend.
Interpreting the Graph:
If the slow SMA is greater than the slow VWMA, then the area representing the difference between the two lines is filled in red. If the slow VWMA is greater than the slow SMA, however, the area between the two is filled green.
If the fast SMA is greater than the fast VWMA, then the area between the two dotted lines is filled in red. On the other hand, the area will be filled green if the fast VWMA is greater than the slow SMA.
In addition to spotting divergences and confirming trends, the four lines can be used to spot breakouts. Typically, a VWMA crossover will precede the SMA crossover. When the fast VWMA crosses over the slow VWMA and then a SMA crossover follows shortly after, then it is a hint that a bullish trend is beginning to form.
3-day Death/Golden CrossBased on Crypto Crew University youtube video, "Emergency Update: New Bitcoin GOLDEN Cross Emerges (btc crypto live news market price today 2019 ta" (19 June 2019), comparing 2015 and 2018 bull runs.