EMA and MACD with Trailing Stop Loss (by Coinrule)An exponential moving average ( EMA ) is a type of moving average (MA) that places a greater weight and significance on the most recent data points. The exponential moving average is also referred to as the exponentially weighted moving average. An exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average simple moving average ( SMA ), which applies an equal weight to all observations in the period.
Moving average convergence divergence ( MACD ) is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26-period exponential moving average ( EMA ) from the 12-period EMA.
The result of that calculation is the MACD line. A nine-day EMA of the MACD called the "signal line," is then plotted on top of the MACD line, which can function as a trigger for buy and sell signals. Traders may buy the security when the MACD crosses above its signal line and sell—or short—the security when the MACD crosses below the signal line. Moving average convergence divergence ( MACD ) indicators can be interpreted in several ways, but the more common methods are crossovers, divergences, and rapid rises/falls.
The Strategy enters and closes the trade when the following conditions are met:
LONG
The MACD histogram turns bearish
EMA7 is greater than EMA14
EXIT
Price increases 3% trailing
Price decreases 1% trailing
This strategy is back-tested from 1 January 2022 to simulate how the strategy would work in a bear market and provides good returns.
Pairs that produce very strong results include XRPUSDT on the 1-minute timeframe. This short timeframe means that this strategy opens and closes trades regularly
In order to further improve the strategy, the EMA can be changed from 7 and 14 to, say, EMA20 and EMA50. Furthermore, the trailing stop loss can also be changed to ideally suit the user to match their needs.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
EMAS
Risk Management Strategy TemplateThis strategy is intended to be used as a base template for building new strategies.
It incorporates the following features:
Risk management:
Configurable X% loss per stop loss
Configurable R:R ratio
Trade entry:
Calculated position size based on risk tolerance
Trade exit:
Stop Loss currently configurable ATR multiplier but can be replaced based on strategy
Take Profit calculated from Stop Loss using R:R ratio
Backtesting:
Configurable backtesting range by date
Trade drawings:
TP/SL boxes drawn for all trades. Can be turned on and off
Trade exit information labels. Can be turned on and off
NOTE: Trade drawings will only be applicable when using overlay strategies
Debugging:
Includes section with useful debugging techniques
Strategy conditions
Trade entry:
LONG
C1: Price is above EMA line
C2: RSI is crossing out of oversold area
SHORT
C1: Price is below EMA line
C2: RSI is crossing out of overbought area
Trade exit:
Stop Loss: Stop Loss ATR multiplier is hit
Take Profit: R:R multiplier * Stop Loss is hit
The idea is to use RSI to catch pullbacks within the main trend.
Note that this strategy is intended to be a simple base strategy for building upon. It was not designed to be traded in its current form.
VWAP+SMA+EMAThis is the only indicator combing the results of VWAP + 2 SMAs + 2 EMAs.
This is a free indicator. Enjoy using it.
Kunal Jain
EMA + Bullish Engulfing Candle Pattern StrategyHello Guys! Nice to meet you all!
This is my first open source script!
### Long Condition
1. Bullish Engulfing Candle
2. No doge Candle
3. Present volume should be bigger than the previous volume (20%)
4. Trend filter (with 2 EMAs)
### Close Condition
1. When trend Changes
2. When Bearish Engulfing Candle appears
###
No stop loss and take profit.
SBS AlgoHello traders, I am here again with a new and improved indicator.
This indicator is based on a pivot breakout algorithm which gives buy and sell signals according to the breakout of trendline. This is an advanced version of another script. It also takes price action into consideration along with some basic indicators like MACD and ADX to give good entry signals.
NOTE: This indicator is not designed to take entries completely based on signals it gives. Please use it along with your trading strategy to add more confluence to your trading system and maximize your profits.
I hope you guys will like this one too .Enjoy 👍
In case you find any bug, please do report in comment section .Thank you.
BankNifty ScriptsBank Nifty Script
Indicator provides Daily, Hourly and Weekly EMA's Exponential Moving Averages for different scripts of Bank Nifty Composition. You'll have CMP and % change along with cRSI.
Credit to RozaniGhani-RG for cRSI code.
Default length is 50 you can change as per your choice.
Table display can be set Vertically top, right, bottom and horizontally left, centre, right.
cRSI if above > 70 the label will change to Focus on Sell and less than < 30 label will show Focus on Buy
Basically created this script for my personal use to see in one shot what's happening in Bank Nifty Composition individual scripts.
Hope it helps.
Chervolinos Ultrafast RMTA MACDDescription of a classic MACD:
MACD, short for moving average convergence/divergence, is a trading indicator used in technical analysis of stock prices, created by Gerald Appel in the late 1970s. It is designed to reveal changes in the strength, direction, momentum, and duration of a trend in a stock's price. The MACD indicator (or "oscillator") is a collection of three time series calculated from historical price data, most often the closing price. These three series are: the MACD series proper, the "signal" or "average" series, and the "divergence" series which is the difference between the two. The MACD series is the difference between a "fast" (short period) exponential moving average (EMA), and a "slow" (longer period) EMA of the price series. The average series is an EMA of the MACD series itself. The MACD indicator thus depends on three time parameters, namely the time constants of the three EMAs. The notation "MACD" usually denotes the indicator where the MACD series is the difference of EMAs with characteristic times a and b, and the average series is an EMA of the MACD series with characteristic time c. These parameters are usually measured in days. The most commonly used values are 12, 26, and 9 days, that is, MACD. As true with most of the technical indicators, MACD also finds its period settings from the old days when technical analysis used to be mainly based on the daily charts. The reason was the lack of the modern trading platforms which show the changing prices every moment. As the working week used to be 6-days, the period settings of represent 2 weeks, 1 month and one and a half week. Now when the trading weeks have only 5 days, possibilities of changing the period settings cannot be overruled. However, it is always better to stick to the period settings which are used by the majority of traders as the buying and selling decisions based on the standard settings further push the prices in that direction.
Description of the new Ultrafast RMTA MACD:
Ultrafast RMTA MACD, short for moving average convergence/divergence, is a trading indicator used in technical analysis of stock prices, created by Chervolino. It is designed to reveal changes in the strength,
direction, momentum, and duration of a trend in a stock's price. The RMTA MACD indicator (or "oscillator") is a collection of three time series calculated from historical price data, from the closing price.
The RMTA MACD based on the THE RECURSIVE MOVING TRENDLINE SYSTEM technical.traders.com
and is series is the difference between a "fast" (short period) Recursive Moving Trend Average, and a "slow" (longer period) Recursive Moving Trend Average of the price series. The average series is an EMA of the MACD series itself.
The result is a non laging indicator, depends on the settings.
special thanks to
everget
LonesomeTheBlue
TradingCube : Moving Average : Data tablePlots moving average both EMA as well as SMA on Multiple timeframes at once in a Tabular Format
for rapid indication of momentum shift as well as slower-moving confirmations.
Displays EMA/SMA 5 8, 13, 21,34,55,89,100,200,400 by default as well as provide the users the flexibility to choose the timeframe as per their set up.
EMA scalping - PapamallisEma of highs and low and macd.
Can be used as
*macd filter
*breakout
*range market filter
3EMATiranga3 EMAs 48 High, 48 Low and 10 Close
Trade can be taken when purple line crosses the high (green)
Ultimate IndicatorThis is a combination of all the price chart indicators I frequently switch between. It contains my day time highlighter (for day trading), multi-timeframe long-term trend indicator for current commodity in the bottom right, customizable trend EMA which also has multi-timeframe drawing capabilities, VWAP, customizable indicators with separate settings from the trend indicator including: EMA, HL2 over time, Donchian Channels, Keltner Channels, Bollinger Bands, and Super Trend. The settings for these are right below the trend settings and can have their length and multiplier adjusted. All of those also have multi-timeframe capabilities separate from the trend multi-time settings.
The Day Trade Highlight option will draw faint yellow between 9:15-9:25, red between 9:25-9:45, yellow between 9:45-10:05. There will be one white background at 9:30am to show the opening of the market. while the market is open there will be a very faint blue background. For the end of the day there will be yellow between 15:45-15:50, red between 15:50-16:00, and yellow between 16:00-16:05. During the night hours, there is no coloring. The purpose of this highlight is to show the opening / closing times of the market and the hot times for large moves.
The indicators can also be colored in the following ways:
1. Simple = Makes all colors for the indicator Gray
2. Trend = Will use the Donchian Channels to get the short-trend direction and by default will color the short-term direction as Blue or Red. Unless using Super Trend, the Donchian Channel is used to find short-term trend direction.
3. Trend Adv = Will use the Donchian Channels to get the short-trend direction and by default will color the short-term direction as Blue or Red. Unless using Super Trend, the Donchian Channel is used to find short-term trend direction. If there is a short-term up-trend during a long-term down-trend, the Blue will become Navy. If short-term down-trend during long-term up-trend, the Red will be Brown.
4. Squeeze = Compares the Bollinger Bands width to the Keltner Channels width and will color based on relative squeeze of the market: Teal = no squeeze. Yellow = little squeeze. Red = decent squeeze. White = huge squeeze. if you do not understand this one, try drawing the Bollinger Bands while using the Squeeze color option and it should become more apparent how this works. I also recommend leaving the length and multiplier to the default 20 and 2 if using this setting and only changing the timeframe to get longer/shorter lengths as I've seen that changing the length or multiplier can more or less make it not work at all.
Along with the indicator settings are options to draw lines/labels/fills for the indicator. I enjoy having only fills for a cleaner look.
The Labels option will show Buy/Sell signals when the short-term trend flips to agree with the long-term trend.
The Trend Bars option will do the same as the Labels option but instead will color the bars white when a Buy/Sell option is given.
The Range Bars option shows will color a bar white when the Close of a candle is outside of a respective ranging indicator option (Bollinger or Keltner).
The Trend Bars will draw white candles no matter which indicator selection you make (even "Off"). However, Range Bars will only draw white when either Bollinger or Keltner are selected.
The Donchian Channels and Super Trend are trending indicators and should be used during trending markets. I like to use the MACD in conjunction with these indicators for possibly earlier entries.
The Bollinger Bands and Keltner Channel are ranging indicators and should be used during ranging markets. I like to use the RSI in conjunction with these indicators and will use 60/40 for overbought and oversold areas rather than 70/30. During a range, I wait for an overbought or oversold indication and will buy/sell when it crosses back into the middle area and close my position when it touches the opposite band.
I have a MACD/RSI combination indicator if you'd like that as well :D
As always, trade at your own risk. This is not some secret indicator that will 100% win. As always, the trades you see in the picture use a 1:1.5 or 1:2 risk to reward ratio, for today (August 8, 2022) it won 5/6 times with one trade still open at the end of the day. Manage your account correctly and you'll win in the long term. Hit me up with any questions or suggestions. Happy Trading!
EMAs DistancesThis indicator shows 4 configurable EMAs and the distances (values and percentages) to the last price of the stock, etf or index.
TrapLightTrap Light is built off the stochastic RSI to provide convenience and make your entries while scalping either long/short more straightforward.
Notes/Disclaimer:
This indicator is not guaranteed to work every time. Use it at your own discretion and perform your own due diligence. None of this is financial advice.
The main idea behind this is that when the stochastic RSI reaches such extremes that it often moves in a favorable direction.
K = momentum or the blue line of the stochastic RSI indicator.
Perks:
Don't have to look away from candlesticks and measure stochastic RSI's K level.
Simple visual indication of what to do.
Don't have to stare at your chart all day waiting for things to get exciting.
How to Use:
(Above the current candlestick on any timeframe)
1. When K is greater than or equal to 99.5, it shows a sell signal. This is to indicate a short entry.
2. When K is less than or equal to 0.5, it shows a buy signal. This is to indicate a long entry.
3. If neither the conditions for a short/long entry are present, it shows a circle that is like a traffic light.
Red Light: When K is between 99.5 and 95, a red circle is shown to indicate that a short entry may be available soon.
Yellow Light: When K is between 95 and 5, a yellow circle is shown to indicate that neither a long nor short entry may be available soon.
Green Light: When K is between 5 and 0.5, a green circle is shown to indicate that a long entry may be available soon.
Alerts:
Set an alert on the ticker you trade to notify you when either the green or red light is present so that you have time to prepare to make an entry either long/short.
The Code:
The PineScript is open-source and annotated to explain different parts of the script for ease of understanding.
@Credit to Kingson1 for this strategy and his feedback on its creation/implementation.
Hull Weighted Exponential Moving AverageBINANCE:BTCUSDT
Open source version of the Hull Weighted Exponential Moving Average as described by Vincent Charles in [ Hull-WEMA: A Novel Zero-Lag Approach in the Moving Average Family ]
█ OVERVIEW
The study takes into considerations two variants of MA.
Namely:
Weighted Exponential Moving Average (WEMA)
Hull Moving Average (HMA)
WEMA, which was introduced in 2013, has been widely used in different scenarios but still suffers from lags.
To address this shortcoming, a novel zero-lag Hull-WEMA method is proposed that combines HMA and WEMA.
Results show that the new approach achieves a better accuracy level than both HMA and WEMA.
█ SIGNALS
The indicator generates:
a LONG signal when switching color from RED to GREEN
a SHORT signal when switching color from GREEN to RED
Additionally is available an option to color the candles on your chart to confirm the signals and filter ranges.
EMA Mountains Use this to track the daily moving avg's on the 15m chart.
by default it is set to be used on ext hours.
pickle financialversion 1.0
A multi-use indicator
FEATURES:
1) Robust VWAP with up to 3 deviations that can be adjusted for Session, Week, Month, Quarter, Year, Decade, Century, Earnings , Dividend, & Split intervals
2) 20 customizable Moving Averages that can be changed to EMAs, SMAs , WMAs, SMMAs, and VWMAs; can also be adjusted to Candle Closes, Highs, Lows, Opens, HLC3, HL2 , OHLC4, & HLCC4
-Praise be lady VWAP
Easy Scalping by JayKasunBINANCE:BTCUSDTPERP
This indicator can show stochastic RSI K and D line crosses and some candlestick patterns on chart.
You can use this indicator to scalping, check usage for more info. Always backtest before trading with your real money.
This indicator will also help mobile TradingView users to get an idea when getting stochastic RSI signals, they can use this indicator to check if stochastic RSI K and D crossed or not. ( Because they have limited area to view chart ) .
4 Exponential moving averages are there in the indicator with easy enable disable option. 9 , 21 , 55 , 100 is suggested as default values.
Meanings of signs in chart
Blue triangle bellow candle means it's a stochastic RSI K and D line cross in oversold level
Red triangle above candle means it's a stochastic RSI K and D line cross in overbought level
Green plus sign shows when EMA 50 crossover EMA 100
Red plus sign shows when EMA 50 cross bellow EMA 100
Features
You can enable candlestick pattern displaying when stochastic RSI K and D cross happen. Check indicator settings.
You can enable displaying ATR Trailing Stops in indicator settings.
Indicator will only show blue triangle after Green plus sign and Red triangles after Red plus sign
After you enable candlestick pattern option, stochastic RSI crosses with candlestick patterns will show in deferent colors. Blue triangle will turn into green and Red triangle into pink.
Usage
Use lower time frames like 5m or 15m
After green plus sign, if price retouched 21 EMA or 55 EMA and blue triangle appeared , you can enter a long position.
After red plus sign, if price retouched 21 EMA or 55 EMA and red triangle appeared , you can enter a short position.
Always wait for candle close . signs of chart can be changed when candle closing. ( Does repaint until candle close )
Use ATR trailing to get a stop loss price.
Use 1:1 or 1:0.5 Risk Reward ratio. Because it's scalping and lower time frame.
Use more indicators like RSI to get more confirmations ( like divergences ) before entering a trade. Its more reliable.
Candlestick Patterns Short names
H - Hammer
IH -Inverted Hammer
BE - Bullish Engulfing ( green triangle )
BE - Bearish Engulfing ( pink triangle )
BH - Bullish Harami ( green triangle )
BH - Bearish Harami ( pink triangle )
I have included ATR + Trailing Stops by SimpleCryptoLife and Candlestick Patterns Identified (updated 3/11/15) by repo32
this is a combination of multiple indicators
credit goes to original creators of above indicators
A_HMS_EMAsthis is an indicator that have many essentials in one indicator and prevent from adding many indicator in chart
Ichimoko clouds and 4 ema from number 19 , 33 , 66 , 199
and an spatial average ema with 2 color that help you to find trend
Histomentu is a great Indicator that combine RSI Composit by RSi line and show momentum of price movement by a histogram
for better use note that:
red line is composite line
green line is rsi line
when composite line run away from histogram momemtum increase rapidly
when composite and rsi line is in same way its time to get position .
some futures is hidden by default:
composite red and green signal line
rmi of price with to color with momentum 4
ema 13, 33 of rmi as signal line
finaly u can change any colors from setting
in background we determine some fills for better use of Indicator
for better use note that:
1_pivots show with tiny triangles bellow and above the candles
red triangles for hi pivots and green triangles for low povots
2_ema19 , 66 , 199 shown on chart by default and you can change its source or length from settings
3- ichimoko cloud help you to determine demand and supply zones that those points are price target to go.
EMA SCALPEUR + RSi - SHORTthis indicator is about 4 EMAs, you can choose a cross under 2 EMA's for the entry end 2 others EMAs for the exit.
Plus I add a RSI function to be sure it doesn't take a short if RSI is under 40.
It's still in development
EMA SCALPEUR SHORTI'm trying to find the best EMA's for scalpingm you are able to choose 2 differents EMAs for your enter and 2 differents EMAs for you exit.
It's putting entry and exit on the graph
EMA SCALPEUR LONG V2THIS IS A TRY TO FIND THE BEST EMAS FOR SCALPING
YOU HAVE 4 EMAS, YOU CAN CHOOSE 2 FOR THE ENTER
This a try to find the best EMAs for scalping
you have 4 EMAs, 2 to find the best enter possible and 2 others to find the best way out possible
MA Ribbon AnnualThis script starts with the 252 E(S)MA and steps it down 21 days per MA. The starting ribbon (Annual Moving Avg Length) and step-downs (Monthly Step Downs) are adjustable.
The goal of this script is to quickly see if prices respect a certain MA length more than another. Monthly lengths were chosen because of their relation to earnings and other reports.
Donchian with Trend IndicatorStandard Donchian Channels, this includes a Trend EMA which can be configured and the channels will use to give buy and sell signals. The channels are also colored in such a way to indicate a trend reversal. My favorite part that sets this apart from others is, if using the bClose option (which I recommend you do) the trend will not reverse until there is a close above/below the previous channel high/low. i.e. a reversal into an uptrend requires the current bar to close above the previous upper channel rather than just a new high.
The coloring of the current trend allows for a quick read of current market conditions and I use this on any timeframe across all forms of charts (forex stock, futures, crypto, etc). When taking one of the signals I use the opposite channel as the stop loss (when buying use bottom, and selling use top channel)