Angelleal Trading Suite v0.2.0This script is built to condense the main indicators or levels i use for my strategy.
Support & Resistance
Draws the support and resistance levels on the current timeframe, with labels for the latest S/R formed.
The levels change color to reflect a role reversal depending on price action.
The number of bars used to confirm the formation of a new S/R level are configurable, but the default values are:
30 bars to check before a new level
15 bars to check after a new level
5 bars used for early detection
Moving Averages
The script uses 3 Moving Averages to calculate trend direction and posible dynamic supports and resistances for the trend.
Aditionally a couple of bands are drawed around the Medium Length moving average in conjuction with the ATR to account for
the volatility of the instrument.
The default values for the moving averages are:
Short MA Length - 7
Medium MA Length - 30
Long MA Length - 360
ATR Multiplier for narrow band - 1.2
ATR Multiplier for wide band - 3.6
Note: Most of the default values are set taking into account the Daily timeframe and natural divisions in it such as weeks, months and years. These values work well in other timeframes but might be adjusted
to get a better fit to the desired market and timeframe
المتوسط المتحرك البسيط
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.
SMA Stochastic ForecastThis tool uses a discrete-time non-Markovian Martingale stochastic process (Please do not confuse with the strategy of the same name) under the hood to forecast a future (up to 28 bars, customizable) behaviour of the Simple Moving Average. The longer the average period, the more accurate the forecast.
The common cases are the next:
You can apply two instances of this indicator to your chart to obtain a crossover forecast
You can decrease an interval between forecasts to obtain a bunch of possible traectories
Decreasing a forecast interval for two instances, you will get the Kraken
This is the further improvement of my research work on forecasting
Mr. @syrinxflunki was the only one who provided a clear and useful feedback after testing, so he get a free lifetime access. I respect a fair play.
If you have any questions you can concat me via private messages.
Good luck.
EMAS Signal DXHello all,
Vs2 of EMAS Signal Double Cross indicator that plots 5 EMA lines and 4 SMA .
Features:
-Signals are represented visually as a triangle on the chart.
-Also represented visually as bar color on the chart.
-When SMA and EMA 1 cross - a Long signal is called if SMA cross above EMA 1, a short if the cross is below EMA 1.
-When EMA 2 and EMA 3 cross - a Long signal is called if EMA 2 cross above EMA 3, a short if the cross is below EMA 3.
-You can activate and deactivate the triangles and the color of the bars.
That’s it, happy pips!
Ultimate Average 3.0Purple = Actual average price over total timeframe.
Other lines are factors above the actual average.
A pattern emerges where the purple is hit, then a parabolic rise to the blue top, then the a drawback down to the orange, then parabolic, then drawback to yellow, then parabolic to blue, then a reset back to the purple line.
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.
Moving Averages + VWAPA moving average (MA) is a widely used indicator in technical analysis that helps smooth out price action by filtering out the “noise” from random short-term price fluctuations. It is a trend-following, or lagging, indicator because it is based on past prices.
The two basic and commonly used moving averages are the simple moving average (SMA), which is the simple average of a security over a defined number of time periods, and the exponential moving average (EMA), which gives greater weight to more recent prices.
The most common applications of moving averages are to identify the trend direction and to determine support and resistance levels.
Script includes
4 EMA
5 EMA
8 EMA
9 EMA
13 EMA
20 EMA
20 SMA
21 EMA
34 EMA
50 EMA
50 SMA
55 EMA
200 SMA
The volume weighted average price (VWAP) is a trading benchmark used by traders that gives the average price a security has traded at throughout the day, based on both volume and price. It is important because it provides traders with insight into both the trend and value of a security.
VWAP + VWAP bands
Adaptive Moving AveragesThis script is able to adaptively show different moving averages, depending on the timeframe.
The default values are:
-8 weekly EMA
-20,50,100 and 200 SMA
-4 hourly 50 EMA
-Hourly 50 EMA
-15 minutes 20 SMA
These moving averages are the ones I use the most, and were originally covered in a video by Financial Freedom (Nasir Jones) called " HOW TO USE MOVING AVERAGES- BTC CASE STUDY" (Highly recommended).
Feel free to change the default values. Also, if you don't want to show certain moving averages, go to style and just untick the visibility checkbox of the ones you don't want to see.
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.
SMA X RSI - by @CryptoMrDavis -Another script that might be useful for your trading setup.
It use RSI and two SMA's.
Happy trading
+++ use this tool on your own risk. i'm not responsible for your loses +++
Show some ❤
____________________________________________________________________________
BTC: 1GVRDK3HHr9CKM5SF2CGpCNXFuavB3L4j9
ETH: 0x7b825fa752b9926D3E8397cDb1d9E5473D074646
XMR: 41zL2SQS7zyZmwXKng2TeUWsMi5vMmkgSdDCjULUTvM6ichwm1E2ZDEYGt56zk9ghoM9bekhjycSwa8amtTcB2JiUet5jtg
NEO: AXja5xPDhczfm2ujHyBfpkQAAnMsXsazmb
ZEC: zcZzFkRx95cp7MtuW8wLhC5zz5RYF9QkT2uPPmhZZHc6ppXepHGgCSeAS1rtD6WFdqsM5p1gZm2gfirnrnviucsdP4aCpqU
XLM: GAXUQJSW55C7MAC4GI26NZUGIKSHFDVFRFKZCXPLMPY4HCADSDT55XK6
WAVES: 3PCMkNpMHxSraTCkwV1ENcBKa9sXbVCGjQX
BCH: qz57n04ud6mn42u00aymqkku8tfh0lk4jv9c28mjvv
____________________________________________________________________________
++++ cryptotradingresource.com ++++
____________________________________________________________________________
(ง ͠° ͟ل͜ ͡°)ง Larry Connors RSI-2 Scalping StrategyMore info here:
stockcharts.com
and here:
systemtradersuccess.com
Very interesting and simple scalping strategy with unbelievable results.
I added 4 versions that combines only the RSI OB/OS thresholds.
Also the single variable that you can change is the RSI, sometimes RSI 3 or RSI 4 works better then the original.
Also his exit point is not quite good in these days, so I added TP and SL to adjust it according to the market conditions.
Added re-entries.
It works in any time frame, so play with the TF, RSI and with all 4 variants until it fits to your needs.
Enjoy!
Zekis
EMAS Signal Double CrossHello all,
This is a simple indicator that plots 5 EMA lines and 1 SMA .
Signal of crossing SMA with EMA , signal of crossing EMA with EMA .
Features:
-Signals are represented visually as a triangle on the chart.
-Also represented visually as bar color on the chart.
-When SMA and EMA 1 cross - a Long signal is called if SMA cross above EMA 1, a short if the cross is below EMA 1.
-When EMA 2 and EMA 3 cross - a Long signal is called if EMA 2 cross above EMA 3, a short if the cross is below EMA 3.
-You can activate and deactivate the triangles and the color of the bars.
That’s it, happy pips!
---------------------------------------------------------
Hola a todos,
Este es un indicador simple que grafica 5 líneas EMA y 1 SMA .
Señal de cruce SMA con EMA , señal de cruce EMA con EMA .
Caracteristicas:
-Las señales se representan visualmente como un triángulo en el gráfico.
-También se representa visualmente con color de barra en el gráfico.
-Cuando SMA y EMA 1 se cruzan: se coloca una señal larga si la SMA se cruza de abajo hacia arriba de la EMA 1, un corto si el cruce está de arriba hacia abajo de la EMA 1.
-Cuando EMA 2 y EMA 3 se cruzan: una señal larga se coloca si la EMA 2 cruza de abajo hacia arriba la EMA 3, un corto si el cruce está de arriba hacia abajo de la EMA 3.
-Puede activar y desactivar los triángulos y el color de las barras.
¡Eso es todo, felices pips!