EMA Cross CloudSimple ema cross trading alerts, completely customizable fast and slow crossovers with rendered cloud.
This cross indicator attempts to filter counter trend trades by added additional ema market and if crossunder/over occurs opposite of ema market the cloud will turn gray, otherwise if it's with the overall trend then red/green.
The last ema is a trailing stop guideline that is rendered with yellow crosses, could also utilize other stops such as the top or bottom of the cloud.
Alerts are baked in for ema crosses, trend breaks into stops.
Crosses
Vix FIX / Stochastic Weights StrategyThis script is based off of Chris Moody's Vix Fix Indicator modified by OskarGallard and BigBitsIO's Stochastic Weights.
This script is a compilation of several different stochastic indicators (and RSI ) where the K value of each indicator is equally weighted. The purpose of the indicator is to combine many indicators together in a fashion that weights them easier. By default, the Stochastic and Stochastic RSI are both enabled - the idea is to speed up the relatively slower Stochastic and to slow down the relatively fast Stochastic RSI . BigBitsIO's Stochastics are also available that can also be added to the weighted calculation. Only the K value is weighted, as the D value is just a moving average of the weighted K.
- Why is this modifed stochastic useful?
- To weight multiple indicators together so that you can attempt to find optimal values shared amongst the indicators. Ex: If Stochastic RSI is 100 and Stochastic is 50, K would be 75 and not particularly high. If you add in a 50 RSI , the K would be 67 in this example. If we weight indicators together that all have a high value they could potentially help find elements that align together to produce a stronger signal.
In this script we have the red "S" triangles which are Exits (overbought stochastic crosses).
Added alerts for stochastic exit signals. Alerts are Pre-Set to only Alert on Bar Close.
The "Williams Vix Fix" is one of the most reliable indicators in history for finding market bottoms. The Vix Fix is simply a code from Larry Williams creating almost identical results for creating the same ability the Vix has to all assets.
The VIX has always been much better at signaling bottoms than tops. Simple reason is when market falls retail traders panic and increase volatility , and professionals come in and capitalize on the situation. At market tops there is no one panicking... just liquidity drying up.
The FE green triangles are "Filtered Entries".
The AE green triangles are "Aggressive Filtered Entries".
Added Alerts to Williams Vix Fix (Aggressive Entry and Filtered Entry). Alerts are Pre-Set to only Alert on Bar Close.
Added "Ehlrers StochCCI" indicator of user @glaz
The Ehlrers StochCCI is a variation of Ehlers Stochastic RSI replaced with CCI.
The John Ehlers' article in August, 2006, "Modeling The Market = Building Trading Strategies," describes a process for extracting trend and cyclic elements from market data, then recombining them for trading purposes. He used the Stochastic RSI denoted the cyclic elements.
Added ability to show Dots when StochCCI Crosses.
Sell: fuchsia dots.
Buy: green dots.
Added alerts for (Buy / Sell) StochCCI. Alerts are Pre-Set to only Alert on Bar Close.
DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB.
Ema Crosses nklassEs un simple indicador de cruces con EMAs, de 11, 22, 50 y 200 periodos.
En un intervalo de velas diarias se obtienen las mejores señales, pero funciona bien para 4h y 15min tambien, recomiendo operar con los cruces de mayor probabilidad por encima y por debajo de la ema200, por debajo solo entradas en CORTO, y por encima solo entradas en Largo, luego de una señal se puede obtener un mejor Riesgo Beneficio si se espera a un posible test del ema 50, y se entra luego de un cierre de vela por por fuera de la ema 11, dandote un buen punto para el stop loss. Recomiendo utilizarlo basandose en zonas de soporte y resistencia de marcos temporales mas altos y teniendo en cuenta posibles divergencias en RSI al igual que su posicion en el momento de entrar al mercado.
MA VisualizerThe MA Visualizer is made up of 5 Moving Averages (MA)
All MA change color when the price closes above or below the MA line.
The background between the MA line and price will also change color, this creates the Visualizer.
When two or more MA are selected the two visualizer's will combine and create a gradient effect.
Each MA can be adjusted with 6 source selection's to choose from (SMA , EMA , WMA , HMA , RMA , WVMA).
The Visualizer can be turned off while leaving the MA lines turned on and vice versa.
Their is also a MA Cross indicator built-in.
OptionsMillionaire SPY Moving Averages and Signalsby ColeJustice
OptionsMillionaire's SPY Options trading system is based mainly on these indicators:
- 8 EMA*
- 21 EMA*
- 100 SMA*
- 200 SMA*
- MACD
- RSI
- Squeeze Momentum
(*provided by this indicator)
and follows these rules:
|
| 1) I never fight the trend. If its green, i buy calls. If its red, i buy puts. I will only buy puts on a green day if there is a overall change in market trend. Inversely, calls on a red day
| 2) Price action is my #1 indicator. I wait for it to confirm my thesis before i enter a trade
| 3) I only trade SPY Options
| 4) My baseline is to choose a call/put that has a DTE (Date To Expiration) 6-7 days out, with a strike $2-$3 away. I adjust that to fit my current appetite for volatility. i virtually never play same day DTE's.
| 5) I set a 10% stop, but usually exit at 8% before my stop triggers depending on current situation
| 6) I utilize about 10-20% of my Portfolio for one trade. Sometimes more. Rarely less.
| 7) I never hold overnight in these market conditions.
| 8) I shoot for 10-20% for gains. Depending on market conditions.
| 9) Always look for confirmations in your indicators.
| 10) I never force a trade. No trade is a good trade too if the entry just isn't there.
| 11) Patience always pays off. A great set-up can form in minutes or seconds. I never regret being patient to enter. I nearly always regret rushing into a trade.
|
This indicator combines the moving averages into a single unit to simplify one part of the indicator usage rules: the 8 EMA / 21 EMA Cross. . The 8 crossing over the 21 is a Bullish signal, while the 8 crossing under the 21 is a Bearish signal. This indicator places flags at these crossover/under points, as well as shading the area between the 8 and 21 EMAs to help visualize the strength of the trend; green during a Bullish cross, and red during a Bearish cross.
A new addition to this strategy is the Hull Moving Average, or HMA. This script defaults to an HMA of 20 and shows alerts when candles close above or below the plot in the form of green and red candle backgrounds. This alert is best used in conjunction with the main crossovers and should be considered an addition level of confidence rather than providing trade entry/exits directly. This indicator is more flexible and you should feel free to adjust the period if you find a different value works better within your own personal trading style.
Each individual element of this indicator can be modified or toggled, providing maximum customization. While you should strive to become comfortable with the default settings, these options are provided in case you feel the need to adjust for your own style (or if testing on tickers other than SPY, for example).
Goodluch, and happy trading!
EMA Cross LevelsCalculates fast and slow moving averages of lengths(inputs= 'n_fast', 'n_slow').
Plots the price level of the most recent cross. If bullish cross (fast crosses up over slow), color = green, and color=red if cross was bearish.
WaveTrend [LazyBear] vX by DGTDGT interpreted version of LazyBear's WaveTrend, visualizing on Price Chart
Original Author : LazyBear
Crosses above or below threshold are emphasized with bigger labels
- crosses above threshold : probable short indications with a bigger label and relativly small label for probable long indications
- crosses below threshold : probable long indications with a bigger label and relativly small label for probable short indications
All rest crosses within threshold boundaries with relatively small labels for both long and short probable indications
WMA/LSMA - Simplified CalculationsLots of moving averages are based on a weighted sum, the most common ones being the simple (arithmetic) and linearly weighted moving average. The problems with the weighted sum approach is that when your moving average is a FIR filter then the number of operations increase with higher values of length, and when the weights are based on a complex calculation this number of operations can increase drastically!
For the common technical analyst the calculation time of moving averages can be an insignificant factor, even more when using higher time frames, however its always a good practice to seek better performances. The SMA has already a calculation where the number of operations is independent of its length, as such it can be easy to do the same for the linearly weighted moving average (WMA). This post will describe the process toward calculating a simple and efficient WMA which will then be used to provide an efficient calculation of the least squares moving average (LSMA).
Carving Impulses Responses
Remember that impulses responses fully describe the properties of moving averages, the impulse response of the WMA is a linearly decreasing function, so we'll try to calculate it without using a weighted sum. We first need to use a cumulative sum, the cumulative sum can be described as a summation from the first element of a series to the n th element of the series, where n is the current bar number, one could say that this operation is actually super inefficient, however this is not the case, as a cumulative sum can be calculated recursively as follows:
y = y + x
The cumulative sum can be described as an amplifier and posses the following impulse response:
Once the cumulative sum receive the impulse signal as input the result will always be equal to 1. This will form the basis of our simplified calculation, all we need to do transform this response into a linearly decreasing one. The full process is as follows:
Get the impulse response of the cumulative sum
Subtract this response from a linearly increasing impulse response of size length
Normalize the result such that the sum of the resulting response is equal to 1
We need a linearly increasing response of size length , this can be done by using a running sum of the original cumulative sum response, however we must make sure that the value of this response is 0 when the one of the cumulative sum is first equal to 1. Because the resulting response as a maximum value of length we need to multiply our cumulative sum response with length , then we proceed to subtraction.
Finally we need to normalize the result, the sum of a linear sequence of values starting at 1 and ending at n is given by the explicit formula : n(n+1)/2 , which in our case give length*(length+1)/2 , we divide our previous response with this result and we end up with the impulse response of a WMA. This process can be graphically described as follows:
We can then replace the impulse function by the closing price in order to get the WMA of the closing price.
Advantages And Disadvantages
The big advantage of this calculation is its efficiency, in its non functional form (you can see it in the code) the calculation of the WMA only require 9 operations regardless of the value of length against length*2 + 4 for the weighted sum approach, as such both methods are equally efficient in terms of operations as long as the length of a standard WMA is inferior to 3, which is ridiculous, as such our approach is more appropriate.
Another advantage is that Pinescript does not allow for series as length arguments in the WMA function, however here we can have a variable length for the WMA.
Of course there are disadvantages to this approach, in terms of code we require more variables for the non functional form, which create a lengthier scripts. Another disadvantage is that we can be prone to rounding errors due to the cumulative sum, however they shouldn't be significants in our case.
Getting The Least Squares Moving Average
The LSMA is one of my favorite moving averages, and it can derived from a linear combination between the WMA and SMA described as follows : 3WMA - 2SMA. Since we proposed an alternative calculation of the WMA we can then calculate the LSMA without even using the SMA, why ? because the SMA can be calculated by computing the changes over length period of the cumulative sum of an input, this result is then divided by length .
Remember that the impulse response of a cumulative sum is just a rectangular function, all we need is to truncate it such that only length values of the response are equal to 1, this is done thanks to the change function in Pine.
In Summary
A more efficient calculations for both the WMA and LSMA have been presented, while this on itself isn't super important you have learned what is the process toward calculating a filter without relying on a weighted sum.
This calculation will soon be included in the Pinecoders script allowing series as length argument.
Thank you for reading, your interest is always appreciated !
7EMA_5MA (G/D + Bias + 12/26 Signal)This script alow you to survey multiple crossing signals as Golden/Death cross (MA50/200), Institutional Bias (EMA9/18), or EMA 12/26 crossing. You can show/hide all EMAs/MAs and show/hide all signals. Default config displays EMA 50/100/200 and MA 20. Full script includes display of EMA 9/18/12/26/50/100/200 and MA 20/21/50/100/200.
Open Close Cross Alerts NoRepaint Version by JustUncleLThis is a Non Repaint version of my ever popular "Open Close Cross Alert R6 by JustUncleL" and is normally used in conjunction with my strategy script "Open Close Cross Strategy NoRepaint Version by JustUncleL", to provide alerts for the TradingView Alarm subsystem.
Open Close Cross Strategy NoRepaint Version by JustUncleLThis is a Non Repaint version of my ever popular "Open Close Cross Strategy R5 revised by JustUncleL". After many comments/PMs on repainting issues of the original script, I decided to create this Non Repaint version for those that require non-repainting signals. Backtesting performance will not be as good as the repaint version, but some script maybe still useful as there are many options that can be adjusted.
Turbo TriggerSome Words
This indicator is a collaboration between me and Himeyuri, i encourage you to check her profile and follow her www.tradingview.com
Introduction
A lot of indicators include a "trigger" line, it can be a smoothed version of another input, in this case the trigger will generate signals from his crosses with the input. The purpose of this indicator is to provide a fast trigger line to generate earlier signals as well as avoiding some whipsaw.
The Indicator
There are two lines, a bull line (blue) and the trigger (orange) , when the trigger cross over the bull line a buy signal is generated, when the trigger cross under the bull line a sell signal is generated. The trigger is made from the smoothed difference between the bull and bear line.
smooth control the smoothness of the output. The Bull/Bear Mode is an idea proposed by Himeyuri that involve plotting the bear line instead of the trigger.
Bull/Bear Mode, the lines are somewhat asymmetrical from each others.
Conclusion
We have showcased a new indicator who use a really fast trigger line to generate earlier signals, if some are way to earlier you can still increase smooth in order to correct reactivity. I hope you find a use to it.
Thanks for reading !
A big thanks to Himeyuri who is a great student and great pinescripter.
10/5 Weekly/Daily EMAs with ConfirmationsPlots Daily and Weekly 10 & 5 EMAs (but fully customizable to your own).
In addition to plotting the EMAs it color coordinates trend bias and has cross confirmation signals.
Philosophy and how to read:
I use this indicator when trading strictly on the daily timeframe. I have not tested it on other timeframes.
In my trade system I start with both the monthly and weekly charts to define overall bias.
Here’s the general rule of thumb.
10 EMA is direction (bias) and 5 EMA is price.
If 5EMA is below 10EMA there is a bear bias. If 5EMA is above 10EMA there is a bull bias.
This indicator will plot both the daily and weekly 10 & 5 EMAs.
It will also color code the background based on how these EMAs relate to each other.
Light red typically is just the daily is confirmed bear (typically because it could be either or)
Dark red, both daily and weekly in confirmed bear.
Light green, typically just daily is confirmed bull (typically because it could be either or)
Dark green, both daily and weekly in confirmed bull.
In addition to background highlight there is confirmation crosses.
The daily confirmation cross is default yellow triangle.
Down triangle is 5 crossing the 10 downward.
Up triangle is the 5 crossing the 10 upward.
The weekly confirmation is the same only is aqua color.
Generally, on a color change you want to see one or both confirmation in the direction of the bias change.
If you only want to plot the daily bias in the options unclick the setting: Include Weekly Background Plotting. Unclicking this will remove the background coloring for the weekly bias. This might be helpful if you only want to see the strength of what the weekly timeframe is telling you.
Also, I’m primarily a trend trader but I also do have a reversal system I trade with lower R:R parameters.
A good reversal confirmation signal I’ve noticed is the instrument that you are trading should go through a cycle of light color to dark color.
You could also create alerts with this indicator based on just signals. When the signal fires the value will be 1.
Future Updates:
I want to find some way to correlate the distance between these EMAs to enhance the signal. Also to include a velocity component. Plus a few more things.
If you like this indicator please like and leave a comment down below.
5 EMAs plus Crossing AlertsHi all,
This is a simple indicator that plots 5 EMA lines of your choice to the screen.
Can be used to trigger scalping Bots (stoploss around 0.5% recommended, take profit 1% or higher, please backtest!)
Also can be used for manual scalping, 1 or 2 candles at a time.
Features:
1) Alerts are triggered when EMAs 1 (Signal line) and 2 (Baseline) cross - a Long signal is called if the cross is above EMA 3 (Trendline), a short if the cross is below EMA3
2) Signals are represented visually as a triangle on the chart, below the candles is a long, above is a short
3) TradingView Alerts can be easily set as I have labelled the signals clearly as many other Indicators like this aren’t easy to work out if trying to create alerts to trigger a 3commas bot, for example!
Each EMA is fully customisable and if you wish to take advantage of the alerts, only a few simple rules need to be followed:
EMA1 needs to be less than EMA2.
EMA2 needs to be the same or greater than EMA3
That’s it, happy trading!
Big shout out to B and the gang over at Crypto Trading Group!
Open Close Cross Alert R6 by JustUncleLThis revision of this indicator is an Open Public release. The indicator alert based on JayRogers "Open Close Cross Strategy R2" and is used in conjunction with the revised "Open Close Cross Strategy R5".
Description:
This indicator alert created for TradingView alarm sub-system (via the alertcondition() function, which currently does not work in a "Strategy" script). Also this indicator plots the Difference Factor between the Close and Open Moving Averages, this gives a good indication of strength of move. Also included in this release is optional Divergence finder with variable width channel.
Open Close Cross Strategy R5 revised by JustUncleLThis revision is an open Public release, with just some minor changes. It is a revision of the Strategy "Open Close Cross Strategy R2" originally published by @JayRogers.
*** USE AT YOUR OWN RISK ***
JayRogers : "There are drawing/painting issues in pinescript when working across resolutions/timeframes that I simply cannot fix here.. I will not be putting any further effort into developing this until such a time when workarounds become available."
NOTE: Re-painting has not been observed with the default set up, nor with Alternate resolution multiplier up to 5.
Description:
Strategy based around Open-Close Moving Average Crossovers optionally from a higher time frame.
Setup:
I have generally found that setting the strategy resolution to 3-5x that of the chart you are viewing tends to yield the best results, regardless of which MA option you may choose (if any) BUT can cause a lot of false positives - be aware of this. JustUncleL: using one of the Smoothed MA helps reduce false positives.
Don't aim for perfection. Just aim to get a reasonably snug fit with the O-C band, with good runs of green and red. JustUncleL: using SMMA (8 to 10) gives a good fit.
Option to either use basic open and close series data, or pick your poison with a wide array of MA types.
Optional Stop Loss and Target Profit for damage mitigation if desired (can be toggled on/off)
Positions get taken automatically following a crossover - which is why it's better to set the resolution of the script greater than that of your chart, so that the trades get taken sooner rather than later.
If you make use of the stops/target profit, be sure to take your time tweaking the values. Cutting it too fine will cost you profits but keep you safer, while letting them loose could lead to more draw down than you can handle.
Revsion R5 Changes by JustUncleL
Corrected cross over calculations, sometimes gave false signals.
Corrected Alternate Time calculation to allow for Daily,Weekly and Monthly charts.
Open Public release.
Revision R4 By JustUncleL
Change the way the Alternate resolution in selected, use a Multiplier of the base Time Frame instead, this makes it easy to switch between base time frames.
Added TMA and SSMA moving average options. But DEMA is still giving the best results.
Using "calc_on_every_tick=false" ensures results between back testing and real time are similar.
Added Option to Disable the coloring of the bars.
Updated default settings.
R3 Changes by JustUncleL:
Returned a simplified version of the open/close channel, it shows strength of current trend.
Added Target Profit Option.
Added option to reduce the number of historical bars, overcomes the too many trades limit error.
Simplified the strategy code.
Removed Trailing Stop option, not required and in my option does not work well in Trading View, it also gives false and unrealistic performance results in back testing.
R2 Changes by @JayRogers:
Simplified and cleaned up plotting, now just shows a Moving Average derived from the average of open/close.
Tried very hard to alleviate painting issues caused by referencing alternate resolution.
3 Exponential Moving AveragesPlots the 20, 50, and 100 Period EMAs by default. Lengths and colors can be changed. Ideal for identifying buy/sell signals.