Reversal off EMA-XsEMA-Xs works mostly on Forex due to the small prices and price fluctuations. It does work on Gold, oddly enough, and some others like UKX 100...but mostly on forex. It doesn't work as well on JPY pairs but occasionally does; the JPY pairs give less signals, but when a JPY pair gives a signal, its a high probability setup. Another script EMA-XL works better on the higher priced instruments like S&P, DJI, OIL, BTC etc.
This script will show 3 moving averages: 13, 34, 200 and works on the 5m, 1hr, 4hr, daily charts. Signals "B" or "S" will be on the chart above or below the candles respectively.
When to open:
The script gives buy and sell signals based on a counter-trend move away from the MA's. When the price rises a specific percent above/below the EMA, it'll give a signal. It's best to take a trade when it gives a cluster of consecutive signals near the same price. If using on the 5m, definitely wait for consecutive signals. Also, use this in conjunction with support and resistance areas. Using with fibs for confirmation really makes this a good tool with high probability: IE, when price hits a fib and the script gives a signal, its a high probability setup.
When to close:
1. After a fast move up/down you may use this to counter trade a scalp 10+ pips, but you need to be quick; applies mostly to the 5m chart.
2. If you have the tenacity wait until you see an opposite signal. With this method you may be holding a loosing trade for a while. But what I've noticed is if it trends against you, price usually with come near to the first time it signaled. You may want to stack trades on each cluster of signals. IE first trade is 1000 units, next is 2000 units, etc... then close when prices comes near the first time it signaled. By this time, if you held, you should have profit. This strategy will really test your mental resilience.
3. Wait until it comes back to one of the trendlines; remember this is a counter trend signal so price is moving away from the MA and it always returns to touch one of the MA's...LOL eventually
4. Applying to scalping on the 5m, keep the stops tight because if the instrument trends hard and fast, you'll be upside-down quickly.
If you put a lot of time into using this signal generator, you can really make good profit. But with all tools, you need to master it. There are nuances to the simple logic of this script that can be both fun and frustrating. With all endeavors, if you put the time into it, you will reap the rewards.
Good luck and let me know if you have any questions/comments.
지수 이동 평균 (EMA)
Distance from EMA LevelsDisplay up to 4 distance from EMA levels, by default it's based on the 5m timeframe.
MTF EMA TrendThe indicator plots directional arrows on top of the chart to visualize the market's price trend. The plots are based on candle closing below all three multitimeframe EMAs, downtrend, when the EMAs are also in order (1 below 2 and 2 below 3). Opposite situation is uptrend.
It also marks a breakdown when the price closes under the third (supposedly always the slowest) EMA outside of aforementioned downtrend situation. Opposite is true for breakup to be marked.
Please always make sure, that the three EMAs are in order of EMA 1 being the fastest and 3rd the slowest. Default settings are used on the 5 minute timeframe.
Indicator can be used to quickly check the overall trend of the market as told by three MTF EMAs without needing to clutter the chart with the actual EMA plots. This is useful, for example, if you mainly base your scalping trades on other types of indicators, but you want a quick peek of the market direction or indecision.
SAR+RSI+EMAs SignalsNOTE:
Indicator based strategies may expire and begin to work again. There are various ways to check the expiration of these strategies but I suggest equity curve trading (EC trading) as the best one.
Please check every single indicator based strategy to see if it’s still profitable or it has been expired to avoid losses.
Principles:
I personally believe every profitable indicator-based setup need 3 factors. Actually I analyze indicator-based set up in this way!
1- Trend detector: a tool that detect the “trend”.
2- Oscillators (Discount finder): a tool that detects “discounts” in the direction of the trend.
3- Stimulus: A tool that indicates the Initiation of a movement.
There may be profitable strategies that do not use all three, because other factors are strong enough to lead us to profit, but they are rare and sometimes they hide the other forgotten factor in the main two ones.
Elements:
(Since most of traders here, are familiar with these famous indicators I will not take your time to write about their uses and formula)
SAR: As a Trend detector, regarding position of close and SAR
EMA 7 and EMA 21: As trend detectors, regarding position of EMA 7 as fast “moving average” and EMA 21 as slow one. Also we need another confirmation for trend regarding EMA 7 and closing price of the signal candle.
RSI: In this strategy RSI is used both as a discount finder and a stimulus.
For RSI being over/under 50, regarding the trend, a possible discount may have been occurred. Imagine these conditions: close>EMA7, EMA7>EMA21, close>SAR and simultaneously RSI being under 50 is really a sign of powerful uptrend which it’s RSI decreasing might be a sign of corrective move, which will be following a bullish impulsive move.
The other use of RSI is to stimulate a buy signal by “crossing” over 50 or 30 (50 as balanced point of momentum and 30 as a sign of ending an oversold) or stimulate a sell signal by “crossing” under 50 or 70 (50 as balanced point of momentum and 70 as a sign of ending an overbought).
Entry point: you can use one of the followings.
1- Open of the next candle
2- EMA 7
3- Open of the signal candle
(Totally optional but “open of the next candle” is suggested by me.)
SL: Use one of the followings.
1- SAR or some pips (regarding ATR Or your experience of this trading instrument’s fluctuations in this time frame) below the SAR
2- Fixed amount (regarding ATR Or your experience of this trading instrument’s fluctuations in this time frame)
3- Use EMA21 as dynamic SL (if a candle far enough from the initiative candle close over (for sell) below ( for buy)
Again number 1 is suggested by me.
TP: Use one of the followings.
1- Use static levels or zones of support and resistance as TP.
2- Use dynamic levels for instance band of BB or moving averages (Moving the SL is possible).
3- Use fixed R to R
And I believe static zones of support and resistance work better.
Examples:
I indicate a buy signal on the chart!
Using local level as TP worked just good.
Using EMA was better in this case.
And using a riskier level or a fixed R to R is obvious in the chart!
Since in the range markets, this strategy may not work well and at the same time, TP to SL might be too small to be worth the risk, I prefer to use levels to filter range market conditions!
I convert all those circumstances to a simple buy and sell signs on the chart!
EMA21 and SAR are still visible because it is possible that traders use them for their TP and SL.
This is how it look without EMA21 and SAR!
Another screenshot of this strategy!
I also add a check box to filter signals by another trend detector. MATD created by me to help traders detect trend!
As it’s visible, some profitable signals filtered too, but using a longer-term trend detector as an additional one, alongside the double EMAs is very useful for this strategy.
The other box “use high&low instead of close for fast EMA” makes the “EMA7 and close” trend detector an easygoing one!
Almost everything is editable here!
*** I did not invent this strategy, you can find it for free on net ***
I'll change it to a "strategy" instead of an indicator if reader like to!
Ehlers Median Average Adaptive Filter [CC]The Median Average Adaptive Filter was created by John Ehlers and this is another in my current series of undiscovered gems. I'm sure you are all saying but Franklin, Ehlers doesn't have any undiscovered gems but in this case you would be wrong. This was actually an indicator so buried on the internet that I had to use the wayback machine to find the original source code. Ehlers notoriously hates adaptive moving averages which is funny because he has made a decent amount of them. This is a very unique indicator that uses a while loop to adjust the length and I thought it deserved some extra recognition from the TV community. I have included strong buy and sell signals in addition to normal ones so strong signals are darker in color and normal signals are lighter in color. Buy when the line turns green and sell when it turns red.
Let me know if there are any other scripts or indicators you would like to see me publish!
Advantage RSI PredictorAdvantage RSI Predictor reverses the calculation of Relative Strength Index. Once the bar ends, this indicator calculates the price that needs to be reached (next bar) for RSI to move to a certain level. The indicator is plotted over price to show support and resistance zones based on RSI settings defined by user.
What do I see?
upper and lower (red) lines show where the price needs to move for RSI to show predefined levels; default settings are: RSI (close,14); 70-point as overbought level (upper); 30-point as oversold level (lower)
middle line (On/Off) calculates where the price needs to move for RSI to be 50 points
Why do I use it?
knowing support and resistances in advance, you can use it in day trading when intraday move reaches your support or resistance
by switching to a higher time frame, you can establish where support and resistance is in multiple time ranges
Finally, last but definitely not least, the main reason behind publishing this indicator is to prove that the RSI indicator is NOT what it is perceived to be.
RSI does not measure the velocity or magnitude of the recent move, but simply the distance between price and exponential moving average of the corresponding length.
50-point RSI Predictor(length) = Exponential moving average(2*length-1) shifted by 1 bar.
Moving Average Suite + VWAP + TICKThis indicator combines some of the commonly used moving averages, VWAP, and TICK sentiment, all of which are useful for all types of trading
By default, this indicator includes:
- 21/50/100/200 period smoothed simple moving average
- great for determining trends
- also act as support / resistance line for price
- 9 period exponential moving average
- fast trend / direction indicator
- Volume Weighted Average Price
- no explanation required
- $TICK sentiment as background fill
- overall market sentiment and direction
- +/- 500 levels are colored green/red and are usually indication of institutional order flow --> critical for trading indexes such as SPY or QQQ
- deep green/red background indicates +/-1000 on the $TICK, which are usually associated with overbought or oversold
Super Multi Trend [Salty]This script uses the 5, 8, 13, 21, 34 low, 34 close, 34 high, and 55 EMAs in comparison to each other to gauge momentum and trend strength for the current ticker. Additionally, it provides the ability to compare to 3 additional tickers at the same time (Uncheck boxes in settings to hide if desired). For the Super Trend Row darker colors are more bearish than lighter colors, and consequently lighter colors are more bullish than darker colors. Yellow indicates a neutral or choppy market. Fully stacked EMAs are shown with a Light Green (Lime) color for the bullish condition, and Dark Red for the bearish condition.
4-Way EMA Trend4 separate EMAs that are used to determine trend, colored appropriately to reflect the trend to make it easy to tell what the trend is. All 4 EMAs are not needed, you can turn each one on and off individually and the indicator will adjust itself accordingly. Having a single EMA will use the closing price to determine the trend. There are 2 different types of trend detection; EMA Flip and EMA Confluence. EMA Flip is dependent on all active EMAs rising or falling in the correct hierarchical order. The EMA Confluence option is if all EMAs are moving in the same direction. I've found that this second option, EMA Confluence, is more accurate in getting in early before strong movements because the EMAs will more often move in the same direction before they "flip".
TropRSIThis is a variety of RSI based on the distance from the MA. It calculates the difference between price and a user defined EMA, then it calculates the RSI for the values obtained.
I find it more reactive and at the same time more adjustable thatn normal RSI.
It also shows divergences.
NazhoThis is a simple scalping strategy that works for all time frames... I have only tested it on FOREX
It works by checking if the price is currently in an uptrend and if it crosses the 20 EMA .
If it crosses the 20 EMA and its in and uptrend it will post a BUY SIGNAL.
If it crosses the 20 EMA and its in and down it will post a SELL SIGNAL.
The red line is the highest close of the previous 8 bars --- This is resistance
The green line is the lowest close of the previous 8 bars -- This is support
+SuperTrend
RSI v4 with Bands
Script is extended version of usual RSI script
This script plots VWMA(RSI7) vs EMA(RSI7) under pre-set time frame.
Strategy is to make sure both points remain in the Green zone while entering into BUY position
Use it as indicator not as financial advice.
~ @imbharat
TrendLineScalping-BasicDear Traders,
Here is the thought which came to my mind on the trendline break scalping. sometimes during the trade we do plot trendlines and we do anticipate for the line to break and take a trade. with the same thing in mind I had created this basic script to help you and other to create based on the logic used in the script.
This is just a logic based script and doesn't do any kind of wonders. Hence you may use it as necessary.
Regards....
McNamara Tally [CC]The McNamara's Tally was created by Nolan McNamara (Stocks and Commodities Feb 2022 pgs 44-45) and this aims to fix the issues with both the On Balance Volume and the Accumulation/Distribution Line by using a variation of Wilder's True Range to keep track of volume flow to better differentiate between bullish volume and bearish volume. I added a signal line to this indicator to provide clear buy and sell signals since the original didn't' have any so feel free to experiment and see if you come up with a better signal system. Buy when the indicator line turns green and sell when it turns red. I have included strong buy and sell signals in addition to normal ones so stronger signals are darker in color and normal signals are lighter in color.
Let me know if there are any other indicators or scripts you would like to see me publish!
K's EnvelopesTrading is all about finding reactionary levels from where we assume prices will take a certain direction. And from that assumption, we initiate either a long (Buy) position or a short (Sell) position. Many techniques can be used to find support and resistance levels such as pivot points, Fibonacci retracements, and graphical levels. However, these techniques are all static in time, i.e. they do not move with real time data. In contrast, moving averages are dynamic and do a great job at finding support and resistance levels.
The idea of K's Envelopes is to form support and resistance zones so that we find good entry points. It is a combination of two 800-period moving averages where one is applied to the highs and the other applied to the lows, thus forming a moving zone used to support or place a ceiling on the market price.
Dorks 13/48 EMA Crossover This is a script that is helpful if you use review dorks (youtube) 13/48 Crossover strategy. According to him when the 13 EMA crosses the 48 EMA it would theoretically be a good entry for options. See the video at review dorks official youtube channel.
I also included the 30 and 200 EMAs as he suggests in the video as points of reference.
There are currently no scrips that provide these 4 specific sets of EMAs in an all in one package.
Daily EMA50 100 200 + BBStandard Bollinger Bands (timeframe dependent), period and standard deviation are configurable.
And standard daily triple EMA (timeframe independent). Short, Medium and Long periods are configurable (50/100/200 by default)
NSDT HAMA CandlesHAMA (Heiken-Ashi Moving Average) Candles are built using different moving average lengths for the open, high, low, and close. Those levels are then run through the Heiken-Ashi Candle formula to create a new hybrid candle on the chart. There is an additional Moving Average plotted as well for overall direction.
This may be used best for identifying trending markets. By referencing the HAMA Candle indicator, it may help guide you to stay in a trade a bit longer, or wait a bit longer before entering at the beginning of a potential trend.
We added a Gradient Color scheme option for a more colorful view of potential trend directional changes. The gradient code is taken from the Pinecoders Gradient Framework (Pro Advance/Decline Gradient example) at
There are three different Moving Average types to choose from. (EMA, SMA, WMA). All MA lengths can be modified. All colors can be modified. All options can be turned on or off.
This was previously an "invite-only" indicator, but we decided to publish it publicly and open source.
MACD_STO-SAMI
This indicator depends on the trend. You must first determine the general trend and then wait for the signals that indicate buying in the bullish direction and the signals that indicate selling in the bearish direction, which is the green signal is considered buying and the red signal is considered selling
Also, this indicator differs from the rest of the indicators that the signal is prior to the movement of hair, meaning that it is predictive and is strong.
The green bar is the buying peak.
The red bar is oversold.
The red arrows indicate that you can sell, but the price must be monitored.
The green arrows indicate that it is possible to buy and monitor the price
The colored candles are 4, and each candle indicates the order of the candle.
1- The blue candle indicates a change in the bearish trend and the possibility of it changing to an upward trend.
2- The green candle, which indicates that there will be acceleration in the upward direction.
3- The yellow candle indicates a change in the upward trend and the possibility of it changing to the downside.
4- The red candle indicates that there will be acceleration in the downside direction
To help determine the trend, the average of the 50 simple has been set
NYSE:BA
FX:GBPUSD
TADAWUL:1120
BINANCE:BTCUSDT
EMA deviationssuper basic, % deviations around an EMA
will update later
published so i dont have to type this up everytime i open a chart
Moving Average CombinationsThis moving average indicator is used to plot either EMA or SMA as per users choice. User also has the options to choose different type of sources for each of the moving average lines like high, low, close etc. Again, flexibility is added to plot moving averages of different timeframe than the current timeframe of the chart. By doing so in daily chart user can plot averages of different timeframe like hourly, weekly or monthly and vice versa. Length is also as per the choice of the user.
So for a example, in a daily timeframe chart you can plot 9SMA High Daily, 200EMA Close 1Hr, 200EMA Close 2Hr, 200EMA Close Daily, 9SMA High Weekly and so on. This will help in play moving average crossovers and contractions.
Label for each moving average line is also added.
3 EMA/SMA + Colored Candles[C2Trends]// Indicator Features:
// 1) 3 Exponential Moving Averages and 3 Simple Moving Averages.
// 2) Additional EMA input for colored candles(EMA is hidden from chart, input used for coloring of candles only)
// 3) Turn colored candles on/off from main input tab of indicator settings.
// 4) Turn SMA's and EMA's on/off from main input tab of indicator settings.
// 5) Select single color or 2 color EMA and SMA lines from main input tab of indicator settings.
// Indicator Notes:
// 1) 'Candle EMA' input is the trend lookback period for the price candle colors. When price is above desired Candle EMA, price candles will color green. When price is below the Candle EMA, price candles will color fuchsia.
// 2) If you are using another indicator that colors the price candles it may overlap the candle colors applied by this indicator. Trying hiding or removing other indicators to troubleshoot if having candle color issues.
// 3) Using 2-color price moving averages: when price is above an average the average will color green, when price is below an average the average will color fuchsia.
5min Williams Fractals scalping (3commas)Another strategy I'm learning Pine Script on. It is inspired by a MoneyZG youtube strategy called "Easy 5 Minute Scalping Strategy (Simple to Follow Scalping Trading Strategy)".
Again this is a one order per trade strategy compatible with the 3commas bot (works also with the free 3commas subscription). This strategy is based on the signals from Williams Fractals, taking the signals in reverse - red triangle indicates a bottom and hence we go long. The green triangle indicates a top so we go short. By default these signals are only accepted if they occur between the two Emas. However, you can also turn this off and when a WF signal comes in, only the current price has to be between the Emas. Stop loss is set to the current Ema slow and the take profit is a multiple of the distance to the slow ema.
Like previously I have added different filters as well as the ability to view essential things like the WF signal and Emas. I hope the script will help you to be more successful and if so it would be great if you could share here your setups, or tips on what would be good to refine to make it an even a more profitable strategy. Kind of a community approach so that we help each other out :).
Instructions for the 3commas connector:
1. First, you need to prepare 3commas Long/Short bots that will only listen to custom TV signals.
2. Inputs for the 3commas bot can be found at the end of the user inputs.
3. Once you have entered the required details into the inputs, turn on 3commas comments. They should appear on the chart (looks messy).
4. Now you can add the alert where you should paste the 3commas Webhook URL: 3commas.io
5. For the alert message text insert the placeholder {{strategy.order.comment}} and delete the rest.
6. Once the alert is saved, you can turn off those 3commas comments to have a clearer chart.
7. With a new alert, the bot and trade should launch.
In the near future I would like to publish more scripts that will carry similar elements as the first two, incl. compatibility with 3commas (I don't have access to another bot system). I will choose some strategies myself, but I will also be glad for some tips on what strategy would be good to do and is still missing here on Tradingview (short youtube videos or brief strategy manuals would be great).
Thanks and keep it up
PS: My screen values starting at Long Target Profit and ending at Pullback NOT greater than: 1.5; 1.5; 0; ON; 1; 2; OFF; 17; 36; ON; 0.05; ON; Chart; 14; 46; 50; 48.5; 51; OFF; 1; ON; 4; 2.