Moving Averages w/Signals [CSJ7]Unlock the power of three dynamic moving averages: Fast, Medium, and Slow. Choose between the reliability of Simple or the responsiveness of Exponential MAs. Plus, with our tailored Buy and Sell signals based on user-defined crossing scenarios, you're equipped with a clear roadmap in the ever-changing landscape of the markets.
1. Spot Trends with Ease: Our color-coded system makes identifying the market's direction intuitive. Green signals bullish momentum, while red indicates bearish movements.
2. Precision Signals: Navigate the markets confidently with our Buy and Sell signals, designed to highlight potential entry and exit points.
3. Gauge Trend Strength: The color intensity between the Medium and Slow MAs offers a visual cue on the trend's strength, ensuring you're always in the know.
Limitations:
- Inherent Lag: As with all moving average tools, there's a natural delay. But it's this reflective nature that offers valuable insights.
- Stay Alert in Sideways Markets: During consolidative phases, the indicator might produce occasional false signals. Always cross-reference with other tools.
- Customization is Key: The tool's true potential shines when you adjust the settings to align with your trading style and strategy.
4. How to Use:
Quick Setup: Select your preferred MA type, set the lengths, and define your ideal crossover scenarios. It's that simple!
Interpreting Signals: A green triangle below the price suggests a potential buying zone, while a red triangle above hints at a selling opportunity.
Trend Insights: The color gradient between the Medium and Slow MAs offers a visual representation of the trend's vigor. The more vibrant, the stronger the trend.
Elevate your trading strategy with the Moving Averages w/Signals & AutoTrade . With clarity and precision, it's the companion every trader deserves.
Wykładnicza średnia krocząca (EMA)
Alxuse Supertrend 4EMA Buy and Sell for tutorialAll abilities of Supertrend, moreover :
Drawing 4 EMA band & the ability to change values, change colors, turn on/off show.
Sends Signal Sell and Buy in multi timeframe.
The ability used in the alert section and create customized alerts.
To receive valid alerts the replay section , the timeframe of the chart must be the same as the timeframe of the indicator.
Supertrend with a simple EMA Filter can improve the performance of the signals during a strong trend.
For detecting the continuation of the downward and upward trend we can use 4 EMA colors.
In the upward trend , the EMA lines are in order of green, blue, red, yellow from bottom to top.
In the downward trend, the EMA lines are in order of yellow, red, blue, green from bottom to top.
How it works:
x1 = MA1 < MA2 and MA2 < MA3 and MA3 < MA4 and ta.crossunder(MA3, MA4)
x2 = MA1 < MA2 and MA2 < MA3 and MA3 < MA4 and ta.crossunder(MA2, MA3)
x3 = MA1 < MA2 and MA2 < MA3 and MA3 < MA4 and ta.crossunder(MA1, MA2)
y1 = MA4 < MA3 and MA3 < MA2 and MA2 < MA1 and ta.crossover(MA3, MA4)
y2 = MA4 < MA3 and MA3 < MA2 and MA2 < MA1 and ta.crossover(MA2, MA3)
y3 = MA4 < MA3 and MA3 < MA2 and MA2 < MA1 and ta.crossover(MA1, MA2)
Red triangle = x1 or x2 or x3
Green triangle = y1 or y2 or y3
Long = BUY signal and followed by a Green triangle
Exit Long = SELL signal
Short = SELL signal and followed by a Red triangle
Exit Short = BUY signal
It is also possible to get help from the Stochastic RSI and MACD indicators for confirmation.
For receiving a signal with these two conditions or more conditions, i am making a video tutorial that I will release soon.
Supertrend
Definition
Supertrend is a trend-following indicator based on Average True Range (ATR). The calculation of its single line combines trend detection and volatility. It can be used to detect changes in trend direction and to position stops.
The basics
The Supertrend is a trend-following indicator. It is overlaid on the main chart and their plots indicate the current trend. A Supertrend can be used with varying periods (daily, weekly, intraday etc.) and on varying instruments.
The Supertrend has several inputs that you can adjust to match your trading strategy. Adjusting these settings allows you to make the indicator more or less sensitive to price changes.
For the Supertrend inputs, you can adjust atrLength and multiplier:
the atrLength setting is the lookback length for the ATR calculation;
multiplier is what the ATR is multiplied by to offset the bands from price.
When the price falls below the indicator curve, it turns red and indicates a downtrend. Conversely, when the price rises above the curve, the indicator turns green and indicates an uptrend. After each close above or below Supertrend, a new trend appears.
Summary
The Supertrend helps you make the right trading decisions. However, there are times when it generates false signals. Therefore, it is best to use the right combination of several indicators. Like any other indicator, Supertrend works best when used with other indicators such as MACD, Parabolic SAR, or RSI.
Exponential Moving Average
Definition
The Exponential Moving Average (EMA) is a specific type of moving average that points towards the importance of the most recent data and information from the market. The Exponential Moving Average is just like it’s name says - it’s exponential, weighting the most recent prices more than the less recent prices. The EMA can be compared and contrasted with the simple moving average.
Similar to other moving averages, the EMA is a technical indicator that produces buy and sell signals based on data that shows evidence of divergence and crossovers from general and historical averages. Additionally, the EMA tries to amplify the importance that the most recent data points play in a calculation.
It is common to use more than one EMA length at once, to provide more in-depth and focused data. For example, by choosing 10-day and 200-day moving averages, a trader is able to determine more from the results in a long-term trade, than a trader who is only analyzing one EMA length.
It’s best to use the EMA when for trending markets, as it shows uptrends and downtrends when a market is strong and weak, respectively. An experienced trader will know to look both at the line the EMA projects, as well as the rate of change that comes from each bar as it moves to the next data point. Analyzing these points and data streams correctly will help the trader determine when they should buy, sell, or switch investments from bearish to bullish or vice versa.
Short-term averages, on the other hand, is a different story when analyzing Exponential Moving Average data. It is most common for traders to quote and utilize 12- and 26-day EMAs in the short-term. This is because they are used to create specific indicators. Look into Moving Average Convergence Divergence (MACD) for more information. Similarly, the 50- and 200-day moving averages are most common for analyzing long-term trends.
Moving averages can be very useful for traders using technical analysis for profit. It is important to identify and realize, however, their shortcomings, as all moving averages tend to suffer from recurring lag. It is difficult to modify the moving average to work in your favor at times, often having the preferred time to enter or exit the market pass before the moving average even shows changes in the trend or price movement for that matter.
All of this is true, however, the EMA strives to make this easier for traders. The EMA is unique because it places more emphasis on the most recent data. Therefore, price movement and trend reversals or changes are closely monitored, allowing for the EMA to react quicker than other moving averages.
Limitations
Although using the Exponential Moving Average has a lot of advantages when analyzing market trends, it is also uncertain whether or not the use of most recent data points truly affects technical and market analysis. In addition, the EMA relies on historical data as its basis for operating and because news, events, and other information can change rapidly the indicator can misinterpret this information by weighting the current prices higher than when the event actually occurred.
Summary
The Exponential Moving Average (EMA) is a moving average and technical indicator that reflects and projects the most recent data and information from the market to a trader and relies on a base of historical data. It is one of many different types of moving averages and has an easily calculable formula.
The added features to the indicator are made for training, it is advisable to use it with caution in tradings.
Crypto Notes Scalping Indicator by Mohsin
**Crypto Notes Indicator**
This custom trading indicator, named "Crypto Notes," is designed to assist traders in analyzing cryptocurrency price movements. It combines two key components: the SSL (Stochastic Support and Resistance) channel and a Moving Average.
**Indicator Components:**
1. **SSL Channel:**
- The SSL channel is a technical analysis tool that helps identify potential support and resistance levels in the cryptocurrency price chart.
- The indicator calculates two values: `sslDown` and `sslUp`, which represent potential support and resistance levels, respectively.
- The SSL channel is based on a user-defined period and length, allowing traders to customize the sensitivity of the support and resistance levels.
2. **Buy and Sell Signals:**
- Buy and sell signals are generated when the `sslUp` crosses above `sslDown` (a buy signal) or when `sslUp` crosses below `sslDown` (a sell signal).
- These signals help traders identify potential entry and exit points for their cryptocurrency trades.
3. **Moving Average (MA1):**
- The indicator also includes a customizable exponential moving average (EMA) with a length defined by the user.
- This moving average (MA1) can be used to smooth out price data and identify trends in the cryptocurrency's price movement.
**How to Use:**
1. **SSL Channel:** The SSL channel visually represents potential support and resistance levels on the price chart. Traders can observe price behavior concerning these levels to make trading decisions.
2. **Buy Signals:** Buy signals are labeled as "BUY" on the chart when `sslUp` crosses above `sslDown`. This is an indication of a potential bullish trend or an opportune time to enter a long position.
3. **Sell Signals:** Sell signals are labeled as "SELL" on the chart when `sslUp` crosses below `sslDown`. This suggests a potential bearish trend or an opportune time to exit a long position or consider shorting.
4. **Moving Average (MA1):** The customizable moving average (MA1) can help traders identify trends in the cryptocurrency's price movement. When MA1 is above the price, it may suggest an uptrend, and when it's below, it may suggest a downtrend.
**Customization:**
- Traders can adjust the indicator's parameters, such as the SSL channel period, length, and the length of the EMA (MA1), to suit their specific trading strategies and preferences.
**Disclaimer:** This indicator is a tool for technical analysis and does not provide financial advice. Trading cryptocurrencies involves risks, and users should conduct thorough research and risk management before making any trading decisions.
**Note:** It's essential to thoroughly test this indicator and incorporate it into a comprehensive trading strategy before using it for actual trading.
---
Please ensure you understand the indicator's functionality and consider using it alongside other tools and analysis methods as part of your trading strategy.
SMA/EMA/RSImagic 36.963 by IgorPlahutaTwo Elements in this script:
Alerts: These are notifications that draw your attention to specific market conditions. There are two types:
RSI Higher Lows or Lower Highs: This alert triggers when the Relative Strength Index (RSI) forms higher lows or lower highs.
RSI Exiting 30 (Up) or RSI Exiting 70 (Down): These alerts activate when the RSI crosses the 30 threshold upwards or the 70 threshold downwards.
ALL BUY/SELL: to catch both of them with one setting
To Set Up an Alert: To configure an alert, select the one relevant to your trading strategy, choose the "Greater than" option, and input a value of "0" (this essentially activates the alert). Adjust other settings as per your requirements.
Please note that these alerts should be used in conjunction with a system you trust for confirmation.
Moving Averages: This involves monitoring several moving averages:
SMA12, SMA20, EMA12, EMA20: These moving averages are highlighted with background colors to help you quickly identify changes or crossovers. They are superimposed on each other for easy comparison.
SMA 50, SMA200: These moving averages are also highlighted with background colors to spot crossovers, and their lines change color depending on their direction (falling in red or rising in green).
Enjoy using these tools in your trading endeavors!
EMA & Camarilla StrategyChat GPT based , 20, 200 EMA Strategy
This script calculates EMAs (5, 20, and 200), Camarilla Pivot Points, and checks for your specified candlestick pattern conditions. It then generates buy and sell signals based on the EMA crossover and the candlestick pattern. Stop loss is calculated as the lowest low of the last 5 bars, and the target is set at the Camarilla pivot point (you can customize these values).
EMA x 3 MAsThis indicator can be used for moving average strategies based on a EMA trigger over MAs (SMAs) : MA1 , MA2 , MA3 .
Based on those crossings, the background color will change for the upcoming candle showing green for upper crossing change (the more MA are crossed, the darker is the background). Order and priority of background colors :
1/ EMA x MA1
2/ EMA x MA2 (if EMA x MA1 confirmed)
3/ EMA x MA3 (if EMA x MA1and EMA x MA2 confirmed)
EMA and MAs can also be tuned with your own values in the parameters, therefore allowing you to try different strategies and to use the EMA and MAs as support/resistance indication.
You can set up the background and lines colors in the Style in the parameters.
TTP Green/Red Consecutive CandlesThis indicator counts consecutive green/red candles offering some basic statistics and signals/alerts.
Features
- Counts consecutive green/red candles in an oscillator chart
- Moving average of the counting helps spotting when the consecutive candles are away from the mean. MA length and multiplier to adjust the signal sensitivity.
- Thresholds can be set to backtest and send alerts on any number of arbitrary consecutive candles of the same color.
- All time highs: the indicator keeps track of when the maximum has been reached
- Distribution data: the number of times each number of consecutive color candles has been reached is offered
Signals
- Threshold signal triggers when the number of candles of the same color is above the specified threshold.
- MA cross signal triggers when the number of candles of the same color is above the MA.
MA Directional Table"MA Directional Table" primary objective is to analyze the direction of the trend based on two Moving Averages (MA) for various timeframes and customizing the inputs to match your preferred style.
Features:
Moving Average Type: You can select which type of Moving Average to use (SMA, EMA, VWMA).
Moving Average Lengths: You can set the lengths for the short-term and long-term moving averages.
Table Position: The indicator provides a table which can be placed at the top or bottom, and to the left or right of the chart. It shows the trend status for multiple timeframes (1 min, 5 min, 15 min, 1 hour, 4 hours, 1 day).
Table Orientation: The table can be oriented either horizontally or vertically.
Price Condition: Optionally, the table color can be set to yellow if the current price deviates from the Moving Average trend and crosses MA1.
Cloud Settings: You can opt to show a cloud between the two moving averages. The color of the cloud changes based on the direction of the trend (bullish or bearish).
Extra MA: Optionally, an extra Moving Average can be plotted on the chart.
Custom EMA from X Days AgoThis is an indicator to plot the selected EMA value from X days ago on today's candle.
Or it will helps to plot the previous candle's EMA value on current candle.
EMA Deviation ReboundThe " EMA Deviation Rebound " indicator I've created utilizes calculations involving the standard deviation of closing prices and exponential moving averages (EMA) to generate a line. The color of this line changes based on whether the EMA value is above or below the current closing price. This can be interpreted as an indicator for potential buy or sell signals:
Buy Signal: If the price crosses the indicator from bottom to top, this can be considered a buy signal. This could indicate that the price has overcome a resistance and a potential upward movement may be forthcoming.
Sell Signal: If the price crosses the indicator from top to bottom, this could serve as a sell signal. This might suggest that the price has broken a support downward and possibly indicates an impending downward movement.
The indicator is named "EMA Deviation Rebound" because I use it to identify potential resistance and support levels. When the price rebounds at the indicator, this could signify a price movement in the opposite direction.
It's important to use such indicators in conjunction with other analysis techniques and market information to make informed trading decisions.
Magic Trend By Market Mindset - Zero To EndlessMagic Trend indicator is an indicator combining the Commodity Channel Index (CCI) and the Average True Range (ATR) indicators.
The indicator is represented by a line that turns red when CCI readings are below 0 and converts to blue when CCI reaches above 0.
Color of the line can be treated as a trend indicator.
When CCI > 0 (Blue Color), price is assumed to be in uptrend and a buying momentum could be seen.
When CCI < 0 (Red Color), price is assumed to be in downtrend and a selling pressure could be seen.
Two Multipliers of ATR have been used. Default values for multiploier are : 1.5 and 3.0
It tells about the volatality in the price and also helps in deciding Entry poits, Stop loss points and sometimes Exit points.
If trend magic lines are not straight and moving upward/downward, continuition of the trend is expected and so Holding the position is adviced.
If the farther line (line with multiplier 3.0) is broken, a trend reversal can be seen soon.
In this case, squaring off and making reverse position is adviced near the other (1.5 mult) line.
If price is revolving in between these two lines... a sideways movement is expected.
Happy Trading
Market Mindset
EMA Angle Trend StrengthEATS is an innovative indicator that calculates the slope of the exponential moving average (EMA) over a defined number of candles, presenting this on a scale of 0 to 100.
Users can individually adjust the length of the EMA and the precision of slope calculation. For the EMA length, users can specify the number of candles used for the EMA calculation. In terms of precision, the user can define the number of candles over which the slope calculation takes place.
The EATS indicator uses a mathematical function to calculate the angle of slope of the EMA. The resulting slope is converted into degrees and then portrayed on a scale of 0 to 100 using the "eats" function.
This indicator can be a useful tool for traders looking to evaluate a market's momentum and identify potential trend shifts. It allows you to visualize the strength a trend based on the angle of the EMA slope, offering a complementary perspective to traditional price and volume indicators.
Please note that as with all indicators, the EATS indicator should not be used as a standalone trading tool. It should always be used in combination with other technical analyses and/or fundamental analyses to make the most informed trading decisions.
Buy/Sell EMA CandleThis indicator is designed to display various technical indicators, candle patterns, and trend directions on a price chart. Let's break down the code and explain its different sections:
Exponential Moving Averages (EMA):
The code calculates and plots five EMAs of different lengths (13, 21, 55, 90, and 200) on the price chart. These EMAs are used to identify trends and potential crossovers.
Engulfing Candle Patterns:
The code identifies and highlights potential bullish and bearish engulfing candle patterns. It checks if the current candle's body size is larger than the combined body sizes of the previous and subsequent four candles. If this condition is met, it marks the pattern on the chart.
s3.tradingview.com
EMA Crossovers:
The code identifies and highlights points where the shorter EMA (ema1) crosses above or below the longer EMA (ema2). It plots circles to indicate these crossover points.
Candle Direction and RSI Trend:
The code determines the trend direction of the last candle based on whether it closed higher or lower than its open price. It also calculates the RSI (Relative Strength Index) and determines its trend direction (overbought, oversold, or neutral) based on predefined thresholds.
s3.tradingview.com
Table Display:
The code creates a table displaying trend directions for different timeframes (monthly, weekly, daily, 4-hour, and 1-hour) for candle direction and RSI trends. The trends are labeled with "L" for long, "S" for short, and "N/A" for not applicable.
High Volume Bars (HVB):
The code identifies and colors bars with above-average volume as either bullish or bearish based on whether the price closed higher or lower than it opened. The color and conditions for high volume bars can be customized.
s3.tradingview.com
Doji Candle Pattern:
The code identifies and marks doji candle patterns, where the open and close prices are very close to each other within a certain percentage of the candle's high-low range.
RSI-Based Candle Coloring:
The code adjusts the color of the candles based on the RSI value. If the RSI value is above the overbought threshold or below the oversold threshold, the candles are colored yellow.
Usage and Interpretation:
Traders can use this indicator to identify potential trend changes based on EMA crossovers and candle patterns like engulfing and doji.
The RSI trend direction can provide additional insight into potential overbought or oversold conditions.
High volume bars can indicate potential price reversals or continuation patterns.
The table provides an overview of trend directions on different timeframes for both candle direction and RSI trends.
Keep in mind that this is a complex indicator with multiple features. Users should carefully evaluate its performance and consider combining it with other indicators and analysis methods for more accurate trading decisions.
The table is designed to provide a consolidated view of trend directions and other indicators across multiple timeframes. It is displayed on the chart and organized into rows and columns. Each row corresponds to a specific aspect of analysis, and each column corresponds to a different timeframe.
Here's a breakdown of the components of the table:
Row 1: Separation.
Row 2 (Header Row): This row contains the headers for the columns. The headers represent the different timeframes being analyzed, such as Monthly (M), Weekly (W), Daily (D), 4-hour (4h), and 1-hour (1h).
Row 3 (Content Row): This row contains labels indicating the types of information being displayed in the columns. The labels include "T" for Trend, "C" for Current Candle, and "R" for RSI Trend.
Row 4 and Onwards: These rows display the actual data for each aspect of analysis across different timeframes.
For each aspect of analysis (Trend, Current Candle, RSI Trend), the corresponding rows display the following information:
Monthly (M): The trend direction for the given aspect on the monthly timeframe.
Weekly (W): The trend direction for the given aspect on the weekly timeframe.
Daily (D): The trend direction for the given aspect on the daily timeframe.
4-hour (4h): The trend direction for the given aspect on the 4-hour timeframe.
1-hour (1h): The trend direction for the given aspect on the 1-hour timeframe.
The trend directions are represented by labels such as "L" for Long, "S" for Short, or "N/A" for Not Applicable.
The table's purpose is to provide a quick overview of trend directions and related information across multiple timeframes, aiding traders in making informed decisions based on the analysis of trend changes and other indicators.
Naresh CE with 13 62 crossThank you to Lauris, for sharing knowledge and logic for the EMA cross-over (13/62).
The provided Pine Script is a custom script, which is designed to display Chandelier Exit levels on the price chart and generate buy and sell labels based on specific conditions.
Here's a breakdown of the key components and logic of the Pine Script:
Exponential Moving Averages (EMAs):
ema1: The 13-period Exponential Moving Average (EMA) of the closing price.
ema2: The 62-period Exponential Moving Average (EMA) of the closing price.
EMA Plotting:
The script plots the ema1 (13 EMA) and ema2 (62 EMA) lines on the price chart using the plot() function.
Chandelier Exit Calculation:
The Chandelier Exit values are calculated using the Average True Range (ATR).
The script calculates the atr (Average True Range) using the atr() function with the given length.
longStop is calculated as the highest price of the specified length minus the ATR, and shortStop is calculated as the lowest price plus the ATR.
Directional Indicator (dir):
The dir variable is used to determine the direction of the Chandelier Exit based on the comparison of the current close price with the previous long and short stops.
Buy and Sell Signals:
The script generates buy signals when the Chandelier Exit direction changes from short to long (buySignal).
Similarly, sell signals are generated when the Chandelier Exit direction changes from long to short (sellSignal).
The conditions for buy and sell signals are based on the value of dir and its previous value.
Buy and Sell Labels:
Buy and sell labels are plotted on the chart using plotshape() based on the generated buy and sell signals.
The showLabels input parameter controls whether to display the buy and sell labels.
Highlighting States:
The script fills the chart area with color (green for long, red for short) based on the direction of the Chandelier Exit values.
The highlightState input parameter controls whether to apply this highlighting.
Alerts:
The script includes alert conditions based on the direction change (changeCond), buy signal (buySignal), and sell signal (sellSignal) using the alertcondition() function.
The script aims to help traders identify potential buy and sell signals based on the Chandelier Exit levels derived from the 13 EMA and 62 EMA crossovers. The Chandelier Exit values can serve as dynamic stop-loss levels for long and short positions.
Bar Color Long / Short Indicator With Advised SL Rev 1This is the Revised Version of Bar Color Long / Short Indicator With Advised SL with some extra features
Overview
This script is a trading indicator named "Bar Color Long / Short Indicator With Advised SL" designed for the TradingView platform. The indicator's primary purpose is to provide entry signals for long and short positions, based on various technical analysis methods. Additionally, the indicator suggests stop-loss levels for both long and short positions.
User Inputs
The indicator has several user inputs, such as:
Length
Smoothing
Multiplier
Show bar colors (ON/OFF)
When the bar colors are turned off, the alert signals for long and short positions will be displayed instead.
Custom Risk Calculation
The script calculates a custom risk level based on a modified version of the RSI (Relative Strength Index) formula. The custom risk level is divided into three categories: low, medium, and high.
Sentiment Score Calculation
The indicator calculates a sentiment score based on a combination of methods resembling EMA (Exponential Moving Average), MACD (Moving Average Convergence Divergence), and ROC (Rate of Change). The sentiment score is used to determine if the sentiment is positive or negative.
Bollinger Bands Percent and Combined Signal
The Bollinger Bands Percent is calculated, and the custom risk, sentiment score, and Bollinger Bands Percent are combined to generate a new signal. This signal is used in conjunction with EMA10 to determine the bar colors and provide entry signals.
Bar Colors
Based on the combined signal and EMA10, the script determines the bar colors as follows:
Orange: Positive sentiment
Blue: Negative sentiment
Gray: Neutral
Entry Signals and Alerts
When the bar colors are turned off, the indicator displays large green arrow signals for long (buy) positions and red arrow signals for short (sell) positions based on the sentiment and EMA10 conditions. The script also includes alert conditions for long and short signals, which can be used to set up notifications when these signals are triggered in the TradingView platform.
Advised Stop-Loss Levels
The indicator plots stop-loss lines for both long and short positions at the last candle, accompanied by labels showing the advised stop-loss levels in numeric values
Rev 1
added / changed :
SMA50 slope check
EMA20 higher or lower than EMA10
color ON/OFF changed
Signal once Buy and Sell
Shifted EMAsJa verschobene EMAS halt lol.
Oder wie ChatGPT sagen würde:
The "Shifted EMAs" indicator on TradingView is a customizable tool that displays three Exponential Moving Averages (EMAs) on the chart. Users can adjust the EMA lengths and apply vertical shifts to the EMAs, enabling flexible analysis of trends and potential support/resistance levels. Each EMA is represented with distinct colors for easy differentiation, providing traders with valuable insights into price movements and aiding in making well-informed trading decisions.
Custom EMAsNow the indicator includes 10 different types of EMAs, each with a changeable length and selectable type. You can use the input settings to adjust the type and length for each EMA. The plot shows all 10 EMAs on the chart.
CCI+EMA Strategy with Percentage or ATR TP/SL [Alifer]This is a momentum strategy based on the Commodity Channel Index (CCI), with the aim of entering long trades in oversold conditions and short trades in overbought conditions.
Optionally, you can enable an Exponential Moving Average (EMA) to only allow trading in the direction of the larger trend. Please note that the strategy will not plot the EMA. If you want, for visual confirmation, you can add to the chart an Exponential Moving Average as a second indicator, with the same settings used in the strategy’s built-in EMA.
The strategy also allows you to set internal Stop Loss and Take Profit levels, with the option to choose between Percentage-based TP/SL or ATR-based TP/SL.
The strategy can be adapted to multiple assets and timeframes:
Pick an asset and a timeframe
Zoom back as far as possible to identify meaningful positive and negative peaks of the CCI
Set Overbought and Oversold at a rough average of the peaks you identified
Adjust TP/SL according to your risk management strategy
Like the strategy? Give it a boost!
Have any questions? Leave a comment or drop me a message.
CAUTIONARY WARNING
Please note that this is a complex trading strategy that involves several inputs and conditions. Before using it in live trading, it is highly recommended to thoroughly test it on historical data and use risk management techniques to safeguard your capital. After backtesting, it's also highly recommended to perform a first live test with a small amount. Additionally, it's essential to have a good understanding of the strategy's behavior and potential risks. Only risk what you can afford to lose .
USED INDICATORS
1 — COMMODITY CHANNEL INDEX (CCI)
The Commodity Channel Index (CCI) is a technical analysis indicator used to measure the momentum of an asset. It was developed by Donald Lambert and first published in Commodities magazine (now Futures) in 1980. Despite its name, the CCI can be used in any market and is not just for commodities. The CCI compares current price to average price over a specific time period. The indicator fluctuates above or below zero, moving into positive or negative territory. While most values, approximately 75%, fall between -100 and +100, about 25% of the values fall outside this range, indicating a lot of weakness or strength in the price movement.
The CCI was originally developed to spot long-term trend changes but has been adapted by traders for use on all markets or timeframes. Trading with multiple timeframes provides more buy or sell signals for active traders. Traders often use the CCI on the longer-term chart to establish the dominant trend and on the shorter-term chart to isolate pullbacks and generate trade signals.
CCI is calculated with the following formula:
(Typical Price - Simple Moving Average) / (0.015 x Mean Deviation)
Some trading strategies based on CCI can produce multiple false signals or losing trades when conditions turn choppy. Implementing a stop-loss strategy can help cap risk, and testing the CCI strategy for profitability on your market and timeframe is a worthy first step before initiating trades.
2 — AVERAGE TRUE RANGE (ATR)
The Average True Range (ATR) is a technical analysis indicator that measures market volatility by calculating the average range of price movements in a financial asset over a specific period of time. The ATR was developed by J. Welles Wilder Jr. and introduced in his book “New Concepts in Technical Trading Systems” in 1978.
The ATR is calculated by taking the average of the true range over a specified period. The true range is the greatest of the following:
The difference between the current high and the current low.
The difference between the previous close and the current high.
The difference between the previous close and the current low.
The ATR can be used to set stop-loss orders. One way to use ATR for stop-loss orders is to multiply the ATR by a factor (such as 2 or 3) and subtract it from the entry price for long positions or add it to the entry price for short positions. This can help traders set stop-loss orders that are more adaptive to market volatility.
3 — EXPONENTIAL MOVING AVERAGE (EMA)
The 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 EMA is calculated by taking the average of the true range over a specified period. The true range is the greatest of the following:
The difference between the current high and the current low.
The difference between the previous close and the current high.
The difference between the previous close and the current low.
The EMA can be used by traders to produce buy and sell signals based on crossovers and divergences from the historical average. Traders often use several different EMA lengths, such as 10-day, 50-day, and 200-day moving averages.
The formula for calculating EMA is as follows:
Compute the Simple Moving Average (SMA).
Calculate the multiplier for weighting the EMA.
Calculate the current EMA using the following formula:
EMA = Closing price x multiplier + EMA (previous day) x (1-multiplier)
STRATEGY EXPLANATION
1 — INPUTS AND PARAMETERS
The strategy uses the Commodity Channel Index (CCI) with additional options for an Exponential Moving Average (EMA), Take Profit (TP) and Stop Loss (SL).
length : The period length for the CCI calculation.
overbought : The overbought level for the CCI. When CCI crosses above this level, it may signal a potential short entry.
oversold : The oversold level for the CCI. When CCI crosses below this level, it may signal a potential long entry.
useEMA : A boolean input to enable or disable the use of Exponential Moving Average (EMA) as a filter for long and short entries.
emaLength : The period length for the EMA if it is used.
2 — CCI CALCULATION
The CCI indicator is calculated using the following formula:
(src - ma) / (0.015 * ta.dev(src, length))
src is the typical price (average of high, low, and close) and ma is the Simple Moving Average (SMA) of src over the specified length.
3 — EMA CALCULATION
If the useEMA option is enabled, an EMA is calculated with the given emaLength .
4 — TAKE PROFIT AND STOP LOSS METHODS
The strategy offers two methods for TP and SL calculations: percentage-based and ATR-based.
tpSlMethod_percentage : A boolean input to choose the percentage-based method.
tpSlMethod_atr : A boolean input to choose the ATR-based method.
5 — PERCENTAGE-BASED TP AND SL
If tpSlMethod_percentage is chosen, the strategy calculates the TP and SL levels based on a percentage of the average entry price.
tp_percentage : The percentage value for Take Profit.
sl_percentage : The percentage value for Stop Loss.
6 — ATR-BASED TP AND SL
If tpSlMethod_atr is chosen, the strategy calculates the TP and SL levels based on Average True Range (ATR).
atrLength : The period length for the ATR calculation.
atrMultiplier : A multiplier applied to the ATR to set the SL level.
riskRewardRatio : The risk-reward ratio used to calculate the TP level.
7 — ENTRY CONDITIONS
The strategy defines two conditions for entering long and short positions based on CCI and, optionally, EMA.
Long Entry: CCI crosses below the oversold level, and if useEMA is enabled, the closing price should be above the EMA.
Short Entry: CCI crosses above the overbought level, and if useEMA is enabled, the closing price should be below the EMA.
8 — TP AND SL LEVELS
The strategy calculates the TP and SL levels based on the chosen method and updates them dynamically.
For the percentage-based method, the TP and SL levels are calculated as a percentage of the average entry price.
For the ATR-based method, the TP and SL levels are calculated using the ATR value and the specified multipliers.
9 — EXIT CONDITIONS
The strategy defines exit conditions for both long and short positions.
If there is a long position, it will be closed either at TP or SL levels based on the chosen method.
If there is a short position, it will be closed either at TP or SL levels based on the chosen method.
Additionally, positions will be closed if CCI crosses back above oversold in long positions or below overbought in short positions.
10 — PLOTTING
The script plots the CCI line along with overbought and oversold levels as horizontal lines.
The CCI line is colored red when above the overbought level, green when below the oversold level, and white otherwise.
The shaded region between the overbought and oversold levels is plotted as well.
Multiple Exponential Moving AveragesThe "Multiple Exponential Moving Averages" indicator is a custom technical analysis tool created for TradingView. It combines five different Exponential Moving Averages (EMAs) into a single indicator. Each EMA has a user-defined length, and they are plotted on the chart with different colors to differentiate them.
Exponential Moving Averages are commonly used in technical analysis to smooth out price data and identify trends. They give more weight to recent price data, making them more responsive to recent price changes than Simple Moving Averages (SMAs). By combining multiple EMAs with different lengths, TradingView users will no longer have to worry that they will run out of slots when wanting to add new indicators to their chart.
RSI-Volume Oscillator Quick Scalping By Akhilesh PatelTitle: RSI-Volume Oscillator Quick Scalping Indicator
Description:
The "RSI-Volume Oscillator Quick Scalping" is a powerful and versatile custom indicator designed for traders who engage in scalping strategies. This indicator combines the Relative Strength Index (RSI) with a Volume Oscillator to provide valuable insights into momentum and volume dynamics in the market. Traders can also select their preferred moving average types (SMA, EMA, or HMA) to further customize the indicator's behavior.
Key Features:
RSI and Volume Oscillator Fusion: The indicator blends the RSI and a custom Volume Oscillator to offer a comprehensive view of both price momentum and volume trends. This integration provides valuable signals for quick scalping opportunities.
Customizable Moving Averages: Traders can choose from three popular moving average types (SMA, EMA, or HMA) for further customization. This flexibility allows users to align the indicator with their preferred trading strategies.
Clear Visualization: The Combined RSI-Volume Oscillator is plotted as a solid blue line, while the three selected moving averages are represented by orange, purple, and green lines, respectively. The zero line, overbought, and oversold levels for RSI are also indicated for easy reference.
Quick Scalping Signals: The indicator helps traders spot potential buy and sell signals efficiently, making it ideal for quick scalping strategies in rapidly moving markets.
Usage Instructions:
Customize the indicator by selecting your preferred RSI length, Volume Oscillator length, and moving average type (SMA, EMA, or HMA).
Observe the Combined RSI-Volume Oscillator and moving averages for potential entry and exit points.
Look for crossovers between the Combined RSI-Volume Oscillator and the selected moving averages for buy and sell signals.
The overbought (70) and oversold (30) levels for RSI can be used to identify potential reversal points.
Important Note:
Test the indicator on historical data and demo accounts before using it in live trading to ensure it aligns with your trading strategy.
Understand that no indicator guarantees profits, and trading involves risk. Always use proper risk management and discipline when executing trades.
Overall, the "RSI-Volume Oscillator Quick Scalping" indicator is a valuable addition to any scalper's toolkit, providing comprehensive insights into momentum and volume dynamics to enhance trading decisions. Happy scalping!
CC Trend strategy 2- Downtrend ShortTrend Strategy #2
Indicators:
1. EMA(s)
2. Fibonacci retracement with a mutable lookback period
Strategy:
1. Short Only
2. No preset Stop Loss/Take Profit
3. 0.01% commission
4. When in a profit and a closure above the 200ema, the position takes a profit.
5. The position is stopped When a closure over the (0.764) Fibonacci ratio occurs.
* NO IMMEDIATE RE-ENTRIES EVER!*
How to use it and what makes it unique:
This strategy will enter often and stop quickly. The goal with this strategy is to take losses often but catch the big move to the downside when it occurs through the Silvercross/Fibonacci combination. This is a unique strategy because it uses a programmed Fibonacci ratio that can be used within the strategy and on any program. You can manipulate the stats by changing the lookback period of the Fibonacci retracement and looking at different assets/timeframes.
This description tells the indicators combined to create a new strategy, with commissions and take profit/stop loss conditions included, and the process of strategy execution with a description of how to use it. If you have any questions feel free to PM me and boost if you found it helpful. Thank you, pineUSERS!
CHEATCODE1