strategy MACD and RSI alertThis is a script I created by combining parts of other scripts I looked at. It uses RSI and MACD to give entrance signals for longs or shorts. When the color changes from red to green it signifies a buy, from green to red signifies a short.
The problem that I am having is that I cannot set up the alert script properly, Using the code :
alert1 = (xRSI > Overbought and signal < macd) ? 1: 0
gives repeat signals every time the criteria reasserts itself, and I only want it to show an alert at the same time the bar color changes.
If I could get some advice on how to set up the alert so it only alerts me at the same time that the bars change color, it would be much appreciated.
Thankyou
"macd"に関するスクリプトを検索
Indicator: Elder Impulse SystemAccording to Elder, "The Impulse System encourages you to enter a trade cautiously but exit fast, by identifying inflection points where a trend speeds up or slows down. This is the professional approach to trading, the total opposite of the amateur's style. Beginners jump into trades without thinking too much and take forever to get out, hoping and waiting for the market to turn their way."
The Impulse System is based on two indicators, a 13-day exponential moving average and the MACD-Histogram. The moving average identifies the trend, while the MACD-Histogram measures momentum. As a result, the Impulse System combines trend following and momentum to identify impulses that can be traded.
By default it uses your chart's time frame, but you can set it to any custom time frame via options page. Optionally, price bars can be color coded too.
More info:
stockcharts.com
Steps to import / use custom indicators from this chart:
PDF: drive.google.com
Enhanced MACD and RSI Buy/Sell Signals - Created by Marco NucupKey Features:
EMA Filter: Adds an Exponential Moving Average (EMA) to filter signals based on the trend. Buys are only considered when the price is above the EMA, and sells when below it.
Customizable Inputs: Users can adjust parameters for EMA, MACD, and RSI directly from the TradingView interface, allowing for more personalized strategies.
Alerts: The script includes alert conditions for both buy and sell signals, enabling users to receive notifications.
Signal Plotting: Visual indicators for buy and sell signals on the chart, along with the EMA line for trend reference.
VWAP PressureKey Features and Utility:
Intrabar Focus: Unlike standard VWAP, which provides a cumulative average throughout the day, the Intrabar VWAP focuses on volume-weighted price calculations within shorter time frames. This allows traders to see how price and volume interact moment-to-moment, offering a granular view of market sentiment.
Market Pressure Analysis: The indicator examines the difference between a smoothed weighted average price of the close and intrabar price movements. This analysis helps in identifying the market pressure at high volume areas. When the market exhibits high volume at low prices within a bar, it suggests accumulation, whereas high volume at high prices indicates distribution.
Momentum and Pressure Shift Signals: By applying a modified MACD calculation to the smoothed difference, the indicator provides signals on shifts in market pressure. Positive values indicate upward price momentum (buying pressure), while negative values suggest downward momentum (selling pressure).
Dynamic Trend Fusion (DTF)The "Dynamic Trend Fusion" (DTF) indicator is a powerful technical analysis tool for traders. It stands out from other indicators due to its adaptability and ability to provide insights into different trading styles. Users can choose from various trading options such as "Short-term Trading," "Long-term Trading," "Aggressive Short-term," "Conservative Long-term," "Balanced Approach," "High Sensitivity," "Low Sensitivity," "Day Trading," and "Swing Trading." These options allow traders to customize the indicator to suit their specific trading strategies.
DTF combines the Moving Average Convergence Divergence (MACD) and Relative Strength Index (RSI) indicators, normalizing them to a similar scale for a comprehensive view of market conditions. It then calculates a combined value and smoothes it using a moving average.
One of its standout features is the ability to identify bullish and bearish states, which is represented visually on the chart. When the indicator detects a transition from a bullish to a bearish state or vice versa, the color of the line changes.
Additionally, DTF offers alert conditions, notifying users when the market shifts into a bullish or bearish state, allowing for timely decision-making.
In summary, the DTF indicator sets itself apart by providing traders with a versatile tool that can be tailored to various trading styles and offers clear visual signals for trend changes, enhancing trading precision and efficiency.
Bar Color Long / Short Indicator With Advised SLOverview
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.
NSDT Double MA ShadingThis script is an interesting take on Convergence and Divergence of Moving Averages. With the built-in MACD Indicator, you cannot make these adjustments to the settings.
DESCRIPTION
The top Moving Average is calculated on the High of the candle.
The bottom Move Average is calculated on the Low of the candle.
If the two are moving apart (Divergence), the shaded area between them turns Green.
If the two are moving together (Convergence), the shaded area between them turns Red.
This may help identify when a trend is becoming stronger or weaker, based on the shaded area and Moving Average direction.
POSSIBLE USAGE
For example:
If the MA's are pointing downward and the shaded area is Green - it means that average distance between the candle High and Low is getting wider, which may indicate a stronger downward movement. Then, when the shaded area turns Red, signaling the average distance between the candle High and Low are getting narrower, this may indicate that the downward movement is weakening, and may be the end of that downward trend.
SETTINGS
You can choose from EMA, SMA, WMA, RMA, HMA, TMA, and VWMA.
Although you can choose the MA Source, it is highly recommended to keep one source on the High of the candle and the other on the Low of the candle, for measure Convergence and Divergence.
All indicator settings are editable.
It can be used on Multi Timeframes (MTF).
This script is free and open source.
Fusion Oscillator (COMBINED RSI+MFI+MACD+CCI+TSI+RVI)The Fusion Oscillator aggregates several extremely-similar directional oscillators (RSI, MFI, MACD, CCI, TSI, RVI) into one average to visualize indicator agreement. To do this, I normalized several oscillators between to ensure equal weight.
The white line is the directional oscillator . The yellow line (turned off) is the nondirectional oscillator - namely, the ADX and ATR - this determines the buy/sell signals in conjunction with overbought/oversold levels for the directional oscillator.
The overall length is the sensitivity of the oscillator, not the lookback period. The maximum that works on the default settings is 3. Higher means less sensitive and more accurate.
I hope you all find this useful!
[2022] MACD Cross Strategy (version 1)Early workings of a macd crossover. User inputs, strategy parameters, use on forex, crypto, stocks, etc,..
Dr. Mahdi Kazempour - Crypto Trade Dashboard and Indicator PanelA great panel for crypto traders all in one table:
Price, Volume, RSI, MACD, ADI, MOM
1) current symbol
2) BTCUSDT
3) NASDAQ
4) ETHUSDT
5) TOTAL2
MACDV DASHBOARDFrom Riliza MACD-V Volatility Normalisation and another knowledge I am just her follower, Try to make dashboard to study the market for my self.
Rev00
- MACDV with momentum
-Still need to optimize and revise many thing.
-Any wrong could you please help feed back , Not much experience.
Indicator Direction Table With Bullish & Bearish LabelsINDICATOR DIRECTION TABLE WITH BULLISH AND BEARISH LABELS
This is a table that shows the bullish, bearish or neutral trend for nine different popular indicators. Each indicator label will change color in real time to make you aware of each change in direction. This way you don’t have to read and analyze a bunch of different indicators constantly and you can focus on price action instead.
Look for the entire table to turn green or red before taking positions.
You can also set alerts for when the entire table of indicators is bullish or bearish.
The indicator settings allow customization of indicator lengths & values, table position and turning the indicator table on or off.
The length and other values for each indicator can be customized to suit your preferences, but by default all of them are set to the normal default settings that Tradingview supplies the indicators with. Typically 14 as the length.
The indicators used in this table are as follows:
MACD - Moving Average Convergence Divergence
Stochastic RSI - Stochastic Relative Strength Index
Vortex - Vortex Indicator
Momentum - Momentum Indicator
RSI - Relative Strength Index
PSAR - Parabolic Stop & Reverse
DMI - Directional Movement Index
MFI - Money Flow Index
Fisher - Fisher Transform Price Action
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This indicator table can be used on all timeframes.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, Directional Movement Index + Fisher Price Action, Volume Profile With Buy & Sell Pressure, Auto Support And Resistance and Money Flow Index in combination with this indicator direction table. They all have unique features to help you make better and faster trading decisions.
Support and Resistance with MACD IndicatorOriginal script from ©akpaswaniitk. I just added MACD to filter out bad trades and alert function so that we get notified whenever indicator gives us an entry signal. Most of the false breakout has been removed but the remaining ones only pop up during consolidation, so it's wait for the retest before entry. Works better in continuous market. Also look at the color of EMA for further confirmation, only focus on buy side when EMA is green and sell when EMA is red or when after the buy signal EMA changes color from red to green. These are the highly profitable setups I've found with this indicator.
Signals
Red or Green solid line with diamond are trailing stoploses
dotted black line is entry level
dotted white line is optimal exit
Wicked signalsThis indicator plots an RSI based MACD, I find it easier to spot divergences on histogram.
Also, it looks for candlestick wicks and finds SOME local tops and bottoms. NOT ALL OF THEM, beware of that.
Use it in conjunction with other things, don't rely solely on this for trading
My MACDSimple MACD type indicator. Consider the fast average (white line) like a warning and the histogram a confirmation of the strength in the underlying trend.
OS AO (P-unity MACD)This is both the Awesome Oscillator (AO) as described in New Trading Dimensions ( NTD , book by Bill Williams ), and the Profitunity MACD described in the first edition of Trading Chaos.
The calculation for both is the same. In this case I added the 5 day SMA which is the blue line. The difference between the blue line and the AO is the AC which is also described in NTD and is usually plotted in a different indicator (AC).
This is the base for the following signals:
Zone Bar
2nd Wise Man
The signals are triggered and shown on the main chart screen through the use of OS Alligator . This indicator (AO) provides further insight in analyzing those signals by reading the AO, its current position and evolution directly.
Full Swing Gold Vwap Macd SMO StrategyThis is a full strategy designed for gold market using 12h timeframe chart.
Its components are:
VWAP monthly
SMO oscillator
MACD histogram
Rules for entry:
For long: when enter when close of the candle is above vwap monthly, current histogram is higher than the previous one and SMO oscillator is above 0
For long: when enter when close of the candle is below vwap monthly, current histogram is lower than the previous one and SMO oscillator is below 0
Rules for exit:
We exit the trade if we get a reverse condition.
We also exit the trade based on a risk management system, both for SL and TP using % movements.
If you have any questions let me know !
Wolfpack Id with DivergenceThis indicator simply identifies if the markets are in an up or down trend. You should always use it in combination with other indicators, just as Wavetrends.
This indicator is mostly known because of Market Cipher. The script that was published under the name Wolfpack Id is for some reason closed source, but as it turns out there is of course no secret sauce involved, the original indicator goes way back and the thing that was then called Wolfpack Indicator is simply a MACD Signal Line with 3,8 settings. I added a simple divergence hunter for some extra Informations that might help, brought it up to contemporary pinescript standards, added Alerts and made the whole script open source, as it should be and as the original script also once was. Have fun!
Vortex HeikinThis indicator use macd crossover plus vortex and heikin candle to find the best spot entry.
There a lot to improve if you want, it's only a starting point.
You can change Vortex indicator with ADX indicator to find a better spot, but there could be more false entry.
Technicals Rating Strategy v420Ichimoku, HMA, RSI, Stoch, CCI, MACD, Technicals Rating Strategy is a trading Bot that looks at these chosen indicators and assigns a value to each, then calculates the result of adding each indicators result value to a overall rating, which is then compared to a user set level. Here seen on Bitcoin, it has the broker fee included in the testing result. If you choose to use it on Forex etc, perhaps remove the broker fee which is unrealistic for FX trading.
It has a Win/Loss ratio of only 40% wins, but it catches the big moves and thats the main thing, so if ELON MUSK had of used this strategy instead of BUY and HOLD, he could of made 700% instead of 7% (as is, may, 2021)
Mainly intended for use as Automated TRADE BOT.
(imagine if Elon Musk did use this bot with his 1.3 billion $ worth of BTC, the drawdown would be like, half a billion or something haha (p.s.- use smaller lotsize % to get smaller drawdown, but then smaller profit....) )
For use with any pair and timeframe. In fact there is a timeframe setting to set the strategy to look at alternative timeframe from chart, but as default will just be set to charts timeframe.
All in One StrategyTrue improvement over my previous script. This script adds in all of the complementary indicators, makes it truly easy to adjust the inputs, and has produced a real world net gain using the TradingView bots paired with any broker's API that is supported.
It has a selection for which strategy you'd like to use and due to limitations in Pine I cannot program in logic to make sure you only pick one, so you need to make sure you are only picking one.
To tweak the Connors option - it only depends on the RSI length variable, everything else is hard coded and tweaked for Crypto.
To tweak the MACD - play around with the min and max values of the RSI for lookback and the amount of candles to lookback. Then tweak the fast and slow MA lengths. I have found that a fast length of 3 or 4 and a slow length between 6 and 10 will yield the highest gains.
Also, when I was a young Noob I thought using a chart timeframe of 5 minutes was the best...no...no it wasn't. I lost my ass. Don't lose yours. I highly suggest sticking with a 30 minute timeframe, you will minimize losses caused by false triggers, have less trades and higher profits. More is not always better, trades that may sell one day and then buy six days later are normal. Leave it do its magic and you'll be very happy in the end.